Closed BartJanvanAssen closed 2 years ago
in the docs you mention:
cy.request('/api/me', { failOnStatusCode: false, })
this fails to work, i replaced it with: cy.request({ url: 'http://localhost:3000/api/auth/me', failOnStatusCode: false, })
now it works fine.
see for ref: https://docs.cypress.io/api/commands/request#Syntax
in the docs you mention:
cy.request('/api/me', { failOnStatusCode: false, })
this fails to work, i replaced it with: cy.request({ url: 'http://localhost:3000/api/auth/me', failOnStatusCode: false, })
now it works fine.
see for ref: https://docs.cypress.io/api/commands/request#Syntax