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
e121a34f
Commit
e121a34f
authored
Feb 25, 2020
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix jest snapshots and broken tests
parent
a42d2711
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
19 additions
and
3 deletions
+19
-3
ee/spec/frontend/analytics/cycle_analytics/components/__snapshots__/custom_stage_form_spec.js.snap
...s/components/__snapshots__/custom_stage_form_spec.js.snap
+2
-2
ee/spec/frontend/clusters/components/environments_spec.js
ee/spec/frontend/clusters/components/environments_spec.js
+1
-1
ee/spec/frontend/packages/details/components/__snapshots__/code_instruction_spec.js.snap
...ls/components/__snapshots__/code_instruction_spec.js.snap
+2
-0
spec/frontend/registry/list/components/__snapshots__/project_empty_state_spec.js.snap
...components/__snapshots__/project_empty_state_spec.js.snap
+6
-0
spec/frontend/vue_shared/components/__snapshots__/expand_button_spec.js.snap
...hared/components/__snapshots__/expand_button_spec.js.snap
+8
-0
No files found.
ee/spec/frontend/analytics/cycle_analytics/components/__snapshots__/custom_stage_form_spec.js.snap
View file @
e121a34f
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`CustomStageForm Editing a custom stage isSavingCustomStage=true displays a loading icon 1`] = `
exports[`CustomStageForm Editing a custom stage isSavingCustomStage=true displays a loading icon 1`] = `
"<button disabled=\\"disabled\\" type=\\"button\\" class=\\"js-save-stage btn btn-success\\"><span class=\\"gl-spinner-container\\"><span aria-label=\\"Loading\\" aria-hidden=\\"true\\" class=\\"gl-spinner gl-spinner-orange gl-spinner-sm\\"></span></span>
"<button disabled=\\"disabled\\" type=\\"button\\" class=\\"js-save-stage btn btn-success\\"><span class=\\"gl-spinner-container\\"><span aria-label=\\"Loading\\" aria-hidden=\\"true\\" class=\\"
align-text-bottom
gl-spinner gl-spinner-orange gl-spinner-sm\\"></span></span>
Update stage
Update stage
</button>"
</button>"
`;
`;
...
@@ -53,7 +53,7 @@ exports[`CustomStageForm Start event with events selects events with canBeStartE
...
@@ -53,7 +53,7 @@ exports[`CustomStageForm Start event with events selects events with canBeStartE
`;
`;
exports[`CustomStageForm isSavingCustomStage=true displays a loading icon 1`] = `
exports[`CustomStageForm isSavingCustomStage=true displays a loading icon 1`] = `
"<button disabled=\\"disabled\\" type=\\"button\\" class=\\"js-save-stage btn btn-success\\"><span class=\\"gl-spinner-container\\"><span aria-label=\\"Loading\\" aria-hidden=\\"true\\" class=\\"gl-spinner gl-spinner-orange gl-spinner-sm\\"></span></span>
"<button disabled=\\"disabled\\" type=\\"button\\" class=\\"js-save-stage btn btn-success\\"><span class=\\"gl-spinner-container\\"><span aria-label=\\"Loading\\" aria-hidden=\\"true\\" class=\\"
align-text-bottom
gl-spinner gl-spinner-orange gl-spinner-sm\\"></span></span>
Add stage
Add stage
</button>"
</button>"
`;
`;
ee/spec/frontend/clusters/components/environments_spec.js
View file @
e121a34f
ee/spec/frontend/packages/details/components/__snapshots__/code_instruction_spec.js.snap
View file @
e121a34f
...
@@ -30,6 +30,8 @@ exports[`Package code instruction single line to match the default snapshot 1`]
...
@@ -30,6 +30,8 @@ exports[`Package code instruction single line to match the default snapshot 1`]
title="Copy npm install command"
title="Copy npm install command"
type="button"
type="button"
>
>
<!---->
<svg
<svg
class="gl-icon s16"
class="gl-icon s16"
>
>
...
...
spec/frontend/registry/list/components/__snapshots__/project_empty_state_spec.js.snap
View file @
e121a34f
...
@@ -89,6 +89,8 @@ exports[`Registry Project Empty state to match the default snapshot 1`] = `
...
@@ -89,6 +89,8 @@ exports[`Registry Project Empty state to match the default snapshot 1`] = `
title="Copy login command"
title="Copy login command"
type="button"
type="button"
>
>
<!---->
<svg
<svg
class="gl-icon s16"
class="gl-icon s16"
>
>
...
@@ -126,6 +128,8 @@ exports[`Registry Project Empty state to match the default snapshot 1`] = `
...
@@ -126,6 +128,8 @@ exports[`Registry Project Empty state to match the default snapshot 1`] = `
title="Copy build command"
title="Copy build command"
type="button"
type="button"
>
>
<!---->
<svg
<svg
class="gl-icon s16"
class="gl-icon s16"
>
>
...
@@ -155,6 +159,8 @@ exports[`Registry Project Empty state to match the default snapshot 1`] = `
...
@@ -155,6 +159,8 @@ exports[`Registry Project Empty state to match the default snapshot 1`] = `
title="Copy push command"
title="Copy push command"
type="button"
type="button"
>
>
<!---->
<svg
<svg
class="gl-icon s16"
class="gl-icon s16"
>
>
...
...
spec/frontend/vue_shared/components/__snapshots__/expand_button_spec.js.snap
View file @
e121a34f
...
@@ -8,6 +8,8 @@ exports[`Expand button on click when short text is provided renders button after
...
@@ -8,6 +8,8 @@ exports[`Expand button on click when short text is provided renders button after
style="display: none;"
style="display: none;"
type="button"
type="button"
>
>
<!---->
<svg
<svg
aria-hidden="true"
aria-hidden="true"
class="s12 ic-ellipsis_h"
class="s12 ic-ellipsis_h"
...
@@ -32,6 +34,8 @@ exports[`Expand button on click when short text is provided renders button after
...
@@ -32,6 +34,8 @@ exports[`Expand button on click when short text is provided renders button after
style=""
style=""
type="button"
type="button"
>
>
<!---->
<svg
<svg
aria-hidden="true"
aria-hidden="true"
class="s12 ic-ellipsis_h"
class="s12 ic-ellipsis_h"
...
@@ -51,6 +55,8 @@ exports[`Expand button when short text is provided renders button before text 1`
...
@@ -51,6 +55,8 @@ exports[`Expand button when short text is provided renders button before text 1`
class="btn js-text-expander-prepend text-expander btn-blank btn-secondary btn-md"
class="btn js-text-expander-prepend text-expander btn-blank btn-secondary btn-md"
type="button"
type="button"
>
>
<!---->
<svg
<svg
aria-hidden="true"
aria-hidden="true"
class="s12 ic-ellipsis_h"
class="s12 ic-ellipsis_h"
...
@@ -75,6 +81,8 @@ exports[`Expand button when short text is provided renders button before text 1`
...
@@ -75,6 +81,8 @@ exports[`Expand button when short text is provided renders button before text 1`
style="display: none;"
style="display: none;"
type="button"
type="button"
>
>
<!---->
<svg
<svg
aria-hidden="true"
aria-hidden="true"
class="s12 ic-ellipsis_h"
class="s12 ic-ellipsis_h"
...
...
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