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
1c03ad8f
Commit
1c03ad8f
authored
Aug 26, 2019
by
Enrique Alcantara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix dropdown filter tests
parent
bb1a1bc6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
ee/spec/frontend/analytics/shared/components/groups_dropdown_filter_spec.js
...nalytics/shared/components/groups_dropdown_filter_spec.js
+4
-4
ee/spec/frontend/analytics/shared/components/projects_dropdown_filter_spec.js
...lytics/shared/components/projects_dropdown_filter_spec.js
+4
-4
No files found.
ee/spec/frontend/analytics/shared/components/groups_dropdown_filter_spec.js
View file @
1c03ad8f
...
...
@@ -139,8 +139,8 @@ describe('GroupsDropdownFilter component', () => {
.
trigger
(
'
click
'
);
wrapper
.
vm
.
$nextTick
(()
=>
{
expect
(
findDropdownButton
().
contains
(
'
img.avatar
'
)).
toBe
(
true
);
expect
(
findDropdownButton
().
contains
(
'
div.
identicon
'
)).
toBe
(
false
);
expect
(
findDropdownButton
().
contains
(
'
img.
gl-
avatar
'
)).
toBe
(
true
);
expect
(
findDropdownButton
().
contains
(
'
.gl-avatar-
identicon
'
)).
toBe
(
false
);
done
();
});
});
...
...
@@ -151,8 +151,8 @@ describe('GroupsDropdownFilter component', () => {
.
trigger
(
'
click
'
);
wrapper
.
vm
.
$nextTick
(()
=>
{
expect
(
findDropdownButton
().
contains
(
'
img.avatar
'
)).
toBe
(
false
);
expect
(
findDropdownButton
().
contains
(
'
div.
identicon
'
)).
toBe
(
true
);
expect
(
findDropdownButton
().
contains
(
'
img.
gl-
avatar
'
)).
toBe
(
false
);
expect
(
findDropdownButton
().
contains
(
'
.gl-avatar-
identicon
'
)).
toBe
(
true
);
done
();
});
});
...
...
ee/spec/frontend/analytics/shared/components/projects_dropdown_filter_spec.js
View file @
1c03ad8f
...
...
@@ -147,8 +147,8 @@ describe('ProjectsDropdownFilter component', () => {
.
trigger
(
'
click
'
);
wrapper
.
vm
.
$nextTick
(()
=>
{
expect
(
findDropdownButton
().
contains
(
'
img.avatar
'
)).
toBe
(
true
);
expect
(
findDropdownButton
().
contains
(
'
div.
identicon
'
)).
toBe
(
false
);
expect
(
findDropdownButton
().
contains
(
'
img.
gl-
avatar
'
)).
toBe
(
true
);
expect
(
findDropdownButton
().
contains
(
'
.gl-avatar-
identicon
'
)).
toBe
(
false
);
done
();
});
});
...
...
@@ -159,8 +159,8 @@ describe('ProjectsDropdownFilter component', () => {
.
trigger
(
'
click
'
);
wrapper
.
vm
.
$nextTick
(()
=>
{
expect
(
findDropdownButton
().
contains
(
'
img.avatar
'
)).
toBe
(
false
);
expect
(
findDropdownButton
().
contains
(
'
div.
identicon
'
)).
toBe
(
true
);
expect
(
findDropdownButton
().
contains
(
'
img.
gl-
avatar
'
)).
toBe
(
false
);
expect
(
findDropdownButton
().
contains
(
'
.gl-avatar-
identicon
'
)).
toBe
(
true
);
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