1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-19 13:19:39 +02:00

Fix: Escape button not being handled on settings pages (#1210)

* fix: escape button handler

* feat: location logic for settings page

* fix: linting errors

* fix: linting error

* refactor: settings test
This commit is contained in:
Jestin Palamuttam 2024-10-01 02:58:15 +05:30 committed by GitHub
parent edbf4eb3d6
commit 23786b444a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 37 additions and 6 deletions

View file

@ -21,7 +21,7 @@ class SettingsTest < ApplicationSystemTestCase
VCR.use_cassette("git_repository_provider/fetch_latest_release_notes") do
open_settings_from_sidebar
assert_selector "h1", text: "Account"
assert_current_path settings_profile_path
assert_current_path settings_profile_path, ignore_query: true
@settings_links.each do |name, path|
click_link name