Cypress error

Cypress verification timed out.

Before its first run, Cypress starts its own binary to check that it works. On a slow or underpowered CI runner, that check takes longer than the default 30 seconds.

Published

Why this happens

How to fix it

  1. Raise the verify timeout with the `CYPRESS_VERIFY_TIMEOUT` environment variable (in milliseconds)
  2. Run in the official `cypress/included` or `cypress/browsers` Docker image, which already has every system dependency
  3. Key the binary cache (`~/.cache/Cypress`) on OS and Cypress version, and run `npx cypress verify` as its own CI step to see its full output

Example


              # GitHub Actions
env:
  CYPRESS_VERIFY_TIMEOUT: 120000
steps:
  - run: npx cypress verify
  - run: npx cypress run