summaryrefslogtreecommitdiff
path: root/qa/qa/page/component/import/selection.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-05-10 00:08:52 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2023-05-10 00:08:52 +0000
commit38c1da5195bdcaab0b20bf6303a675b9283ac476 (patch)
tree0619c87e942aa03fb6e1c050daabe961f8d01e0a /qa/qa/page/component/import/selection.rb
parentab5672c13d7fe5c79fdeac10e7505187cf4ba606 (diff)
downloadgitlab-ce-38c1da5195bdcaab0b20bf6303a675b9283ac476.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'qa/qa/page/component/import/selection.rb')
-rw-r--r--qa/qa/page/component/import/selection.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/qa/qa/page/component/import/selection.rb b/qa/qa/page/component/import/selection.rb
index 6cacdd84f13..db2ff74e0f8 100644
--- a/qa/qa/page/component/import/selection.rb
+++ b/qa/qa/page/component/import/selection.rb
@@ -14,6 +14,10 @@ module QA
end
def click_gitlab
+ retry_until(reload: true, max_attempts: 10, message: 'Waiting for import source to be enabled') do
+ has_element?(:gitlab_import_button)
+ end
+
click_element(:gitlab_import_button)
end
end