From b05dcca3d6b27088e0e938cdd8e621e66242c356 Mon Sep 17 00:00:00 2001 From: Flavio Wuensche Date: Thu, 12 Mar 2026 10:44:20 +0100 Subject: [PATCH 1/6] chore: remove Dependabot configuration GitHub will still create PRs for security vulnerabilities even without this file, since Dependabot security updates are controlled separately in the repository settings. --- .github/dependabot.yml | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 .github/dependabot.yml 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' From 9f8bafba082cf6c8824f6458da3aeb79631e0899 Mon Sep 17 00:00:00 2001 From: Flavio Wuensche Date: Thu, 12 Mar 2026 11:04:23 +0100 Subject: [PATCH 2/6] fix: use find().click to avoid stale element error in sign_in helper The `click_on 'Login'` call could fail with "Node with given id does not belong to the document" when React re-renders the page between Capybara finding and clicking the element. Using `find().click` lets Capybara retry on stale element references. Co-Authored-By: Claude Opus 4.6 --- test/helpers/sign_in_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/helpers/sign_in_helper.rb b/test/helpers/sign_in_helper.rb index 2551f433..27e16e40 100644 --- a/test/helpers/sign_in_helper.rb +++ b/test/helpers/sign_in_helper.rb @@ -8,7 +8,7 @@ def sign_in(user = default_user, to: nil, controller_test: false) get '/auth/google_oauth2/callback' else visit root_path - click_on 'Login', match: :first + find('a', text: 'Login', match: :first).click assert_text "Signed in as #{user.name}" to ? visit(to) : refresh end From a28112471faff812c0d0a5d2067ad18026a380d4 Mon Sep 17 00:00:00 2001 From: Flavio Wuensche Date: Thu, 12 Mar 2026 13:05:05 +0100 Subject: [PATCH 3/6] fix: use :button selector for Login in sign_in helper The Login element is a