diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-01-23 13:02:35 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-01-23 13:02:35 +0100 |
commit | d327277c39df1537b41073912d9b4e9f765d8da5 (patch) | |
tree | 2eca4a36cf433cc8b9f5a493623057d78c2d4930 /qa/qa/page/project/pipeline | |
parent | ededa488f2c94d1d132d974476f38e668c44e4ee (diff) | |
download | gitlab-ce-d327277c39df1537b41073912d9b4e9f765d8da5.tar.gz |
Add views / selectors for pipeline show page object
Diffstat (limited to 'qa/qa/page/project/pipeline')
-rw-r--r-- | qa/qa/page/project/pipeline/show.rb | 12 |
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') |