Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specification with 2 or more tests shows only last test response #83

Open
guilhermesousa-cwi opened this issue Dec 19, 2022 · 5 comments
Labels
bug Something isn't working needs investigation

Comments

@guilhermesousa-cwi
Copy link

guilhermesousa-cwi commented Dec 19, 2022

Hello !

1 - When running just one test, it shows the answer.
image

2 - When running two tests, and clicking on the body of the first one, it shows the response of the last test.
image

 "cypress": "^11.2.0".
 "cypress-plugin-api": "^2.6.1"
@filiphric
Copy link
Owner

Hey @guilhermesousa-cwi, thanks for the report! I’ll take a look at it

@filiphric filiphric added the bug Something isn't working label Dec 19, 2022
@filiphric
Copy link
Owner

Hey @guilhermesousa-cwi I thought I understood the issue, but I realized I don’t 😅 the place you clicked will actually not show the previous test. you need to click on the "POST" command on the timeline, which will show the snapshot of the request in your previous test

@guilhermesousa-cwi
Copy link
Author

guilhermesousa-cwi commented Dec 20, 2022

Hello.

Regarding the evidence, I had marked it in the wrong place. But it was clicking method.

I noticed something, in electron it has this behavior. In google chrome no.

https://i.imgur.com/62uPWDU.png

@filiphric filiphric reopened this Dec 20, 2022
@jamiedaly04
Copy link

jamiedaly04 commented Jan 9, 2023

Seeing the same issue on my side, whereby this issue exists in electron. Chrome is also working okay for me too 👍

@nehemias-lione
Copy link

Hi, I confirm that the error occurs with electron. Even using snapshotOnly: true doesn't work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs investigation
Projects
None yet
Development

No branches or pull requests

4 participants