-
The problemTrying to run Percy with Capybara on CercleCI (Ubuntu 20.04 arm64).
Tests run but snapshots aren't taken, each time logs the following: We use remote browser there to run Capybara tests, can't Percy just use remote browser instead of its local one? Environment
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey @GProst! At first I thought this was a bug because Unfortunately, I think I figured out why Puppeteer also has this issue. It looks like there aren't any prebuilt revisions of Chromium for arm linux newer than 2014. Most Puppeteer issues suggest installing chrome and then setting the executable path to that installed Chrome ( Once you have the browser installed in CI, you can then tell the Percy SDK to use that browser by setting the executable path https://docs.percy.io/docs/skipping-asset-discovery-browser-download Why we need a browser running in CI is described here: https://docs.percy.io/docs/debugging-sdks#asset-discovery |
Beta Was this translation helpful? Give feedback.
Hey @GProst! At first I thought this was a bug because
@percy/core
should download the appropriate Chromium browser for the machine that the SDK is running on. We added M* Mac support in the past (#486), so I figured the same needed to be done here for arm64 linux.Unfortunately, I think I figured out why Puppeteer also has this issue. It looks like there aren't any prebuilt revisions of Chromium for arm linux newer than 2014. Most Puppeteer issues suggest installing chrome and then setting the executable path to that installed Chrome (
sudo apt install chromium-browser chromium-codecs-ffmpeg
). That's what will have to be done, since there aren't any prebuilt versions offered.Once you hav…