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
875b0c14
Commit
875b0c14
authored
Oct 28, 2020
by
Paul Gascou-Vaillancourt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update broken tests
parent
289dffe0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
29 deletions
+19
-29
ee/spec/frontend/analytics/group_analytics/components/__snapshots__/group_activity_card_spec.js.snap
...components/__snapshots__/group_activity_card_spec.js.snap
+5
-9
ee/spec/frontend/on_demand_scans/components/profile_selector/__snapshots__/scanner_profile_selector_spec.js.snap
...ector/__snapshots__/scanner_profile_selector_spec.js.snap
+12
-18
spec/frontend/monitoring/components/embeds/embed_group_spec.js
...frontend/monitoring/components/embeds/embed_group_spec.js
+2
-2
No files found.
ee/spec/frontend/analytics/group_analytics/components/__snapshots__/group_activity_card_spec.js.snap
View file @
875b0c14
...
...
@@ -2,22 +2,19 @@
exports[`GroupActivity component matches the snapshot 1`] = `
<div
class="
card
"
class="
gl-card gl-mb-5
"
>
<!---->
<div
class="card-header"
class="
gl-
card-header"
>
<strong>
Recent activity (last 90 days)
</strong>
</div>
<div
class="card-body"
class="
gl-
card-body"
>
<!---->
<!---->
<div
class="gl-display-flex"
>
...
...
@@ -76,9 +73,8 @@ exports[`GroupActivity component matches the snapshot 1`] = `
</p>
</div>
</div>
</div>
<!---->
<!---->
</div>
`;
ee/spec/frontend/on_demand_scans/components/profile_selector/__snapshots__/scanner_profile_selector_spec.js.snap
View file @
875b0c14
...
...
@@ -2,13 +2,12 @@
exports[`OnDemandScansScannerProfileSelector renders properly with profiles 1`] = `
<div
class="card"
class="
gl-
card"
data-foo="bar"
value="gid://gitlab/DastScannerProfile/1"
>
<!---->
<div
class="card-header"
class="
gl-
card-header"
>
<div
class="row"
...
...
@@ -46,12 +45,11 @@ exports[`OnDemandScansScannerProfileSelector renders properly with profiles 1`]
</div>
</div>
</div>
<div
class="card-body"
class="
gl-
card-body"
>
<!---->
<!---->
<fieldset
class="form-group gl-form-group"
>
...
...
@@ -318,21 +316,19 @@ exports[`OnDemandScansScannerProfileSelector renders properly with profiles 1`]
<!---->
</div>
</fieldset>
</div>
<!---->
<!---->
</div>
`;
exports[`OnDemandScansScannerProfileSelector renders properly without profiles 1`] = `
<div
class="card"
class="
gl-
card"
data-foo="bar"
>
<!---->
<div
class="card-header"
class="
gl-
card-header"
>
<div
class="row"
...
...
@@ -371,12 +367,11 @@ exports[`OnDemandScansScannerProfileSelector renders properly without profiles 1
</div>
</div>
</div>
<div
class="card-body"
class="
gl-
card-body"
>
<!---->
<!---->
<p
class="gl-text-gray-700"
>
...
...
@@ -398,9 +393,8 @@ exports[`OnDemandScansScannerProfileSelector renders properly without profiles 1
Create a new scanner profile
</span>
</a>
</div>
<!---->
<!---->
</div>
`;
spec/frontend/monitoring/components/embeds/embed_group_spec.js
View file @
875b0c14
...
...
@@ -73,7 +73,7 @@ describe('Embed Group', () => {
metricsWithDataGetter
.
mockReturnValue
([
1
]);
mountComponent
({
shallow
:
false
,
stubs
:
{
MetricEmbed
:
true
}
});
expect
(
wrapper
.
find
(
'
.card-body
'
).
classes
()).
not
.
toContain
(
'
d-none
'
);
expect
(
wrapper
.
find
(
'
.
gl-
card-body
'
).
classes
()).
not
.
toContain
(
'
d-none
'
);
});
it
(
'
collapses when clicked
'
,
done
=>
{
...
...
@@ -83,7 +83,7 @@ describe('Embed Group', () => {
wrapper
.
find
(
GlButton
).
trigger
(
'
click
'
);
wrapper
.
vm
.
$nextTick
(()
=>
{
expect
(
wrapper
.
find
(
'
.card-body
'
).
classes
()).
toContain
(
'
d-none
'
);
expect
(
wrapper
.
find
(
'
.
gl-
card-body
'
).
classes
()).
toContain
(
'
d-none
'
);
done
();
});
});
...
...
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