Skip to content

Commit

Permalink
[#456] Fix setting Chrome's locale to non-English will cause some Cap…
Browse files Browse the repository at this point in the history
…ybara tests to fail (#457)
  • Loading branch information
topnimble authored Aug 7, 2023
1 parent eae0cb1 commit 2ef9533
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .template/variants/web/spec/support/capybara.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
# Disable /dev/shm use in CI
options.add_argument('disable-dev-shm-usage') if ENV['CI']

# Use English locale for displaying page
options.add_preference('intl.accept_languages', 'en')

Capybara::Selenium::Driver.new(
app,
browser: :chrome,
Expand Down

0 comments on commit 2ef9533

Please sign in to comment.