Welcome to mirror list, hosted at ThFree Co, Russian Federation.

notifications.rb « profile « steps « features - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7e339443b75f497b832acf3ff1f23e07efcb0656 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
class Spinach::Features::ProfileNotifications < Spinach::FeatureSteps
  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"
  end

  step 'I select Mention setting from dropdown' do
    first(:link, "On mention").trigger('click')
  end

  step 'I should see Notification saved message' do
    expect(page).to have_content 'On mention'
  end
end