Commit 51d79e15 authored by Sarah GP's avatar Sarah GP

Update failing snapshot

parent b2d10215
...@@ -157,7 +157,7 @@ export default { ...@@ -157,7 +157,7 @@ export default {
@created="onCreated" @created="onCreated"
/> />
<div class="d-flex"> <div class="d-flex">
<gl-chart-legend v-if="chart" :chart="chart" :series-info="seriesInfo" /> <gl-chart-legend v-if="chart" :chart="chart" :series-info="seriesInfo" class="js-chart-legend" />
<div class="issues-analytics-legend"> <div class="issues-analytics-legend">
<span>{{ s__('IssuesAnalytics|Total:') }} {{ seriesTotal }}</span> <span>{{ s__('IssuesAnalytics|Total:') }} {{ seriesTotal }}</span>
<span>&#8226;</span> <span>&#8226;</span>
......
...@@ -78,7 +78,7 @@ describe 'Cluster Health board', :js, :kubeclient, :use_clean_rails_memory_store ...@@ -78,7 +78,7 @@ describe 'Cluster Health board', :js, :kubeclient, :use_clean_rails_memory_store
expect(page).to have_css('.prometheus-graph') expect(page).to have_css('.prometheus-graph')
expect(page).to have_css('.prometheus-graph-title') expect(page).to have_css('.prometheus-graph-title')
expect(page).to have_css('[_echarts_instance_]') expect(page).to have_css('[_echarts_instance_]')
expect(page).to have_css('.gl-legend') expect(page).to have_css('.js-chart-legend')
end end
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