Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
a8bc72f3
Commit
a8bc72f3
authored
Apr 07, 2022
by
Tristan Read
Committed by
Sean Arnold
Apr 15, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix failing 'find metrics tab' spec
parent
cacd093b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/assets/javascripts/vue_shared/alert_details/components/alert_details.vue
...pts/vue_shared/alert_details/components/alert_details.vue
+1
-1
spec/frontend/vue_shared/alert_details/alert_details_spec.js
spec/frontend/vue_shared/alert_details/alert_details_spec.js
+1
-1
No files found.
app/assets/javascripts/vue_shared/alert_details/components/alert_details.vue
View file @
a8bc72f3
...
...
@@ -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"
>
...
...
spec/frontend/vue_shared/alert_details/alert_details_spec.js
View file @
a8bc72f3
...
...
@@ -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
'
,
()
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment