diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2025-05-14 19:00:37 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2025-05-14 19:00:37 +0000 |
commit | fd4ba2abbf85fc3af92e70cd2c496684b1791f5a (patch) | |
tree | e9a8a2e69c5077702d2d821550e75c03d9323085 | |
parent | 218a6a3d06dd227f375f6c0a94a3027e23a0b926 (diff) | |
download | redmine-fd4ba2abbf85fc3af92e70cd2c496684b1791f5a.tar.gz redmine-fd4ba2abbf85fc3af92e70cd2c496684b1791f5a.zip |
Merge r23761 from trunk to 5.1-stable (#42422).
git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@23766 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | test/application_system_test_case.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/application_system_test_case.rb b/test/application_system_test_case.rb index 556314b5f..f4f7a6dd1 100644 --- a/test/application_system_test_case.rb +++ b/test/application_system_test_case.rb @@ -74,14 +74,14 @@ class ApplicationSystemTestCase < ActionDispatch::SystemTestCase # Should not depend on locale since Redmine displays login page # using default browser locale which depend on system locale for "real" browsers drivers def log_user(login, password) - visit '/my/page' + assert_current_path '/login', :ignore_query => true assert_equal '/login', current_path within('#login-form form') do fill_in 'username', :with => login fill_in 'password', :with => password find('input[name=login]').click end - assert_equal '/my/page', current_path + assert_current_path '/my/page', :ignore_query => true end def wait_for_ajax |