-
Notifications
You must be signed in to change notification settings - Fork 44
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
Session not carried from cypress tab to new lighthouse tab #67
Comments
Hello and thanks for reporting. However, I would have appreciated you take the time to fill the issue template so that I can give you a proper answer 😊 . Would you mind providing a repro so that I can try things out? |
My apologies I missed the template option some more info below What does not work? How to reproduce? Expected behavior Screenshots / Animated Gifs Environment (please complete the following information):
|
Without a proper project I can play with, I can't do anything to investigate since I have no clue about your setup, how you do the things on the backend/frontend. It's not possible for me to give you a proper answer without something I can play with. Closing for now but feel free to reopen with a repro of the problem if you can at some points 🙏🏻 Thanks for your help on the project 😊 |
Using cypress to navigate though an app logging in or completing a form when a test hits cy.lighthouse a new tab is opened with a new session which causes the app to navigate back to the start page (due to security restrictions/anti forgery if a customer hits a page in the journey without a valid session they get sent to the "home page"), light house then runs against the home page rather than the required page, is there a way to run the audit against the page that cypress already has open?
Is the intended behaviour to open a new tab, if so what is the best way to handle session storage not being carried across to the new tab?
The text was updated successfully, but these errors were encountered: