React aplication works fine on navigator but it doesn't work in Cypress #26646
redzero2930
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
so, i have a login screen
when i open it on the browser it works perfectly, when i click "continuar" button take me to the next screen
however, when i try to test it using cypress it just does not work, it try it testing it through code and also manual click
this is the function failing in cypress
}
when i run it on browser (i tried chrome, mozilla, brave and edge) this are the console logs
{isAdmin: false, isEmployee: true, isEmployer: false, isInvestor: false, hasEmail: true}
login-form.tsx:91 {isAdmin: false, isEmployee: true, isEmployer: false, isInvestor: false, hasEmail: true}
login-form.tsx:93 {isAdmin: false, isEmployee: true, isEmployer: false, isInvestor: false, hasEmail: true}
showing it's working completly fine, but when i try it on Cypress this is the console log
{}
[[Prototype]]
:
Object
login-form.tsx:91
{}
[[Prototype]]
:
Object
Beta Was this translation helpful? Give feedback.
All reactions