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.
This commit is contained in:
parent
1e42253c6d
commit
c0baa43384
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue