diff options
author | Eric Eastwood <contact@ericeastwood.com> | 2017-06-21 02:17:27 -0500 |
---|---|---|
committer | Eric Eastwood <contact@ericeastwood.com> | 2017-06-21 02:17:27 -0500 |
commit | d5127e808193eb9eae321e8489ba56e438122e29 (patch) | |
tree | fb5c75297aae27a64a908d9ee9cee08a7f6b1a7f | |
parent | b2e1d32e7a74b22b23e8ab052bd29e15bb8a4f1e (diff) | |
download | gitlab-ce-backport-filtered-search-lazy-token-transient.tar.gz |
Backport filtered search lazy token consistent state fixbackport-filtered-search-lazy-token-transient
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.
-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 |