I am copying code from the Cypress docs and have returned this error cy.intercept is not a function
My code is straight from the docs...
describe('My First Test', () => {
it('Visit Home Page', () => {
cy.intercept('search/*', [{ item: 'Book 1' }, { item: 'Book 2' }]).as('getSearch')
}
})
Not sure why this would happen?
Aucun commentaire:
Enregistrer un commentaire