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
34bef34f
Commit
34bef34f
authored
Aug 05, 2020
by
Patrick Steinhardt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix tests failing because of Chrome 84 upgrade
parent
24fc15cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spec/features/projects/show/user_manages_notifications_spec.rb
...features/projects/show/user_manages_notifications_spec.rb
+2
-2
No files found.
spec/features/projects/show/user_manages_notifications_spec.rb
View file @
34bef34f
...
@@ -22,7 +22,7 @@ RSpec.describe 'Projects > Show > User manages notifications', :js do
...
@@ -22,7 +22,7 @@ RSpec.describe 'Projects > Show > User manages notifications', :js do
click_notifications_button
click_notifications_button
expect
(
find
(
'.update-notification.is-active'
)).
to
have_content
(
'On mention'
)
expect
(
find
(
'.update-notification.is-active'
)).
to
have_content
(
'On mention'
)
expect
(
find
(
'.notifications-icon use'
)[
:'xlink:href'
]).
to
end_with
(
'#notifications
'
)
expect
(
page
).
to
have_css
(
'.notifications-icon[data-testid="notifications-icon"]
'
)
end
end
it
'changes the notification setting to disabled'
do
it
'changes the notification setting to disabled'
do
...
@@ -32,7 +32,7 @@ RSpec.describe 'Projects > Show > User manages notifications', :js do
...
@@ -32,7 +32,7 @@ RSpec.describe 'Projects > Show > User manages notifications', :js do
wait_for_requests
wait_for_requests
expect
(
find
(
'.notifications-icon use'
)[
:'xlink:href'
]).
to
end_with
(
'#notifications-off
'
)
expect
(
page
).
to
have_css
(
'.notifications-icon[data-testid="notifications-off-icon"]
'
)
end
end
context
'custom notification settings'
do
context
'custom notification settings'
do
...
...
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