BigW Consortium Gitlab

Commit 63ec4d48 by Grzegorz Bizon

Show yaml error badge in pipelines page if present

parent 1994c032
......@@ -38,7 +38,7 @@
<span
v-if='pipeline.flags.latest'
class="label label-success has-tooltip"
title=""
title="Latest pipeline for this branch"
data-original-title="Latest pipeline for this branch"
>
latest
......@@ -46,8 +46,8 @@
<span
v-if='pipeline.flags.yaml_errors'
class="label label-danger has-tooltip"
title=""
data-original-title="Undefined yaml error"
:title='pipeline.yaml_errors'
:data-original-title='pipeline.yaml_errors'
>
yaml invalid
</span>
......
......@@ -93,7 +93,7 @@ describe 'Pipelines', :feature, :js do
before { visit_project_pipelines }
it 'contains badge that indicate errors' do
it 'contains badge that indicates errors' do
expect(page).to have_content 'yaml invalid'
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment