diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-19 11:27:35 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-19 11:27:35 +0300 |
commit | 7e9c479f7de77702622631cff2628a9c8dcbc627 (patch) | |
tree | c8f718a08e110ad7e1894510980d2155a6549197 /spec/support/helpers/search_helpers.rb | |
parent | e852b0ae16db4052c1c567d9efa4facc81146e88 (diff) |
Add latest changes from gitlab-org/gitlab@13-6-stable-eev13.6.0-rc42
Diffstat (limited to 'spec/support/helpers/search_helpers.rb')
-rw-r--r-- | spec/support/helpers/search_helpers.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/support/helpers/search_helpers.rb b/spec/support/helpers/search_helpers.rb index 328f272724a..3d4ff4801a7 100644 --- a/spec/support/helpers/search_helpers.rb +++ b/spec/support/helpers/search_helpers.rb @@ -3,13 +3,14 @@ module SearchHelpers def fill_in_search(text) page.within('.search-input-wrap') do + find('#search').click fill_in('search', with: text) end wait_for_all_requests end - def submit_search(query, scope: nil) + def submit_search(query) page.within('.search-form, .search-page-form') do field = find_field('search') field.fill_in(with: query) |