Commit c0baa433 authored by Eric Eastwood's avatar Eric Eastwood

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.
parent 1e42253c
...@@ -14,6 +14,9 @@ module FilteredSearchHelpers ...@@ -14,6 +14,9 @@ module FilteredSearchHelpers
filtered_search.set(search) filtered_search.set(search)
if submit 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) filtered_search.send_keys(:enter)
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment