-
Couldn't load subscription status.
- Fork 0
Fix: Cognito page #277
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
Fix: Cognito page #277
Conversation
- replace deprecated waitForNavigation with waitForURL - use selectors that work across browsers/devices
| // It is important to call waitForURL before click to set up waiting. | ||
| this.page.waitForURL("https://login.inrupt.com/openid"), | ||
| // Clicking the link will indirectly cause a navigation. | ||
| this.page.getByRole('button', { type: 'Submit' }).click(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason for added indentations in the diff?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh no, just my formatter I suppose :/
| // Clicking the link will indirectly cause a navigation. | ||
| this.page.click(".visible-lg [aria-label=submit]"), | ||
| // It is important to call waitForURL before click to set up waiting. | ||
| this.page.waitForURL("https://login.inrupt.com/openid"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isnt this too specific since we have have other IDP domains for other envs than podspaces that this is used with?
… for navigation anywhere
|
which repos did we test this with? |
I tested on AMI and solid-client-access-grants and everything works fr me, but feel free to test on your end too. |
This should should at least partially address some of the flakiness issues.
replace deprecated waitForNavigation with waitForURL
use selectors that work across browsers/devices