Cypress fail on cy.visit() on BeforeEach on Jenkin build #20676
Unanswered
rchen09
asked this question in
Questions and Help
Replies: 1 comment
-
I found out I have one more
before the beforeEach code, so I move the log in one to |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Hi Cypress team
I had an issue with my cypress test command
cy.visit()
success on first time on beforeEach, then the second test will not reach that URL and the test will fail on Jenkin build, do we know how to solve that?My sample code
Here's my config, I did set baseURL
On my local running test are all pass, but on Jenkin build first one is pass, second one I keep getting these error messages below:
Thanks for the help!
Beta Was this translation helpful? Give feedback.
All reactions