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
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa/page/component/import/gitlab.rb')
-rw-r--r--qa/qa/page/component/import/gitlab.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/qa/qa/page/component/import/gitlab.rb b/qa/qa/page/component/import/gitlab.rb
index 2fd2a45b399..5831a713ae5 100644
--- a/qa/qa/page/component/import/gitlab.rb
+++ b/qa/qa/page/component/import/gitlab.rb
@@ -5,6 +5,8 @@ module QA
module Component
module Import
module Gitlab
+ extend QA::Page::PageConcern
+
def self.included(base)
super
@@ -30,7 +32,7 @@ module QA
click_element(:import_project_button)
wait_until(reload: false) do
- has_notice?("The project was successfully imported.")
+ has_notice?("The project was successfully imported.") || has_element?(:project_name_content)
end
end
end