diff options
-rw-r--r-- | spec/features/issues/form_spec.rb | 5 |
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 |