fix notifications cucumber features

This commit is contained in:
danielgrippi 2011-12-20 12:30:29 -08:00
parent e9b6da605f
commit 4ae0dcec43
2 changed files with 3 additions and 10 deletions

View file

@ -11,7 +11,7 @@ Feature: User manages contacts
And I fill in "Name" with "Dorm Mates" in the modal window
And I press "Create" in the modal window
Then I should see "Dorm Mates" within "#aspect_nav"
Scenario: creating an aspect from homepage
Given I am signed in
When I follow "Add an aspect"

View file

@ -18,7 +18,8 @@ Feature: Notifications
And I wait for the ajax to finish
Then the notification dropdown should be visible
Then I should see "started sharing with you"
When I follow "View all"
And I go to the notifications page
When I go to the notifications page
Then I should see "started sharing with you"
And I should have 1 email delivery
@ -37,8 +38,6 @@ Feature: Notifications
Then the notification dropdown should be visible
And I wait for the ajax to finish
Then I should see "reshared your post"
When I follow "View all"
Then I should see "reshared your post"
And I should have 1 email delivery
Scenario: someone likes my post
@ -56,8 +55,6 @@ Feature: Notifications
Then the notification dropdown should be visible
And I wait for the ajax to finish
Then I should see "liked your post"
When I follow "View all"
Then I should see "liked your post"
And I should have 1 email delivery
Scenario: someone comments on my post
@ -76,8 +73,6 @@ Feature: Notifications
Then the notification dropdown should be visible
And I wait for the ajax to finish
Then I should see "commented on your post"
When I follow "View all"
Then I should see "commented on your post"
And I should have 1 email delivery
Scenario: someone mentioned me in their post
@ -89,6 +84,4 @@ Feature: Notifications
Then the notification dropdown should be visible
And I wait for the ajax to finish
Then I should see "mentioned you in a post"
When I follow "View all"
Then I should see "mentioned you in a post"
And I should have 1 email delivery