Error on Concurse while integrating Cypress. Cypress executable not found

Quick fix: if you want to push the job to completion, amend the file to install cypress in the container along with its dependency:

# new
cd cypressgit/
apt install -y libgbm1
npx cypress install
npm run testHeadless

It will work, however, it will reinstall cypress every time you run the container. So…

Proper fix:

  1. Create a docker container from ddubson/cypress-e2e; install cypress and libgbm1 on it and publish it to docker.
  2. Update the repository in test.yml to your freshly published container handle in dockerhub.
  3. Re-run the test and profit!

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top