Понятия не имею, почему он пытается запустить Chrome вместо браузера на базе Electron.Может быть здесь виновник Перси?
+ yarn cy:ci --parallel --ci-build-id $BITBUCKET_BUILD_NUMBER yarn run v1.13.0 $ cd cypress && yarn ci --parallel --ci-build-id 119 $ percy exec -- cypress run --record --parallel --ci-build-id 119 [percy] created build #5: https://percy.io/DeepVision/doveze-cz/builds/1794467 Error: Failed to launch chrome! /opt/atlassian/pipelines/agent/build/cypress/node_modules/puppeteer/.local-chromium/linux-650583/chrome-linux/chrome: error while loading shared libraries: libX11-xcb.so.1: cannot open shared object file: No such file or directory TROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md at onClose (/opt/atlassian/pipelines/agent/build/cypress/node_modules/puppeteer/lib/Launcher.js:342:14) at Interface.helper.addEventListener (/opt/atlassian/pipelines/agent/build/cypress/node_modules/puppeteer/lib/Launcher.js:331:50) error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Больше информации и конфигов в гисте: https://gist.github.com/FredyC/d5b82b485e65245102dd24f6df787f5f
С помощью службы поддержки Percy эта проблема решается с помощью образа cypress/browsers:chrome67-ff57.
cypress/browsers:chrome67-ff57