https://cypress.io logo
hello everyone! I'm having issues understanding ho...
# e2e-testing
l
hello everyone! I'm having issues understanding how the new testIsolation option works. On https://docs.cypress.io/guides/references/configuration#e2e it says is an option for e2e configuration, but here https://docs.cypress.io/guides/core-concepts/writing-and-organizing-tests#Test-Isolation "The test isolation mode is a global configuration and can be overridden at the describe level with the testIsolation option." So, basically, we have to have
experimentalSessionAndOrigin: true
so we can keep the user logged in, does
testIsolation
legacy allow to not having the necessity to cy.visit() between each it()? And if so, do we have to have that option on e2e configuration or at a describe level? We've made some tests and the farthest we got was an error saying this option needed to be on "suite level". Thank you in advance!