diff options
author | Eric Eastwood <contact@ericeastwood.com> | 2017-06-21 10:17:27 +0300 |
---|---|---|
committer | Eric Eastwood <contact@ericeastwood.com> | 2017-06-21 18:16:29 +0300 |
commit | c0baa43384da825aab7f32a610f6591755347722 (patch) | |
tree | 73e2322be8e5d50a65a5b12fcaa112fda29f4793 /spec | |
parent | 1e42253c6dd28f64d7a0f4227c60426c71db62bd (diff) |
Backport filtered search lazy token consistent state fix
From https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/2142
Didn't actually fix the spec but is worthwhile to get things in a
consistent state no matter how fast the test runs.
Diffstat (limited to 'spec')
-rw-r--r-- | spec/support/filtered_search_helpers.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/support/filtered_search_helpers.rb b/spec/support/filtered_search_helpers.rb index 37cc308e613..d21c4324d9e 100644 --- a/spec/support/filtered_search_helpers.rb +++ b/spec/support/filtered_search_helpers.rb @@ -14,6 +14,9 @@ module FilteredSearchHelpers filtered_search.set(search) if submit + # Wait for the lazy author/assignee tokens that + # swap out the username with an avatar and name + wait_for_requests filtered_search.send_keys(:enter) end end |