Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot test by Chrome browser #9

Open
karamem0 opened this issue Feb 4, 2021 · 4 comments
Open

Cannot test by Chrome browser #9

karamem0 opened this issue Feb 4, 2021 · 4 comments

Comments

@karamem0
Copy link

karamem0 commented Feb 4, 2021

The test by Chrome browser fails because Chrome browser does not allow third party's cookie in private mode.

@Benelio
Copy link

Benelio commented Mar 11, 2021

Does this manifest itself via a login failure? That's what I'm seeing when trying to use automated tests with chrome.

e.g.

Failed RunTestAutomation
Error Message:
Test method Microsoft.PowerApps.TestAutomation.Tests.TestAutomation.RunTestAutomation threw exception:
System.InvalidOperationException: Login failed after 3 attempts. Exception Details: System.Exception: Login page failed on login retry.
at Microsoft.PowerApps.TestAutomation.Api.OnlineLogin.<>c.b__12_1(IWebDriver f) in D:\a\1\s\Microsoft.PowerApps.TestAutomation.Api\Pages\OnlineLogin.cs:line 188

@itsmyownview
Copy link

@Benelio , @karamem0 ,

May I know where i can find the steps to execute a test in this repo -microsoft/PowerAppsTestAutomation?
Once after cloned this code, what are the steps i should follow to execute a sample test?
Do we have any documentation (Getting started page is blank) ,if not Could you please guide how you guys executed the tests in this repo?

@karamem0
Copy link
Author

@narendradhavale
Copy link

Built pipeline following https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/test-studio-classic-pipeline-editor
However for both Chrome as well as Firefox, it always fails with following error;
Failed RunTestAutomation
Error Message:
Test method Microsoft.PowerApps.TestAutomation.Tests.TestAutomation.RunTestAutomation threw exception:
OpenQA.Selenium.ElementNotInteractableException: Element is not reachable by keyboard

Any idea how can I resolve this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants