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
0
Merge Requests
0
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
Jérome Perrin
gitlab-ce
Commits
9b034242
Commit
9b034242
authored
Jun 13, 2017
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use wait_for_requests instead of sleep 0.3
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
896aa2a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
features/steps/project/issues/award_emoji.rb
features/steps/project/issues/award_emoji.rb
+2
-2
No files found.
features/steps/project/issues/award_emoji.rb
View file @
9b034242
...
...
@@ -34,8 +34,8 @@ class Spinach::Features::AwardEmoji < Spinach::FeatureSteps
page
.
within
'.awards'
do
expect
do
page
.
find
(
'.js-emoji-btn.active'
).
click
sleep
0.3
end
.
to
change
{
page
.
all
(
".award-control.js-emoji-btn"
).
size
}.
from
(
3
).
to
(
2
)
wait_for_requests
end
.
to
change
{
page
.
all
(
".award-control.js-emoji-btn"
).
size
}.
from
(
3
).
to
(
2
)
end
end
...
...
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