Newer
Older
In order to share with a limited group
As a User
I want to create new aspects
danielgrippi
a validé
And I am on the contacts page
danielgrippi
a validé
And I follow "+ Add an aspect"
And I fill in "Name" with "Dorm Mates" in the modal window
And I press "Create" in the modal window
danielgrippi
a validé
Then I should see "Dorm Mates" within "#aspect_nav"
Scenario: creating an aspect from homepage
Given I am signed in
danielgrippi
a validé
When I follow "Add an aspect"
And I fill in "Name" with "losers" in the modal window
And I press "Create" in the modal window
danielgrippi
a validé
Then I should see "losers" within "#aspect_nav"
danielgrippi
a validé
Gonzalo Rodriguez
a validé
Scenario: deleting an aspect from contacts index
Given I am signed in
And I have an aspect called "People"
When I am on the contacts page
And I follow "People"
Gonzalo Rodriguez
a validé
And I wait for the ajax to finish
And I preemptively confirm the alert
Gonzalo Rodriguez
a validé
And I press "Delete" in the modal window
Then I should be on the contacts page
And I should not see "People" within "#aspect_nav"
Scenario: deleting an aspect from homepage
Given I am signed in
And I have an aspect called "People"
When I am on the home page
And I click on "People" aspect edit icon
And I wait for the ajax to finish
And I preemptively confirm the alert
And I press "Delete" in the modal window
Then I should be on the aspects page
And I should not see "People" within "#aspect_nav"
danielgrippi
a validé
Scenario: Editing the aspect memberships of a contact from the aspect edit facebox
danielgrippi
a validé
Given I am signed in
And I have 2 contacts
And I have an aspect called "Cat People"
danielgrippi
a validé
And I follow "Cat People"
danielgrippi
a validé
And I press the first ".contact_list .button"
danielgrippi
a validé
And I wait for the ajax to finish
Then I should have 1 contact in "Cat People"
danielgrippi
a validé
When I press the first ".contact_list .button"
And I wait for the ajax to finish
Then I should have 0 contacts in "Cat People"
Scenario: infinite scroll on contacts index
And I resize my window to 800x600
And I have 60 contacts
And I am on the contacts page
Then I should see 25 contacts
When I scroll down
Then I should see 50 contacts
When I scroll down
Then I should see 60 contacts
Scenario: clicking on the contacts link in the header with zero contacts directs a user to the featured users page
Given I am signed in
And I have 0 contacts
And I am on the home page
When I follow "Contacts"
Then I should see "Featured Users" within ".span-18"
Scenario: clicking on the manage aspects link in the right nav with zero contacts directs a user to the featured users page
Given I am signed in
And I have 0 contacts
And I am on the home page
When I follow "Manage your aspects."
Then I should see "Featured Users" within ".span-18"
Scenario: clicking on the contacts link in the header with contacts does not send a user to the featured users page
Given I am signed in
And I have 2 contacts
And I am on the home page
When I follow "Contacts"
Then I should not see "Featured Users" within "#section_header"