diff options
author | Douwe Maan <douwe@gitlab.com> | 2017-06-08 03:20:52 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2017-06-08 03:20:52 +0300 |
commit | 27f68edd35d55e5620458a27321b8a440aa2f9fd (patch) | |
tree | fd57e9dc02ee465372b09677267f9db90d97b3db /features/steps/project/issues | |
parent | dd80b629167e8fdfa9b4a28fe4de11bbaac46074 (diff) | |
parent | 39d976cf5881c947eefeb45a2f8fe2922923eac6 (diff) |
Merge branch '23603-add-extra-functionality-for-the-top-right-plus-button' into 'master'
Resolve "Add extra functionality for the top right Plus Button"
Closes #23603
See merge request !11632
Diffstat (limited to 'features/steps/project/issues')
-rw-r--r-- | features/steps/project/issues/issues.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/features/steps/project/issues/issues.rb b/features/steps/project/issues/issues.rb index 11f2b5d1d87..e4a559d8ff5 100644 --- a/features/steps/project/issues/issues.rb +++ b/features/steps/project/issues/issues.rb @@ -62,7 +62,9 @@ class Spinach::Features::ProjectIssues < Spinach::FeatureSteps end step 'I click link "New issue"' do - page.has_link?('New Issue') ? click_link('New Issue') : click_link('New issue') + page.within '#content-body' do + page.has_link?('New Issue') ? click_link('New Issue') : click_link('New issue') + end end step 'I click "author" dropdown' do |