[Error]: System.TimeoutException: The operation has timed out.
at Microsoft.PowerApps.TestEngine.Helpers.PollingHelper.CheckIfTimedOut(DateTime startTime, Int32 timeout, ILogger logger) in C:\Users\carlo\testengine\PowerApps-TestEngine\src\Microsoft.PowerApps.TestEngine\Helpers\PollingHelper.cs:line 73
at Microsoft.PowerApps.TestEngine.Helpers.PollingHelper.PollAsync[T](T value, Func2 conditionToCheck, Func1 functionToCall, Int32 timeout, ILogger logger) in C:\Users\carlo\testengine\PowerApps-TestEngine\src\Microsoft.PowerApps.TestEngine\Helpers\PollingHelper.cs:line 44
at Microsoft.PowerApps.TestEngine.PowerApps.PowerAppFunctions.LoadPowerAppsObjectModelAsync() in C:\Users\carlo\testengine\PowerApps-TestEngine\src\Microsoft.PowerApps.TestEngine\PowerApps\PowerAppFunctions.cs:line 142
at Microsoft.PowerApps.TestEngine.PowerFx.PowerFxEngine.UpdatePowerFxModelAsync() in C:\Users\carlo\testengine\PowerApps-TestEngine\src\Microsoft.PowerApps.TestEngine\PowerFx\PowerFxEngine.cs:line 142
at Microsoft.PowerApps.TestEngine.SingleTestRunner.RunTestAsync(String testRunId, String testRunDirectory, TestSuiteDefinition testSuiteDefinition, BrowserConfiguration browserConfig, String domain, String queryParams) in C:\Users\carlo\testengine\PowerApps-TestEngine\src\Microsoft.PowerApps.TestEngine\SingleTestRunner.cs:line 112
It seems the account used has a personal and corporate accounts (registered as a Microsoft Account and a Microsoft 365 account) and in the login process the tenantid was changed
Changing make.powerapps.com as the domain in the config file broke the test with a page not found in the portal
screenshot of the recording
giving a timeout as a result:
config file { "environmentId": "694072a8-690a-xxxxxxxxxxxxxxxxxx", "tenantId": "ced2c552-7d1f-4731-xxxxxxxxxxxxxxx", "testPlanFile": "../../samples/calculator/testPlan.fx.yaml", "outputDirectory": "../../samples/calculator/", "logLevel": "", "domain": "make.powerapps.com", "queryParams": "" }
[Error]: Waiting timed out.
[Error]: System.TimeoutException: The operation has timed out. at Microsoft.PowerApps.TestEngine.Helpers.PollingHelper.CheckIfTimedOut(DateTime startTime, Int32 timeout, ILogger logger) in C:\Users\carlo\testengine\PowerApps-TestEngine\src\Microsoft.PowerApps.TestEngine\Helpers\PollingHelper.cs:line 73 at Microsoft.PowerApps.TestEngine.Helpers.PollingHelper.PollAsync[T](T value, Func
2 conditionToCheck, Func
1 functionToCall, Int32 timeout, ILogger logger) in C:\Users\carlo\testengine\PowerApps-TestEngine\src\Microsoft.PowerApps.TestEngine\Helpers\PollingHelper.cs:line 44 at Microsoft.PowerApps.TestEngine.PowerApps.PowerAppFunctions.LoadPowerAppsObjectModelAsync() in C:\Users\carlo\testengine\PowerApps-TestEngine\src\Microsoft.PowerApps.TestEngine\PowerApps\PowerAppFunctions.cs:line 142 at Microsoft.PowerApps.TestEngine.PowerFx.PowerFxEngine.UpdatePowerFxModelAsync() in C:\Users\carlo\testengine\PowerApps-TestEngine\src\Microsoft.PowerApps.TestEngine\PowerFx\PowerFxEngine.cs:line 142 at Microsoft.PowerApps.TestEngine.SingleTestRunner.RunTestAsync(String testRunId, String testRunDirectory, TestSuiteDefinition testSuiteDefinition, BrowserConfiguration browserConfig, String domain, String queryParams) in C:\Users\carlo\testengine\PowerApps-TestEngine\src\Microsoft.PowerApps.TestEngine\SingleTestRunner.cs:line 112