Fixed failing tests
This commit is contained in:
parent
8fa8cba02e
commit
51a62fce04
|
@ -2,7 +2,7 @@
|
|||
= form_for @notification_setting, url: namespace_project_notification_setting_path(@project.namespace.becomes(Namespace), @project), method: :patch, remote: true, html: { class: 'inline', id: 'notification-form' } do |f|
|
||||
= f.hidden_field :level
|
||||
.dropdown
|
||||
%button.btn.notifications-btn#notifications-button{ data: { toggle: "dropdown" }, aria: { haspopup: "true", expanded: "false" } }
|
||||
%button.btn.btn-default.notifications-btn#notifications-button{ data: { toggle: "dropdown" }, aria: { haspopup: "true", expanded: "false" } }
|
||||
= icon('bell')
|
||||
= notification_title(@notification_setting.level)
|
||||
= icon('caret-down')
|
||||
|
|
|
@ -126,7 +126,7 @@ class Spinach::Features::Project < Spinach::FeatureSteps
|
|||
end
|
||||
|
||||
step 'I click notifications drop down button' do
|
||||
click_link 'notifications-button'
|
||||
find('#notifications-button').click
|
||||
end
|
||||
|
||||
step 'I choose Mention setting' do
|
||||
|
|
Loading…
Reference in New Issue