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-09-21 15:11:06 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-09-21 15:11:06 +0300
commit82f4de60b7943e9c4a1311efcf29ee42dc38742e (patch)
tree50f9317b44b618adde6c5c7b369ad1acef170562 /qa
parent3c3ab58cda15b53bde5d416f02801e535f7f1e9b (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'qa')
-rw-r--r--qa/qa/page/group/bulk_import.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/qa/qa/page/group/bulk_import.rb b/qa/qa/page/group/bulk_import.rb
index b9497aeb6e5..a62823f3469 100644
--- a/qa/qa/page/group/bulk_import.rb
+++ b/qa/qa/page/group/bulk_import.rb
@@ -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