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
850487e3
Commit
850487e3
authored
May 05, 2021
by
Paul Gascou-Vaillancourt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix broken specs
parent
8f6c695d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
7 deletions
+5
-7
ee/spec/frontend/security_configuration/components/expandable_section_spec.js
...urity_configuration/components/expandable_section_spec.js
+3
-1
spec/frontend/pages/projects/learn_gitlab/components/__snapshots__/learn_gitlab_a_spec.js.snap
...tlab/components/__snapshots__/learn_gitlab_a_spec.js.snap
+1
-3
spec/frontend/pages/projects/learn_gitlab/components/__snapshots__/learn_gitlab_b_spec.js.snap
...tlab/components/__snapshots__/learn_gitlab_b_spec.js.snap
+1
-3
No files found.
ee/spec/frontend/security_configuration/components/expandable_section_spec.js
View file @
850487e3
import
{
mount
,
shallowMount
}
from
'
@vue/test-utils
'
;
import
{
mount
,
shallowMount
}
from
'
@vue/test-utils
'
;
import
ExpandableSection
from
'
ee/security_configuration/components/expandable_section.vue
'
;
import
ExpandableSection
from
'
ee/security_configuration/components/expandable_section.vue
'
;
import
{
stubTransition
}
from
'
helpers/stub_transition
'
;
import
{
stubTransition
}
from
'
helpers/stub_transition
'
;
import
waitForPromises
from
'
helpers/wait_for_promises
'
;
describe
(
'
ExpandableSection component
'
,
()
=>
{
describe
(
'
ExpandableSection component
'
,
()
=>
{
let
wrapper
;
let
wrapper
;
...
@@ -90,7 +91,8 @@ describe('ExpandableSection component', () => {
...
@@ -90,7 +91,8 @@ describe('ExpandableSection component', () => {
});
});
describe
(
'
clicking the expand button
'
,
()
=>
{
describe
(
'
clicking the expand button
'
,
()
=>
{
beforeEach
(()
=>
{
beforeEach
(
async
()
=>
{
await
waitForPromises
();
const
button
=
findButton
();
const
button
=
findButton
();
button
.
trigger
(
'
click
'
);
button
.
trigger
(
'
click
'
);
return
wrapper
.
vm
.
$nextTick
();
return
wrapper
.
vm
.
$nextTick
();
...
...
spec/frontend/pages/projects/learn_gitlab/components/__snapshots__/learn_gitlab_a_spec.js.snap
View file @
850487e3
...
@@ -44,9 +44,7 @@ exports[`Learn GitLab Design A renders correctly 1`] = `
...
@@ -44,9 +44,7 @@ exports[`Learn GitLab Design A renders correctly 1`] = `
class="progress-bar"
class="progress-bar"
role="progressbar"
role="progressbar"
style="width: 22.22222222222222%;"
style="width: 22.22222222222222%;"
>
/>
<!---->
</div>
</div>
</div>
</div>
</div>
...
...
spec/frontend/pages/projects/learn_gitlab/components/__snapshots__/learn_gitlab_b_spec.js.snap
View file @
850487e3
...
@@ -44,9 +44,7 @@ exports[`Learn GitLab Design B renders correctly 1`] = `
...
@@ -44,9 +44,7 @@ exports[`Learn GitLab Design B renders correctly 1`] = `
class="progress-bar"
class="progress-bar"
role="progressbar"
role="progressbar"
style="width: 22.22222222222222%;"
style="width: 22.22222222222222%;"
>
/>
<!---->
</div>
</div>
</div>
</div>
</div>
...
...
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