Commit 115beffe authored by Andrejs Cunskis's avatar Andrejs Cunskis

Merge branch '351994-increase-wait-and-safe-navigation' into 'master'

Increase wait time and use safe navigation

See merge request gitlab-org/gitlab!79973
parents cc8e680f b3bb69ab
...@@ -66,14 +66,15 @@ module QA ...@@ -66,14 +66,15 @@ module QA
end end
after do after do
[runner, project].each(&:remove_via_api!) runner&.remove_via_api!
project&.remove_via_api!
end end
it 'does not leave any job in skipped state', testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/349158' do it 'does not leave any job in skipped state', testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/349158' do
Page::Project::Pipeline::Show.perform do |show| Page::Project::Pipeline::Show.perform do |show|
show.click_job_action('Prep') # Trigger pipeline manually show.click_job_action('Prep') # Trigger pipeline manually
show.wait_until(max_duration: 120, sleep_interval: 2, reload: false) do show.wait_until(max_duration: 300, sleep_interval: 2, reload: false) do
project.pipelines.last[:status] == 'success' project.pipelines.last[:status] == 'success'
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