Commit f5fd0a69 authored by Sanad Liaquat's avatar Sanad Liaquat

Merge branch 'dj-add-better-failure-description-for-unfinished-requests' into 'master'

Add clearer message to test failure

See merge request gitlab-org/gitlab!42633
parents c1949330 ca428cea
......@@ -11,6 +11,8 @@ module QA
Waiter.wait_until(log: false) do
finished_all_ajax_requests? && finished_all_axios_requests? && (!skip_finished_loading_check ? finished_loading?(wait: 1) : true)
end
rescue Repeater::WaitExceededError
raise $!, 'Page did not fully load. This could be due to an unending async request or loading icon.'
end
def finished_all_axios_requests?
......
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