From 9df1eab9a01cb5859ff2ff0efaa1adae4eb13f09 Mon Sep 17 00:00:00 2001 From: Marius Balteanu Date: Thu, 15 May 2025 05:48:59 +0000 Subject: [PATCH] Merge r23770 from trunk to 6.0-stable (#42422). git-svn-id: https://svn.redmine.org/redmine/branches/6.0-stable@23772 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/application_system_test_case.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/application_system_test_case.rb b/test/application_system_test_case.rb index 040667c39..38d69e7c8 100644 --- a/test/application_system_test_case.rb +++ b/test/application_system_test_case.rb @@ -72,8 +72,8 @@ 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