Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-11-09 15:12:15 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-11-09 15:12:15 +0300
commitb808458daa86105dd2101893961338912961ee92 (patch)
tree5a3b432668a2340cced92eeaa2654604ba0efef9 /qa
parent1aa9cd3080e7ef34b7b021f23222d3990e4a1128 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'qa')
-rw-r--r--qa/qa/page/project/import/github.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/qa/qa/page/project/import/github.rb b/qa/qa/page/project/import/github.rb
index bb35c5eb17c..47f7e701ae8 100644
--- a/qa/qa/page/project/import/github.rb
+++ b/qa/qa/page/project/import/github.rb
@@ -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