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
fb032e62
Commit
fb032e62
authored
Mar 30, 2021
by
Paul Gascou-Vaillancourt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify find helper
parent
7d7b2583
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
ee/spec/frontend/security_configuration/components/dropdown_input_spec.js
.../security_configuration/components/dropdown_input_spec.js
+1
-2
No files found.
ee/spec/frontend/security_configuration/components/dropdown_input_spec.js
View file @
fb032e62
...
...
@@ -38,8 +38,7 @@ describe('DropdownInput component', () => {
const
findToggle
=
()
=>
wrapper
.
find
(
'
button
'
);
const
findLabel
=
()
=>
wrapper
.
find
(
'
label
'
);
const
findDescription
=
()
=>
wrapper
.
find
(
'
label
'
).
find
(
'
[data-testid="dropdown-input-description"]
'
);
const
findDescription
=
()
=>
wrapper
.
findByTestId
(
'
dropdown-input-description
'
);
const
findInputComponent
=
()
=>
wrapper
.
find
(
GlDropdown
);
const
findRestoreDefaultLink
=
()
=>
wrapper
.
find
(
GlLink
);
const
findSectionHeader
=
()
=>
wrapper
.
findByTestId
(
'
dropdown-input-section-header
'
);
...
...
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