microsoft / PowerApps-TestEngine

MIT License
101 stars 29 forks source link

Powerapps Test Engine, Getting Could not access PowerApps #286

Closed VinithVinnu closed 1 year ago

VinithVinnu commented 1 year ago

Hi Team, I am getting below Error, But in Log its showing as Timeout I have removed MFA [Critical Error]: Could not access PowerApps. Confirm you are logged in properly.**

Error Log: Browser configuration: {"Browser":"Chromium","Device":null,"ScreenWidth":0,"ScreenHeight":0,"ConfigName":null}

Browser setup finished

Browser context created

Test infrastructure setup finished

Desired URL: https://apps.powerapps.com/play/e/XXXXXx-XXXXXXXXXXXX-XXXXXXXx?tenantId=1XXXXXXXXXXXXXX8692&source=testengine

Successfully navigated to target URL

[Error]: Encountered an error. See the debug log for this test suite for more information.

Test suite summary Total cases: 1 Cases passed: 0 Cases failed: 1

System.TimeoutException: Timeout 30000ms exceeded. =========================== logs =========================== waiting for Locator("input[type=\"submit\"]") locator resolved to <input value="Next" type="submit" id="idSIButton9" data…/> attempting click action waiting for element to be visible, enabled and stable element is visible, enabled and stable scrolling into view if needed done scrolling element is outside of the viewport

landonmsft commented 1 year ago

Thank you for reaching out! In your test results, there should be a video you'd be able to view. In that video, does that ever log you in? Also, does the video appear to end immediately, or does it just wait there, inactive, until timeout force-quits? Thank you!

landonmsft commented 1 year ago

Hey, Vinith! Just wanted to try and reach back out again, to see if you still needed help on this.

nickjgill commented 1 year ago

Hi @landonarogers , I'm having the same struggle as Vinith. It is as though the test engine isn't really even starting/loading the browser. It immediately halts and doesn't provide a video.

landonmsft commented 1 year ago

Hey, Nick! Could you set the logLevel to 'Trace' and paste your debugLogs from your test suite here?