https://cypress.io logo
all intercepts are cleared before each test. Use t...
# best-practices
g
all intercepts are cleared before each test. Use the suggestion shown by the others to create the intercept in the
beforeEach
hook. If you want to learn how to do network testing properly, I have my course https://cypress.tips/courses