Request getting http 500 from server when executed by Cypress #26046
Unanswered
MaxwellCravo
asked this question in
Questions and Help
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.
-
Hi guys, I have a code that login in the application, fill some fields and then I submit it by clicking in a botton.
Is it a easy thing right? no, it doesn't, I'm trying since this morning submit this shit and I'm still getting this http 500 error.
It happen only when I'm using Cypress. If I do it manually, it works. If I use postman, it works...
Now lets go to the things I guess is the error.
When i'm using cypress I saw my request not sending the origin key in the header. its the only thing different that I found.
I change my chrome web security options to false
I tryed to use the cy.origin() function but it always fail with this message
cy.origin() requires the first argument to be a different domain than top. You passed <myURL> to the origin command, while top is at <myURL>.
I dont know what I can do anymore.
If I don't fix it, I will have to use Robot Framework to automate this project, and guys.... I HATE ROBOT FRAMEWORK.
please help me, how to set my cypress to send the origin on the requests?
Beta Was this translation helpful? Give feedback.
All reactions