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
d40ac8ff
Commit
d40ac8ff
authored
Apr 09, 2022
by
Tristan Read
Committed by
Sean Arnold
Apr 15, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix remaining alert details specs
parent
f2c6c48f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
spec/frontend/vue_shared/alert_details/alert_details_spec.js
spec/frontend/vue_shared/alert_details/alert_details_spec.js
+2
-5
No files found.
spec/frontend/vue_shared/alert_details/alert_details_spec.js
View file @
d40ac8ff
...
...
@@ -26,8 +26,6 @@ describe('AlertDetails', () => {
const
projectPath
=
'
root/alerts
'
;
const
projectIssuesPath
=
'
root/alerts/-/issues
'
;
const
projectId
=
'
1
'
;
const
iid
=
'
1
'
;
const
canUpdate
=
true
;
const
$router
=
{
replace
:
jest
.
fn
()
};
function
mountComponent
({
...
...
@@ -44,8 +42,6 @@ describe('AlertDetails', () => {
projectPath
,
projectIssuesPath
,
projectId
,
iid
,
canUpdate
,
...
provide
,
},
data
()
{
...
...
@@ -74,6 +70,7 @@ describe('AlertDetails', () => {
stubs
:
{
...
stubs
,
AlertSummaryRow
,
'
metric-images-tab
'
:
true
,
},
}),
);
...
...
@@ -96,7 +93,7 @@ describe('AlertDetails', () => {
const
findEnvironmentName
=
()
=>
wrapper
.
findByTestId
(
'
environmentName
'
);
const
findEnvironmentPath
=
()
=>
wrapper
.
findByTestId
(
'
environmentPath
'
);
const
findDetailsTable
=
()
=>
wrapper
.
findComponent
(
AlertDetailsTable
);
const
findMetricsTab
=
()
=>
wrapper
.
find
ByTestId
(
'
metrics
'
);
const
findMetricsTab
=
()
=>
wrapper
.
find
Component
(
MetricImagesTab
);
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