Commit 4671a3b1 authored by Sanad Liaquat's avatar Sanad Liaquat

Merge branch 'ml-import-successful-if-project-created' into 'master'

Consider import successful if project exists

See merge request gitlab-org/gitlab!35202
parents cc8bc460 70f0e634
......@@ -25,17 +25,9 @@ module QA
wait_until(max_duration: max_wait) { yield }
end
def wait_for_import_start
wait_until(sleep_interval: 1) do
has_text?('Import in progress')
end
end
def wait_for_import_success
wait_for_import_start
wait_until(max_duration: 120, sleep_interval: 1) do
has_no_text?('Import in progress')
has_element?(:project_name_content)
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