diff options
author | Phil Hughes <me@iamphill.com> | 2017-03-16 15:01:14 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-03-16 15:01:14 +0000 |
commit | 8e4a23927ef848dc0564eecb83ea857d18d2f877 (patch) | |
tree | ccda0101745476b05931a7b600f538eed5eaaf0f /spec/features | |
parent | 4a81867df14801c302f72096de8ee5327cfb4a39 (diff) | |
download | gitlab-ce-8e4a23927ef848dc0564eecb83ea857d18d2f877.tar.gz |
Fixed search not working in issue boards modalfixed-issue-boards-modal-not-searching
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/boards/add_issues_modal_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/features/boards/add_issues_modal_spec.rb b/spec/features/boards/add_issues_modal_spec.rb index c87c0632cb5..d17a418b8c3 100644 --- a/spec/features/boards/add_issues_modal_spec.rb +++ b/spec/features/boards/add_issues_modal_spec.rb @@ -109,6 +109,8 @@ describe 'Issue Boards add issue modal', :feature, :js do find('.form-control').native.send_keys(issue.title) find('.form-control').native.send_keys(:enter) + wait_for_vue_resource + expect(page).to have_selector('.card', count: 1) end end @@ -118,6 +120,8 @@ describe 'Issue Boards add issue modal', :feature, :js do find('.form-control').native.send_keys('testing search') find('.form-control').native.send_keys(:enter) + wait_for_vue_resource + expect(page).not_to have_selector('.card') expect(page).not_to have_content("You haven't added any issues to your project yet") end |