Commit 39baa197 authored by Thong Kuah's avatar Thong Kuah

Wait for requests before continuing

Otherwise async requests will happen while factory_bot fixtures are
created, causing Rails to lock, and the spec to hang.

See https://gitlab.com/gitlab-org/gitlab/-/issues/337039
parent c0fb41fb
......@@ -17,6 +17,8 @@ RSpec.describe 'Triggers', :js do
@project.add_guest(guest_user)
visit project_settings_ci_cd_path(@project)
wait_for_requests
end
shared_examples 'triggers page' do
......
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