Added Spinach tests and updated CHANGELOG
This commit is contained in:
parent
fa6df2228e
commit
de1ffce739
|
@ -43,6 +43,7 @@ v 8.0.0 (unreleased)
|
||||||
- Add support for Crowd
|
- Add support for Crowd
|
||||||
- Global Labels that are available to all projects
|
- Global Labels that are available to all projects
|
||||||
- Fix highlighting of deleted lines in diffs.
|
- Fix highlighting of deleted lines in diffs.
|
||||||
|
- Project notification level can be set on the project page itself
|
||||||
|
|
||||||
v 7.14.1
|
v 7.14.1
|
||||||
- Improve abuse reports management from admin area
|
- Improve abuse reports management from admin area
|
||||||
|
|
|
@ -74,3 +74,9 @@ Feature: Project
|
||||||
Given I disable snippets in project
|
Given I disable snippets in project
|
||||||
When I visit project "Shop" page
|
When I visit project "Shop" page
|
||||||
Then I should not see "Snippets" button
|
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
|
step 'I should see back to group button' do
|
||||||
expect(page).to have_content 'Back to Group'
|
expect(page).to have_content 'Back to Group'
|
||||||
end
|
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
|
end
|
||||||
|
|
Loading…
Reference in New Issue