mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2026-04-06 01:25:31 +00:00
Optimised tests and Vue for add Social Media a bit. Added localisation. Finished this commit together with @mattwr18 !!! Thank you so much dude! You did great stuff …
31 lines
1.0 KiB
Gherkin
31 lines
1.0 KiB
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 "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 I have added a social media link
|
|
When people visit my profile page
|
|
Then they should be able to see my social media links
|
|
|
|
Scenario: Deleting Social Media
|
|
Given I am on the "settings" page
|
|
And I click on the "Social media" link
|
|
Then I should be on the "/settings/my-social-media" page
|
|
Given I have added a social media link
|
|
When I delete a social media link
|
|
Then it gets deleted successfully
|
|
# And the new social media link shows up on the page
|