Commit de1ffce7 authored by Patricio Cano's avatar Patricio Cano

Added Spinach tests and updated CHANGELOG

parent fa6df222
......@@ -43,6 +43,7 @@ v 8.0.0 (unreleased)
- Add support for Crowd
- Global Labels that are available to all projects
- Fix highlighting of deleted lines in diffs.
- Project notification level can be set on the project page itself
v 7.14.1
- Improve abuse reports management from admin area
......
......@@ -74,3 +74,9 @@ Feature: Project
Given I disable snippets in project
When I visit project "Shop" page
Then I should not see "Snippets" button
@javascript
Scenario: I edit Project Notifications
Given I click notifications drop down button
When I choose Mention setting
Then I should see Notification saved message
......@@ -130,4 +130,18 @@ class Spinach::Features::Project < Spinach::FeatureSteps
step 'I should see back to group button' do
expect(page).to have_content 'Back to Group'
end
step 'I click notifications drop down button' do
click_link 'Notifications'
end
step 'I choose Mention setting' do
click_link 'Mention'
end
step 'I should see Notification saved message' do
page.within '.flash-container' do
expect(page).to have_content 'Notification settings saved'
end
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment