Commit b92c2a7c authored by Andrejs Cunskis's avatar Andrejs Cunskis

Make sure import github import started before waiting for completion

parent 99ec3469
......@@ -49,7 +49,12 @@ module QA
click_element(:target_namespace_selector_dropdown)
click_element(:target_group_dropdown_item, group_name: target_group_path)
fill_element(:project_path_field, project_name)
click_element(:import_button)
retry_until do
click_element(:import_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