Commit c60c141d authored by Sanad Liaquat's avatar Sanad Liaquat

Merge branch 'acunskis-bulk_import_test_fix' into 'master'

E2E: Make sure group import started before awaiting for completion

See merge request gitlab-org/gitlab!70670
parents 577c7fab 0db0e640
......@@ -33,7 +33,12 @@ module QA
within_element(:import_item, source_group: source_group_name) do
click_element(:target_namespace_selector_dropdown)
click_element(:target_group_dropdown_item, group_name: target_group_name)
click_element(:import_group_button)
retry_until do
click_element(:import_group_button)
# Make sure import started before waiting for completion
has_no_element?(:import_status_indicator, text: "Not started", wait: 1)
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