Commit 1bc34117 authored by Andrejs Cunskis's avatar Andrejs Cunskis

Merge branch 'acunskis-gh-import-retry-trigger' into 'master'

E2E: Make sure import github import started before waiting for completion

See merge request gitlab-org/gitlab!73967
parents aa74d0fe b92c2a7c
...@@ -49,7 +49,12 @@ module QA ...@@ -49,7 +49,12 @@ module QA
click_element(:target_namespace_selector_dropdown) click_element(:target_namespace_selector_dropdown)
click_element(:target_group_dropdown_item, group_name: target_group_path) click_element(:target_group_dropdown_item, group_name: target_group_path)
fill_element(:project_path_field, project_name) 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
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