diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2016-12-18 04:55:44 +0300 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2017-01-10 01:01:34 +0300 |
commit | f72c1bf1c930b4dcb533202204d132f42246d99f (patch) | |
tree | dace0e643da0794dd2c7982b3429e2bc12413170 /spec/features/issues/filtered_search/dropdown_author_spec.rb | |
parent | e197f27f19ab7995d280f67754ea16c2629701b2 (diff) |
Fix specs
Diffstat (limited to 'spec/features/issues/filtered_search/dropdown_author_spec.rb')
-rw-r--r-- | spec/features/issues/filtered_search/dropdown_author_spec.rb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/spec/features/issues/filtered_search/dropdown_author_spec.rb b/spec/features/issues/filtered_search/dropdown_author_spec.rb index c7cb5e25174..956f7156c5f 100644 --- a/spec/features/issues/filtered_search/dropdown_author_spec.rb +++ b/spec/features/issues/filtered_search/dropdown_author_spec.rb @@ -13,7 +13,7 @@ describe 'Dropdown author', js: true, feature: true do def send_keys_to_filtered_search(input) input.split("").each do |i| filtered_search.send_keys(i) - sleep 3 + sleep 5 wait_for_ajax end end @@ -65,7 +65,8 @@ describe 'Dropdown author', js: true, feature: true do describe 'filtering' do before do - filtered_search.set('author:') + filtered_search.set('author') + send_keys_to_filtered_search(':') end it 'filters by name' do @@ -101,7 +102,8 @@ describe 'Dropdown author', js: true, feature: true do describe 'selecting from dropdown' do before do - filtered_search.set('author:') + filtered_search.set('author') + send_keys_to_filtered_search(':') end it 'fills in the author username when the author has not been filtered' do |