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

welcome.rb « registration « page « qa « qa - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 394e94b6414dd5634553fe7dc76121fa61d5c704 (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
# frozen_string_literal: true

module QA
  module Page
    module Registration
      class Welcome < Page::Base
        view 'app/views/registrations/welcome/show.html.haml' do
          element :get_started_button
        end

        def click_get_started_button_if_available
          if has_element?(:get_started_button)
            Support::Retrier.retry_until do
              click_element :get_started_button
              has_no_element?(:get_started_button)
            end
          end
        end
      end
    end
  end
end

QA::Page::Registration::Welcome.prepend_if_ee('QA::EE::Page::Registration::Welcome')