gitlab-org--gitlab-foss/features/steps/profile/notifications.rb

21 lines
542 B
Ruby
Raw Normal View History

class Spinach::Features::ProfileNotifications < Spinach::FeatureSteps
2013-06-26 13:54:51 -04:00
include SharedAuthentication
include SharedProject
step 'I visit profile notifications page' do
visit profile_notifications_path
end
step 'I should see global notifications settings' do
expect(page).to have_content "Notifications"
2013-06-26 13:54:51 -04:00
end
step 'I select Mention setting from dropdown' do
2016-06-17 11:38:49 -04:00
first(:link, "On mention").trigger('click')
end
step 'I should see Notification saved message' do
expect(page).to have_content 'On mention'
end
2013-06-26 13:54:51 -04:00
end