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
cd3da1d8
Commit
cd3da1d8
authored
Oct 16, 2020
by
nuwe1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated geo_replicable_filter_bar dropdown specs
parent
7d55c65d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
8 deletions
+3
-8
ee/spec/frontend/geo_replicable/components/geo_replicable_filter_bar_spec.js
...o_replicable/components/geo_replicable_filter_bar_spec.js
+3
-8
No files found.
ee/spec/frontend/geo_replicable/components/geo_replicable_filter_bar_spec.js
View file @
cd3da1d8
import
Vuex
from
'
vuex
'
;
import
{
createLocalVue
,
shallowMount
}
from
'
@vue/test-utils
'
;
import
{
GlDeprecatedDropdown
,
GlDeprecatedDropdownItem
,
GlSearchBoxByType
,
GlButton
,
}
from
'
@gitlab/ui
'
;
import
{
GlDropdown
,
GlDropdownItem
,
GlSearchBoxByType
,
GlButton
}
from
'
@gitlab/ui
'
;
import
GeoReplicableFilterBar
from
'
ee/geo_replicable/components/geo_replicable_filter_bar.vue
'
;
import
{
getStoreConfig
}
from
'
ee/geo_replicable/store
'
;
import
{
DEFAULT_SEARCH_DELAY
}
from
'
ee/geo_replicable/constants
'
;
...
...
@@ -40,8 +35,8 @@ describe('GeoReplicableFilterBar', () => {
});
const
findNavContainer
=
()
=>
wrapper
.
find
(
'
nav
'
);
const
findGlDropdown
=
()
=>
findNavContainer
().
find
(
GlD
eprecatedD
ropdown
);
const
findGlDropdownItems
=
()
=>
findNavContainer
().
findAll
(
GlD
eprecatedD
ropdownItem
);
const
findGlDropdown
=
()
=>
findNavContainer
().
find
(
GlDropdown
);
const
findGlDropdownItems
=
()
=>
findNavContainer
().
findAll
(
GlDropdownItem
);
const
findDropdownItemsText
=
()
=>
findGlDropdownItems
().
wrappers
.
map
(
w
=>
w
.
text
());
const
findGlSearchBox
=
()
=>
findNavContainer
().
find
(
GlSearchBoxByType
);
const
findGlButton
=
()
=>
findNavContainer
().
find
(
GlButton
);
...
...
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