Commit e0e687a5 authored by richard.chong's avatar richard.chong

Adds retry attempts to give pipeline status widget time to update

parent 7928d956
...@@ -53,9 +53,11 @@ module QA ...@@ -53,9 +53,11 @@ module QA
it 'does not drop MR', testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1250' do it 'does not drop MR', testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1250' do
start_discussion start_discussion
Page::MergeRequest::Show.perform do |show| Support::Retrier.retry_until(max_attempts: 3, sleep_interval: 3) do
show.has_pipeline_status?('passed') Page::MergeRequest::Show.perform do |show|
expect(show).to be_merged show.has_pipeline_status?('passed')
expect(show).to be_merged
end
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