Display troublshooting link and cancel button in login modal #26074
Labels
pkg/launchpad
This is due to an issue in the packages/launchpad directory
Triaged
Issue has been routed to backlog. This is not a commitment to have it prioritized by the team.
type: user experience
Improvements needed for UX
What would you like?
I'd like the user to have access to a login troubleshooting link and a cancel button from the login modal in the app.
Why is this needed?
The login process does not always complete, but Cypress will keep waiting for it anyway. This is usually not a problem, but in the case of #25756 where an adblocking feature in Brave browser prevents communication with localhost, the login appears to hang even after the user successfully logs in. It's not intuitive that this is caused by adblocking in Brave and it's difficult for users to unblock themselves.
You can also reach this state if you accidentally close the tab Cypress opened for you before completing log in.
A troubleshooting link to a new docs section explaining this and other possible login issues (removed from org? logging in with the wrong method?) would get around this state. A reset button to manually stop listening for login success and let the user try again, instead of having to restart Cypress, would also be a good idea. It would also make sense to do this if the user closes the login modal manually. In both cases it looks like we can use
authApi.resetAuthState()
to do this.Other
No response
The text was updated successfully, but these errors were encountered: