https://cypress.io logo
I have a custom command for logging in via API, an...
# e2e-testing
f
I have a custom command for logging in via API, and I'm calling it in the before hook, but the session isn't being preserved between tests. All the examples in the docs show the login being called in beforeEach. If I'm logging in before each test, is the session even being preserved across tests or am I just logging in before every test?
6 Views