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
ef41bb8f
Commit
ef41bb8f
authored
Jan 20, 2022
by
Florie Guibert
Committed by
Natalia Tepluhina
Jan 20, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Follow up: Remove sleep from labels widget test
parent
24c21914
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
spec/support/shared_examples/features/sidebar/sidebar_labels_shared_examples.rb
...amples/features/sidebar/sidebar_labels_shared_examples.rb
+4
-1
No files found.
spec/support/shared_examples/features/sidebar/sidebar_labels_shared_examples.rb
View file @
ef41bb8f
...
...
@@ -54,7 +54,10 @@ RSpec.shared_examples 'labels sidebar widget' do
end
fill_in
'Search'
,
with:
'Devel'
sleep
1
expect
(
page
).
to
have_css
(
'.labels-fetch-loading'
)
wait_for_all_requests
expect
(
page
).
to
have_css
(
'[data-testid="dropdown-content"] .gl-new-dropdown-item'
)
expect
(
page
.
all
(
:css
,
'[data-testid="dropdown-content"] .gl-new-dropdown-item'
).
length
).
to
eq
(
1
)
find_field
(
'Search'
).
native
.
send_keys
(
:enter
)
...
...
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