Ocelot-Social/cypress/integration/SocialMedia.feature
Matt Rider 9bdd0742c9 Update tests, start test driving new scenario
- tests had become outdated thanks to new implementation details, namely that a socialMedia node is being created and associated with a user instead of it being an attribute of the User
- scenario to ensure other user's can view my social media
2019-04-11 16:35:22 -03:00

20 lines
658 B
Gherkin

Feature: List Social Media Accounts
As a User
I'd like to enter my social media
So I can show them to other users to get in contact
Background:
Given I have a user account
And I am logged in
Scenario: Adding Social Media
Given I am on the "settings" page
And I click on the "My social media" link
Then I should be on the "/settings/my-social-media" page
When I add a social media link
Then it gets saved successfully
And the new social media link shows up on the page
Scenario: Other user's viewing my Social Media
Given people visit my profile page
Then they should be able to see my social media links