A stupid reason why cy.intercept() doesn't work when you reload Cypress tests
When trying to intercept a search api of my website, a strange bug almost drove me crazy : the first time I ran the test, it worked, but then failed once I tried to reload the test !
It turned out that there was a cache on the api side, so the browser is not doing an actual request once it's cached in the disk :
So from now on, I know that when I want to work with intercepted api responses that are cached, I must tick the "disable cache" checkbox.