summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2023-11-12 22:20:15 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2023-11-12 22:20:15 +0000
commit8827052201a191e2c7d81a7796d0e803785f4b93 (patch)
treeb91ab4f590a63ce07e4ccc0269c1a2c2a3525bed
parent90432cbbe17753182cb2e81e01dd0b3de66e6152 (diff)
downloadredmine-8827052201a191e2c7d81a7796d0e803785f4b93.tar.gz
redmine-8827052201a191e2c7d81a7796d0e803785f4b93.zip
Merged r22429 from trunk to 5.1-stable (#38852).
git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22430 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--test/application_system_test_case.rb1
-rw-r--r--test/system/inline_autocomplete_test.rb1
2 files changed, 2 insertions, 0 deletions
diff --git a/test/application_system_test_case.rb b/test/application_system_test_case.rb
index 2a41db11d..fb8064ea5 100644
--- a/test/application_system_test_case.rb
+++ b/test/application_system_test_case.rb
@@ -49,6 +49,7 @@ class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
setup do
Capybara.app_host = "http://#{Capybara.server_host}:#{Capybara.server_port}"
+
# Allow defining a custom app host (useful when using a remote Selenium hub)
if ENV['CAPYBARA_APP_HOST']
Capybara.configure do |config|
diff --git a/test/system/inline_autocomplete_test.rb b/test/system/inline_autocomplete_test.rb
index 25d86fd6b..ea7723163 100644
--- a/test/system/inline_autocomplete_test.rb
+++ b/test/system/inline_autocomplete_test.rb
@@ -52,6 +52,7 @@ class InlineAutocompleteSystemTest < ApplicationSystemTestCase
within('.tribute-container') do
assert page.has_text? 'Bug #12: Closed issue on a locked version'
assert page.has_text? 'Bug #11: Closed issue on a closed version'
+ assert page.has_text? 'Bug #8: Closed issue'
first('li').click
end