diff options
| author | Phil Hughes <me@iamphill.com> | 2016-10-03 09:10:20 +0100 |
|---|---|---|
| committer | Phil Hughes <me@iamphill.com> | 2016-10-03 09:10:20 +0100 |
| commit | cc88fa4d5be9ec0d5fb42f1bb5efa0b82f30a589 (patch) | |
| tree | 1b9facaf15466aa7f5b0393e97cb1eabfdcafa7e /features/steps/project | |
| parent | 69db604e55de2bdf1a28c274be6cc9131534517d (diff) | |
| parent | f2c0f8237124d2dc539120bd77f301f216453cb7 (diff) | |
| download | gitlab-ce-cc88fa4d5be9ec0d5fb42f1bb5efa0b82f30a589.tar.gz | |
Merge branch 'master' into revert-c676283b
Diffstat (limited to 'features/steps/project')
| -rw-r--r-- | features/steps/project/issues/issues.rb | 2 | ||||
| -rw-r--r-- | features/steps/project/merge_requests.rb | 6 | ||||
| -rw-r--r-- | features/steps/project/snippets.rb | 4 |
3 files changed, 7 insertions, 5 deletions
diff --git a/features/steps/project/issues/issues.rb b/features/steps/project/issues/issues.rb index 99bd2ac3bc0..b50f5238e80 100644 --- a/features/steps/project/issues/issues.rb +++ b/features/steps/project/issues/issues.rb @@ -357,6 +357,6 @@ class Spinach::Features::ProjectIssues < Spinach::FeatureSteps end def filter_issue(text) - fill_in 'issue_search', with: text + fill_in 'issuable_search', with: text end end diff --git a/features/steps/project/merge_requests.rb b/features/steps/project/merge_requests.rb index 56b28949585..4a67cf06fba 100644 --- a/features/steps/project/merge_requests.rb +++ b/features/steps/project/merge_requests.rb @@ -31,7 +31,9 @@ class Spinach::Features::ProjectMergeRequests < Spinach::FeatureSteps end step 'I click link "Closed"' do - click_link "Closed" + page.within('.issues-state-filters') do + click_link "Closed" + end end step 'I should see merge request "Wiki Feature"' do @@ -491,7 +493,7 @@ class Spinach::Features::ProjectMergeRequests < Spinach::FeatureSteps end step 'I fill in merge request search with "Fe"' do - fill_in 'issue_search', with: "Fe" + fill_in 'issuable_search', with: "Fe" end step 'I click the "Target branch" dropdown' do diff --git a/features/steps/project/snippets.rb b/features/steps/project/snippets.rb index beb8ecfc799..5e7d539add6 100644 --- a/features/steps/project/snippets.rb +++ b/features/steps/project/snippets.rb @@ -21,8 +21,8 @@ class Spinach::Features::ProjectSnippets < Spinach::FeatureSteps author: project.users.first) end - step 'I click link "New Snippet"' do - click_link "New Snippet" + step 'I click link "New snippet"' do + click_link "New snippet" end step 'I click link "Snippet one"' do |
