Skip to content

Commit bdccd56

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 5205cf8 commit bdccd56

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
@@ -79,6 +79,9 @@ jobs:
7979
env:
8080
RAILS_ENV: test
8181
CC_TEST_REPORTER_ID: true
82+
# Use Firefox for system tests until Chrome headless works reliably again.
83+
# See https://github.com/SeleniumHQ/selenium/issues/15273
84+
BROWSER: firefox
8285
run: bundle exec rspec --color --format RSpec::Github::Formatter --format progress
8386

8487
- name: Upload coverage reports to Codecov

0 commit comments

Comments
 (0)