Wait_for_requests after dropdown item search

parent 1c6af0e9
...@@ -43,6 +43,8 @@ module QA ...@@ -43,6 +43,8 @@ module QA
end end
def wait_for_search_to_complete def wait_for_search_to_complete
Support::WaitForRequests.wait_for_requests
has_css?('.select2-active', wait: 1) has_css?('.select2-active', wait: 1)
has_no_css?('.select2-active', wait: 30) has_no_css?('.select2-active', wait: 30)
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