Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 0 additions & 26 deletions .github/dependabot.yml

This file was deleted.

5 changes: 4 additions & 1 deletion test/application_system_test_case.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ class ApplicationSystemTestCase < ActionDispatch::SystemTestCase

Capybara.server = :puma, { Silent: true } # removes noisy logs when launching tests

common_options = %w[window-size=1400,1000 disable-search-engine-choice-screen]
# PaintHolding makes Chrome keep displaying the old page during navigation, which causes
# Selenium to reference stale DOM nodes and fail with "Node with given id does not belong
# to the document". Disabling it lets the page clear immediately on navigation.
common_options = %w[window-size=1400,1000 disable-search-engine-choice-screen disable-features=PaintHolding]

Capybara.register_driver :headless_chrome do |app|
options = Selenium::WebDriver::Chrome::Options.new(args: %w[headless].concat(common_options))
Expand Down
Loading