summaryrefslogtreecommitdiff
path: root/qa/qa/page/project/pipeline/index.rb
blob: 32c108393b9e0dd5040fe89bc662def33e598b1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
module QA::Page
  module Project::Pipeline
    class Index < QA::Page::Base
      view 'app/assets/javascripts/pipelines/components/pipeline_url.vue' do
        element :pipeline_link, 'class="js-pipeline-url-link"'
      end

      def go_to_latest_pipeline
        first('.js-pipeline-url-link').click
      end
    end
  end
end