Cypress test runner showing status 200 instead of 302 #18452
Unanswered
sowmyasridharamurthy
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
-
Hello,
In our test process,
We have a payment scenario on providing the details and clicking on pay. There will be redirection done.
However in the test runner the status code its getting captured as 200. Instead it should be 302 with response header capturing the location of redirection.
unfortunately the Ajax call is getting expired. any leads please?
test runner
![image](https://user-images.githubusercontent.com/35350156/136955755-db0b7e48-8549-4523-9157-ae8e3eb46a59.png)
in the console, same post request is showing 302
![image](https://user-images.githubusercontent.com/35350156/136956327-848aa1d6-278b-4b9f-b490-c31714c1becd.png)
Beta Was this translation helpful? Give feedback.
All reactions