garris / garris/BackstopJS

Playwright docker failing to find chromium

Open
#1,499 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.2k
Forks
621
PR merge metrics
No merged PRs in 30d

Description

This started happening on our CI yesterday:

```
browserType.launch: Executable doesn't exist at /opt/pw-browsers/chromium-1080/chrome-linux/chrome
╔═════════════════════════════════════════════════════════════════════════╗
║ Looks like Playwright Test or Playwright was just installed or updated. ║
║ Please run the following command to download new browsers: ║
║ ║
║ yarn playwright install ║
║ ║
║ <3 Playwright Team ║
╚═════════════════════════════════════════════════════════════════════════╝
at module.exports.createPlaywrightBrowser (/usr/lib/node_modules/backstopjs/core/util/runPlaywright.js:43:42)
```

I ended up adding this to our Dockerfile to make it work temporarily:

```
RUN mkdir -p /opt/pw-browsers/chromium-1080/chrome-linux \
&& ln -s /usr/bin/chromium /opt/pw-browsers/chromium-1080/chrome-linux/chrome
```

I found this related https://github.com/garris/BackstopJS/issues/1468 but we're already on 6.2.2

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.