cypress-io / cypress

Fast, easy and reliable testing for anything that runs in a browser.

Home Page:https://cypress.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not able to login to website using Cypress 12, works on 11

reshadatavid opened this issue · comments

Current behavior

I am not able to login to my AUT. It is working fine in Cypress 11.2.0, and I have tried turning off test isolation as well.
Note that this is a default cypress installation with no plugins/config

I have also tried on Linux and Mac,run & open mode, does not work on 12 but works on 11

image

Steps:

cy.visit("https://central.sophos.com")
cy.wait(6000)
cy.get('#username').type('hello@sophos.com');
cy.get('#continue').click();

Expected: Password field should be displayed
Actual: Browser shows error message: "Sign-in with Microsoft is temporarily unavailable. Please try again."

Note: I have tried on both chrome and electron

Desired behavior

In this situation, next page should be displayed with password prompt

Test code to reproduce

describe("test",  { testIsolation: false }, () => {
  it('passes', () => {
    cy.visit("https://central.sophos.com")
    cy.wait(6000)
    cy.get('#username').type('hello@sophos.com');
    cy.get('#continue').click();
  })
})

Cypress Version

12.4.0

Node version

16.16.0

Operating System

Mac 13.1

Debug Logs

�Attached as file

Other

No response

log2.log
Debug logs

Hi @reshadatavid. Thank you for opening an issue. I went ahead and created a reproduction here for v12 and also confirmed this does look to work with v11

Unfortunately, it doesn't look like the patch for #25148 fixes this issue, but the good news is we have a reproduction!