diff options
author | Phil Hughes <me@iamphill.com> | 2016-06-29 16:15:45 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-07-07 09:38:49 +0100 |
commit | a6b4164017961add393e6cc863dc5e0c3d9c7f69 (patch) | |
tree | aef0729767cded928db164d469a41a6fecb05a74 /spec/features | |
parent | bf40aab4db26c378a83455c464c1b98bb4fa154e (diff) | |
download | gitlab-ce-a6b4164017961add393e6cc863dc5e0c3d9c7f69.tar.gz |
Updated tests
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/issues/move_spec.rb | 2 | ||||
-rw-r--r-- | spec/features/issues_spec.rb | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/spec/features/issues/move_spec.rb b/spec/features/issues/move_spec.rb index 7773c486b4e..055210399a7 100644 --- a/spec/features/issues/move_spec.rb +++ b/spec/features/issues/move_spec.rb @@ -55,7 +55,7 @@ feature 'issue move to another project' do first('.select2-choice').click end - fill_in('s2id_autogen2_search', with: new_project_search.name) + fill_in('s2id_autogen1_search', with: new_project_search.name) page.within '.select2-drop' do expect(page).to have_content(new_project_search.name) diff --git a/spec/features/issues_spec.rb b/spec/features/issues_spec.rb index d51c9abea19..d00cffa4e2b 100644 --- a/spec/features/issues_spec.rb +++ b/spec/features/issues_spec.rb @@ -50,9 +50,8 @@ describe 'Issues', feature: true do expect(page).to have_content "Assignee #{@user.name}" - first('#s2id_issue_assignee_id').click - sleep 2 # wait for ajax stuff to complete - first('.user-result').click + first('.js-user-search').click + click_link 'Unassigned' click_button 'Save changes' |