Skip to content

svelver/cypress-network-error

Repository files navigation

cypress-network-error

Setup

npm install

Start Tests

# Terminal 1
npm run serve

# Terminal 2
npx cypress open

When running demo.cy.ts, the test fails due to an Axios Network Error (see the browser console). If it does not fail on the first run, run the test again.

When running the same with npx cypress run, it works.

Also when removing the lines 66-91 in src/common/api-abstract.ts (Axios interceptor), it works.

Related

Issue on Cypress repository.

About

Demo repository to illustrate cypress error

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published