describe('some test', () => { beforeEach(() => { cy.intercept('GET', 'route_address', cy.spy().as('routeAlias')) }) afterEach(() => { cy.get('@routeAlias').its('callCount').should('equal', 0) }) it('test blocks', () => {...}) })