diaspora/features/notifications.feature
2011-07-01 22:46:54 -07:00

27 lines
748 B
Gherkin

@javascript
Feature: Notifications
In order to see what is happening
As a User
I want to get notifications
Background:
Given a user with email "bob@bob.bob"
And a user with email "alice@alice.alice"
When I sign in as "bob@bob.bob"
And I am on "alice@alice.alice"'s page
And I add the person to my 1st aspect
And I go to the destroy user session page
Scenario: someone shares with me
When I sign in as "alice@alice.alice"
And I follow "notifications" in the header
Then I should see "started sharing with you"
Scenario: notification popup
When I sign in as "alice@alice.alice"
And I click the notification badge
And I wait for the ajax to finish
Then the notification dropdown should be visible