You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
describe('SocialSignin', () => {
beforeEach(() => {
cy.visit('/signin');
});
it('user expects to be able to signin with the Gmail account', () => {
cy.googlesignin(
Cypress.env('registeredGoogleUsername'),
Cypress.env('registeredGooglePassword'),
'a',
);
cy.visit("/signup")
cy.url().should('contain', '/home');
});
ACTUAL BEHAVIOUR:
The test is passing.
When I set headless: false in socialLoginOptions - I can see puppeteer going through all the process, logging in with google.
Cookies are being set as well.
BUT When it gets to the cy.visit("/signup") step <---- I expect to be redirected to /home (that is by our app design and working as expected manually), but instead I end up on /signup page UNAUTHENTICATED.
The text was updated successfully, but these errors were encountered:
I am using cypress-social-logins plugin to signin to the web application via Google.
I have:
googlesignin
in support/commands.js that has following:ACTUAL BEHAVIOUR:
The test is passing.
When I set
headless: false
in socialLoginOptions - I can see puppeteer going through all the process, logging in with google.Cookies are being set as well.
BUT When it gets to the
cy.visit("/signup")
step <---- I expect to be redirected to /home (that is by our app design and working as expected manually), but instead I end up on /signup page UNAUTHENTICATED.The text was updated successfully, but these errors were encountered: