diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2017-02-15 16:13:53 -0600 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2017-02-21 12:40:57 -0600 |
commit | 649c095a671f9fcf6f09449c96b145761a2d6817 (patch) | |
tree | b668b1732ac8e3a226e29e01524460d0e855f483 /spec/features/search_spec.rb | |
parent | b596dd8fedd9dc8f9487e1e67a52a7b211bd956b (diff) | |
download | gitlab-ce-649c095a671f9fcf6f09449c96b145761a2d6817.tar.gz |
Add filtered search to MR pageadd-filtered-search-to-mr
Diffstat (limited to 'spec/features/search_spec.rb')
-rw-r--r-- | spec/features/search_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/search_spec.rb b/spec/features/search_spec.rb index 0fe5a897565..7da05defa81 100644 --- a/spec/features/search_spec.rb +++ b/spec/features/search_spec.rb @@ -186,7 +186,7 @@ describe "Search", feature: true do sleep 2 expect(page).to have_selector('.merge-requests-holder') - expect(find('.js-assignee-search .dropdown-toggle-text')).to have_content(user.name) + expect(find('.filtered-search').value).to eq("assignee:@#{user.username}") end it 'takes user to her MR page when MR authored is clicked' do @@ -194,7 +194,7 @@ describe "Search", feature: true do sleep 2 expect(page).to have_selector('.merge-requests-holder') - expect(find('.js-author-search .dropdown-toggle-text')).to have_content(user.name) + expect(find('.filtered-search').value).to eq("author:@#{user.username}") end end |