-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Access popup page #4468
Comments
@JullianeFreitas For using As for accessing the new window afterward - you would have to have some route to visit to see these components - maybe already have an html page that you pass to open that you can then independently call Also, try checking out our community chat - it can be helpful for debugging things like this. |
Is there a way to close the popup after stubbing it? |
@jennifer-shehane , i have similar question, hope you can help me |
@beekimrj Issues in our GitHub repo are reserved for potential bugs or feature requests. This issue will be closed since it appears to be neither a bug nor a feature request. We recommend questions relating to how to use Cypress be asked in our community chat. Also try searching our existing GitHub issues, reading through our documentation, or searching Stack Overflow for relevant answers. |
Hey @JullianeFreitas just wanted to check if you got any resolution on this? I am also facing same issue |
@jennifer-shehane is there a way to turn this into a feature request? I'd like to be able to use cypress.io for testing third-party login flows such as Google OAuth which uses a popup window for users to authenticate. |
Hi @jennifer-shehane, I have spent a whole good week in investigating how can I automate Google Pay integration in our checkout but couldn't find a solution as with Google Pay I need to have a valid googlePayToken to make API calls, and I can only get token if I hit pay button on Google Pay pop-up. |
We got similar problem also. In our UI flow, we have a popup window to do payment. It would be nice if we can have a way to do it by Cypress. |
Another interested buddy for accessing popups in cypress tests (login with Google, login with Facebook, login and signing transactions with Arkane). Does anyone have something to recommend rather than mocking these things? |
I found auto stub plugin which supports version 5 cypress. Perhaps that could be offered as alternative after upgrading it. You could also provide mocks of popular derives for login and payment. |
Hey everybody,
I've been studying cypress and doing some tests but I have a doubt and cant find a answer.
I have a HTML page and a button who open a popup page:
How can I access the popup page and the components?
The text was updated successfully, but these errors were encountered: