important-yacht-33847
04/24/2023, 7:48 AMcy.origin
cy.visit('https://google.com')
cy.origin(
'auth.recruitee.com',
{ args: { username, password } },
({ username, password }) => {
cy.visit('/')
cy.get('input[id="admin_email"]').focus().type(username)
cy.get('input[id="admin_password"]').focus().type(password, { log: false })
cy.get('button[type=submit]').focus().click()
}
)
cy.url().should('equal', 'https://app.recruitee.com/')
But instead to be redirected to https://app.recruitee.com/, i am on https://auth.recruitee.com/sign-in.
And the url is equal to nothing instead of one of the two above.
https://cdn.discordapp.com/attachments/1099965142025900154/1099965142755725342/Screenshot_2023-04-24_at_09.45.42.png▾