diff options
author | Go MAEDA <maeda@farend.jp> | 2022-07-22 01:33:38 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2022-07-22 01:33:38 +0000 |
commit | 3164895f6995d4255e9ed4c64c25ac07fdc5dd8f (patch) | |
tree | 47c1bb68fab9a0f0241c5ec1c7cccf734bd9409e /test/integration | |
parent | 04e5ae033bf78d7cfd55dd1b905df79c2a913f83 (diff) | |
download | redmine-3164895f6995d4255e9ed4c64c25ac07fdc5dd8f.tar.gz redmine-3164895f6995d4255e9ed4c64c25ac07fdc5dd8f.zip |
Open Help in a separate tab (#1069).
Contributed by Vijay Kiran.
git-svn-id: https://svn.redmine.org/redmine/trunk@21737 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration')
-rw-r--r-- | test/integration/layout_test.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/integration/layout_test.rb b/test/integration/layout_test.rb index 1679bd964..d9fd376af 100644 --- a/test/integration/layout_test.rb +++ b/test/integration/layout_test.rb @@ -127,4 +127,11 @@ class LayoutTest < Redmine::IntegrationTest get '/projects/ecookbook' assert_select 'div#quick-search form[action="/projects/ecookbook/search"]' end + + def test_help_and_powered_by_redmine_link_should_open_separate_tab + get '/' + assert_select '#top-menu a.help[target="_blank"][rel="noopener"]' + # "Powered by Redmine" link + assert_select '#footer a[target="_blank"][rel="noopener"]' + end end |