-
Notifications
You must be signed in to change notification settings - Fork 17
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
Intermittent Login Issue #78
Comments
After doing some more research, I realized that the original fix was not necessary. Updating Dynamics365.UIAutomation.API to the latest version fixed the issue. I have created a new pull request. |
So if I understand it correctly, you have an issue with logging in sometimes that you fixed in the first commit (#79). After that you found that when updating to the latest version in EasyRepro, it's no longer needed. This means I only need to merge (#80)? Can you elaborate on the issue a little? As when I update to the latest version (12013) all of the login fails on firefox due to some strange redirection. That's why I haven't updated to that version yet. It seems to work again when i connect to their DEV (unreleased) branch. |
Either one of the pull requests will fix the issue on their own, they just fix the issue in different ways. The environment where this is consistently failing uses SSO which causes the browser to spend more time on part of the login. It appears that the Login function is returning before the browser finishes logging in. As a result, the next browser action attempts to navigate to an entity record while the domain is still "login.microsoftonline.com", resulting in the error below. |
This issue still appeared in firefox. PR in EasyRepro open microsoft/EasyRepro#878 |
Workaround implemented in master |
There is an intermittent login issue where the browser will redirect away from the authentication page before authentication has completed. I have one environment where this is difficult to reproduce and another where it can be reproduced consistently and all tests fail.
The result is a page with the message "This login.microsoftonline.com page can't be found", and the URL is "https://loginmicrosoftonline.com/main.aspx?etn=account&pagetype=entityrecord...".
The text was updated successfully, but these errors were encountered: