summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-12-30 17:03:51 -0500
committerRobert Speicher <rspeicher@gmail.com>2015-12-30 18:22:59 -0500
commitefc679e4aa02954a8df1de6ed4359a09190f6221 (patch)
treeff892823b1fedee2c388882a3931375343b6ff4d
parent1be406d741a3096f831fbb85b09a24749d8bcfcb (diff)
downloadgitlab-ce-efc679e4aa02954a8df1de6ed4359a09190f6221.tar.gz
Fix "I see current user as the first user" step
Why did this break? `¯\_(ツ)_/¯`
-rw-r--r--features/steps/project/issues/issues.rb9
1 files changed, 4 insertions, 5 deletions
diff --git a/features/steps/project/issues/issues.rb b/features/steps/project/issues/issues.rb
index 4a7ff21d385..8e8c9c57452 100644
--- a/features/steps/project/issues/issues.rb
+++ b/features/steps/project/issues/issues.rb
@@ -59,15 +59,14 @@ class Spinach::Features::ProjectIssues < Spinach::FeatureSteps
end
step 'I click "author" dropdown' do
- first('.ajax-users-select').click
+ first('#s2id_author_id').click
end
step 'I see current user as the first user' do
- expect(page).to have_selector('.user-result', visible: true, count: 4)
+ expect(page).to have_selector('.user-result', visible: true, count: 3)
users = page.all('.user-name')
- expect(users[0].text).to eq 'Any Assignee'
- expect(users[1].text).to eq 'Unassigned'
- expect(users[2].text).to eq current_user.name
+ expect(users[0].text).to eq 'Any Author'
+ expect(users[1].text).to eq current_user.name
end
step 'I submit new issue "500 error on profile"' do