I am trying to set up TestEngine but I ran into the following error while running command "dotnet run" to start the tests.
Unhandled exception. System.UnauthorizedAccessException: Access to the path '/Users/User/PowerApps-TestEngine/samples/basicgallery' is denied.
--->System.IO.IOException: Permission denied
--- End of inner exception stack trace ---
I set the variables in Power Shell to the email and password I use for PowerApps.
I understand this is an access/rights issue, but I don't know how to set the right access.
This is my personal machine I am using and TestEngine folder is stored locally.
I am running the command from where the project is located - /Users/User/PowerApps-TestEngine/src/PowerAppsTestEngine .
I am running it on a Mac. I tried to run it as root and got the same error message.
Solved. The field "testPlanFile" in config.json needs to be given the file name also, not only the path to the folder: "/Users/User/PowerApps-TestEngine/samples/basicgallery/testPlan.fx.yaml"
I am trying to set up TestEngine but I ran into the following error while running command "dotnet run" to start the tests.
Unhandled exception. System.UnauthorizedAccessException: Access to the path '/Users/User/PowerApps-TestEngine/samples/basicgallery' is denied. --->System.IO.IOException: Permission denied --- End of inner exception stack trace ---
I set the variables in Power Shell to the email and password I use for PowerApps.
I understand this is an access/rights issue, but I don't know how to set the right access. This is my personal machine I am using and TestEngine folder is stored locally.
I am running the command from where the project is located - /Users/User/PowerApps-TestEngine/src/PowerAppsTestEngine . I am running it on a Mac. I tried to run it as root and got the same error message.