diff options
author | Robert Speicher <robert@gitlab.com> | 2015-12-30 23:23:24 +0000 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2015-12-30 23:23:24 +0000 |
commit | 7945cf4163e069c5535968812d259541ec2fd4e8 (patch) | |
tree | ce747cd84f731e1160713373c7bace045fcecb9a /features/steps/project | |
parent | 586ac6460b54dcb280d52948013ae55dac7aad88 (diff) | |
parent | 00dc5f1b3ea738c602246bda11fc607042b3e76d (diff) | |
download | gitlab-ce-7945cf4163e069c5535968812d259541ec2fd4e8.tar.gz |
Merge branch 'zj/gitlab-ce-swap-position-author-assignee-selector-issueable' into 'master'
Swap Author and Assignee Selectors on issuable index view
Closes #4039
See merge request !2256
Diffstat (limited to 'features/steps/project')
-rw-r--r-- | features/steps/project/issues/issues.rb | 9 |
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 |