Skip to content

Commit 2d6b936

Browse files
committed
Use Firefox for system specs in GitHub Actions
In general, we can run system specs with four browser combinations: 1. Chrome 2. Chrome Headless 3. Firefox 4. Firefox Headless Unfortunately, Selenium has an ongoing issue with Chrome Headless and Alerts, making the test execution slow or causing random failures. Non-headless Chrome works fine. To overcome these issues, we switch to Firefox for the time being in GitHub Actions. Non-headless browsers are not supported in GitHub Actions.
1 parent c15f2c3 commit 2d6b936

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ jobs:
7878
env:
7979
RAILS_ENV: test
8080
CC_TEST_REPORTER_ID: true
81+
# Use Firefox for system tests until Chrome headless works reliably again.
82+
# See https://github.com/SeleniumHQ/selenium/issues/15273
83+
BROWSER: firefox
8184
run: bundle exec rspec --color --format RSpec::Github::Formatter --format progress
8285

8386
- name: Upload coverage reports to Codecov

0 commit comments

Comments
 (0)