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
path: root/qa
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-01-23 15:02:35 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-01-23 15:02:35 +0300
commitd327277c39df1537b41073912d9b4e9f765d8da5 (patch)
tree2eca4a36cf433cc8b9f5a493623057d78c2d4930 /qa
parentededa488f2c94d1d132d974476f38e668c44e4ee (diff)
Add views / selectors for pipeline show page object
Diffstat (limited to 'qa')
-rw-r--r--qa/qa/page/project/pipeline/show.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/qa/qa/page/project/pipeline/show.rb b/qa/qa/page/project/pipeline/show.rb
index 309d9e75ea2..0835173f1cd 100644
--- a/qa/qa/page/project/pipeline/show.rb
+++ b/qa/qa/page/project/pipeline/show.rb
@@ -5,6 +5,18 @@ module QA::Page
element :pipeline_header, /header class.*ci-header-container.*/
end
+ view 'app/assets/javascripts/pipelines/components/graph/graph_component.vue' do
+ element :pipeline_graph, /class.*pipeline-graph.*/
+ end
+
+ view 'app/assets/javascripts/pipelines/components/graph/job_component.vue' do
+ element :job_component, /class.*ci-job-component.*/
+ end
+
+ view 'app/assets/javascripts/vue_shared/components/ci_icon.vue' do
+ element :status_icon, 'ci-status-icon-${status}'
+ end
+
def running?
within('.ci-header-container') do
return page.has_content?('running')