diff options
author | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-09-19 20:51:16 +0300 |
---|---|---|
committer | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-09-20 00:04:54 +0300 |
commit | d7b48eb0e94af4648a4cc13bcc789ad66d83dab8 (patch) | |
tree | c7cd59a15d53c7f89901827e959bd39e9397548d /spec/features/search | |
parent | 27a28d9970c28142aa4482b6f474b79ccaec2bec (diff) |
Replaced trigger calls for click
Diffstat (limited to 'spec/features/search')
-rw-r--r-- | spec/features/search/user_searches_for_wiki_pages_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/search/user_searches_for_wiki_pages_spec.rb b/spec/features/search/user_searches_for_wiki_pages_spec.rb index 1ea56479ecc..00af625dc86 100644 --- a/spec/features/search/user_searches_for_wiki_pages_spec.rb +++ b/spec/features/search/user_searches_for_wiki_pages_spec.rb @@ -15,14 +15,14 @@ describe 'User searches for wiki pages', :js do include_examples 'top right search form' it 'finds a page' do - find('.js-search-project-dropdown').trigger('click') + find('.js-search-project-dropdown').click page.within('.project-filter') do click_link(project.name_with_namespace) end fill_in('dashboard_search', with: 'content') - find('.btn-search').trigger('click') + find('.btn-search').click page.within('.search-filter') do click_link('Wiki') |