Commit a8bc72f3 authored by Tristan Read's avatar Tristan Read Committed by Sean Arnold

Fix failing 'find metrics tab' spec

parent cacd093b
......@@ -379,7 +379,7 @@ export default {
<metric-images-tab
v-if="!isThreatMonitoringPage"
data-testid="$options.tabsConfig[1].id"
:data-testid="$options.tabsConfig[1].id"
:title="$options.tabsConfig[1].title"
/>
<gl-tab :data-testid="$options.tabsConfig[2].id" :title="$options.tabsConfig[2].title">
......
......@@ -96,7 +96,7 @@ describe('AlertDetails', () => {
const findEnvironmentName = () => wrapper.findByTestId('environmentName');
const findEnvironmentPath = () => wrapper.findByTestId('environmentPath');
const findDetailsTable = () => wrapper.findComponent(AlertDetailsTable);
const findMetricsTab = () => wrapper.findByTestId('metrics-tab');
const findMetricsTab = () => wrapper.findByTestId('metrics');
describe('Alert details', () => {
describe('when alert is null', () => {
......
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