https://cypress.io logo
Hello everyone 🙂 I have a problem with the "aft...
# e2e-testing
g
Hello everyone 🙂 I have a problem with the "after" hook. In my test, when I execute some code in the after hook, it ALWAYS results in the "detached" error. When instead I add another
it('...', () => {
block at the end of the file, with exactly the same code as in the "after" hook, it works, no "detached" errors. Anyone had run into similar case? I'm not including any code, because the only difference is if I run the code in the
it('...', () => {}
block or in
after(() => {}
block.