diff options
author | Tim Zallmann <tzallmann@gitlab.com> | 2017-05-29 11:24:53 +0300 |
---|---|---|
committer | Tim Zallmann <tzallmann@gitlab.com> | 2017-06-07 12:10:24 +0300 |
commit | 6709e65cfc9fcfbe90427645cd1cf679a28ebddd (patch) | |
tree | 0661974c4deb35331a04fd6fe6f3ddf136cd9981 /features/steps/project/issues | |
parent | 5677cb0114de78559bb626aa3b0bb456271429df (diff) |
Externalised Dropdown
Checks for creating new issue
Styling of .dropdown-bold-header
Fixed Spinach Tests to limit them to the main content area for clicking 'New Project' etc. so that they don't click the dropdown menu
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 637e6568267..b376c5049c1 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 |