blob: db2ff74e0f8ab4ea62e0d67fe09568ee5c4b3869 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# frozen_string_literal: true
module QA
module Page
module Component
module Import
module Selection
def self.included(base)
super
base.view 'app/views/projects/_import_project_pane.html.haml' do
element :gitlab_import_button
end
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
end
end
end
end
|