I have one test that I created and I split it into 4 different it
s.
The first one is responsible for visiting the website, logging in, etc. and the other ones are responsible for testing different logic.
All tests are dependent on each other, although they are split into 4 it
s.
I noticed that this way, API calls made in the last it
s return 302 status code instead of 200 - which doesn't happen if I put all the test logic under the same it
.
What's the reason for this?