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
86a50c3d
Commit
86a50c3d
authored
Feb 16, 2022
by
Simon Knox
Committed by
Rémy Coutable
Feb 16, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix quarantined custom award emoji spec
parent
0e60d25a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
spec/features/issues/user_interacts_with_awards_spec.rb
spec/features/issues/user_interacts_with_awards_spec.rb
+3
-2
No files found.
spec/features/issues/user_interacts_with_awards_spec.rb
View file @
86a50c3d
...
@@ -49,7 +49,7 @@ RSpec.describe 'User interacts with awards' do
...
@@ -49,7 +49,7 @@ RSpec.describe 'User interacts with awards' do
end
end
end
end
it
'toggles a custom award emoji'
,
quarantine:
'https://gitlab.com/gitlab-org/gitlab/-/issues/351878'
do
it
'toggles a custom award emoji'
do
page
.
within
(
'.awards'
)
do
page
.
within
(
'.awards'
)
do
page
.
find
(
'.add-reaction-button'
).
click
page
.
find
(
'.add-reaction-button'
).
click
end
end
...
@@ -65,9 +65,10 @@ RSpec.describe 'User interacts with awards' do
...
@@ -65,9 +65,10 @@ RSpec.describe 'User interacts with awards' do
expect
(
page
.
find
(
'[data-testid="award-button"].selected .js-counter'
)).
to
have_content
(
'1'
)
expect
(
page
.
find
(
'[data-testid="award-button"].selected .js-counter'
)).
to
have_content
(
'1'
)
expect
(
page
).
to
have_css
(
'[data-testid="award-button"].selected[title="You reacted with :8ball:"]'
)
expect
(
page
).
to
have_css
(
'[data-testid="award-button"].selected[title="You reacted with :8ball:"]'
)
wait_for_requests
expect
do
expect
do
page
.
find
(
'[data-testid="award-button"].selected'
).
click
page
.
find
(
'[data-testid="award-button"].selected'
).
click
wait_for_requests
end
.
to
change
{
page
.
all
(
'[data-testid="award-button"]'
).
size
}.
from
(
3
).
to
(
2
)
end
.
to
change
{
page
.
all
(
'[data-testid="award-button"]'
).
size
}.
from
(
3
).
to
(
2
)
end
end
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