summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Ivan Vargas <jvargas@gitlab.com>2017-05-19 10:54:51 -0500
committerJose Ivan Vargas <jvargas@gitlab.com>2017-05-19 10:54:51 -0500
commit2217f549fe3086fa723401d5db92753bae394978 (patch)
treeeee7071b336b7558cd7527b6f9cd07171119952b
parentb54faeb9527d61a89c999dc77c2af119942110ec (diff)
downloadgitlab-ce-user-assignee-spec-fix.tar.gz
Fixed user assignee dropdown spec scenario when creating a new issueuser-assignee-spec-fix
-rw-r--r--spec/features/issues/form_spec.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/spec/features/issues/form_spec.rb b/spec/features/issues/form_spec.rb
index 87adce3cddd..d890619022f 100644
--- a/spec/features/issues/form_spec.rb
+++ b/spec/features/issues/form_spec.rb
@@ -151,11 +151,8 @@ describe 'New/edit issue', feature: true, js: true do
page.within '.dropdown-menu-user' do
click_link user.name
end
-
expect(find('input[name="issue[assignee_ids][]"]', visible: false).value).to match(user.id.to_s)
- click_button user.name
-
expect(find('.dropdown-menu-user a.is-active').first(:xpath, '..')['data-user-id']).to eq(user.id.to_s)
# check the ::before pseudo element to ensure checkmark icon is present
@@ -168,8 +165,6 @@ describe 'New/edit issue', feature: true, js: true do
expect(find('input[name="issue[assignee_ids][]"]', visible: false).value).to match(user2.id.to_s)
- click_button user2.name
-
expect(find('.dropdown-menu-user a.is-active').first(:xpath, '..')['data-user-id']).to eq(user2.id.to_s)
end
end