Commit 63ec4d48 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Show yaml error badge in pipelines page if present

parent 1994c032
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
<span <span
v-if='pipeline.flags.latest' v-if='pipeline.flags.latest'
class="label label-success has-tooltip" class="label label-success has-tooltip"
title="" title="Latest pipeline for this branch"
data-original-title="Latest pipeline for this branch" data-original-title="Latest pipeline for this branch"
> >
latest latest
...@@ -46,8 +46,8 @@ ...@@ -46,8 +46,8 @@
<span <span
v-if='pipeline.flags.yaml_errors' v-if='pipeline.flags.yaml_errors'
class="label label-danger has-tooltip" class="label label-danger has-tooltip"
title="" :title='pipeline.yaml_errors'
data-original-title="Undefined yaml error" :data-original-title='pipeline.yaml_errors'
> >
yaml invalid yaml invalid
</span> </span>
......
...@@ -93,7 +93,7 @@ describe 'Pipelines', :feature, :js do ...@@ -93,7 +93,7 @@ describe 'Pipelines', :feature, :js do
before { visit_project_pipelines } 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' expect(page).to have_content 'yaml invalid'
end 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