Skip to content
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

attempt to log into gmail account, got "Cookies are disabled" warning #17166

Closed
ponienchen opened this issue Jun 30, 2021 · 3 comments · Fixed by #23885
Closed

attempt to log into gmail account, got "Cookies are disabled" warning #17166

ponienchen opened this issue Jun 30, 2021 · 3 comments · Fixed by #23885

Comments

@ponienchen
Copy link

ponienchen commented Jun 30, 2021

Current behavior

Log into a google account (no FSA enabled, not explicitly stubbing to disable cookies)
Screen Shot 2021-06-30 at 12 27 21 PM

Desired behavior

Google account related cookies are created and users are redirected to google page as a signed-in user or gmail account directly

Test code to reproduce

cy.visit('https://accounts.google.com');
cy.get('#identifierId').type("gmail test account email address");
cy.get('#identifierNext').click();
cy.get('#password').type("gmail test account password");
cy.get('#passwordNext button').click();

@AtofStryker
Copy link
Contributor

Hi @ponienchen. This will be supported with the cy.origin experimental command with the completion of #23885 with being supported by #23872, but may not work if leveraging accounts.google.com as your testing domain (which is an unlikely use case). If that is the case, that should likely be completed with #24094

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Oct 4, 2022

The code for this is done in cypress-io/cypress#23885, but has yet to be released.
We'll update this issue and reference the changelog when it's released.

@ImBIOS
Copy link

ImBIOS commented Jun 5, 2023

I still get this problem and opening new issue #26929

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants