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

base.rb « page « jenkins « vendor « qa « qa - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8dfbe7570f8708a9c4e728ad526eac6c761d2bed (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 Vendor
    module Jenkins
      module Page
        class Base
          include Capybara::DSL
          include Scenario::Actable

          attr_reader :path

          class << self
            attr_accessor :host
          end

          def visit!
            page.visit URI.join(Base.host, path).to_s
          end
        end
      end
    end
  end
end