diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 825aa4cf..00000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,26 +0,0 @@ -# Please see the documentation for all configuration options: -# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates - -version: 2 -updates: - - package-ecosystem: 'bundler' - directory: '/' - versioning-strategy: 'lockfile-only' - schedule: - interval: 'weekly' - day: 'friday' - time: '05:00' - commit-message: - prefix: chore - include: 'scope' - - - package-ecosystem: 'npm' - directory: '/' - versioning-strategy: 'increase' - schedule: - interval: 'weekly' - day: 'friday' - time: '05:00' - commit-message: - prefix: chore - include: 'scope' diff --git a/test/application_system_test_case.rb b/test/application_system_test_case.rb index 3af62a87..f4ad356c 100644 --- a/test/application_system_test_case.rb +++ b/test/application_system_test_case.rb @@ -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))