Hi guys, i have a code that login in the application, fill some fields and then i submit it 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 wont sending the origin key on the header. its the only thing different that I found.
I tryed a lot of things to workaround it:
I change my chrome web security options
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
https://myURL to the origin command, while top is at
https://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.