Ocelot-Social/cypress/integration/04.AboutMeAndLocation.feature
2019-01-08 19:25:40 +01:00

39 lines
1.2 KiB
Gherkin

Feature: About me and and location
As a user
I would like to add some about me text and a location
So others can get some info about me and my location
The location and about me are displayed on the user profile. Later it will be possible
to search for users by location.
Background:
Given I am logged in
And I am on the "settings" page
Scenario: I change my name
When I save "Hansi" as my new name
Then I can see my new name "Hansi" when I click on my profile picture in the top right
When I refresh the page
Then I can see my new name "Hansi" when I click on my profile picture in the top right
Then I save "Peter Lustig" as my new name
Scenario Outline: I set my location to "<location>"
When I save "<location>" as my location
And I visit the "profile/peter-lustig" page
Then I can see "<location>" as my location
Examples: Location
| location | type |
| Paris | City |
| Mecklenburg-Vorpommern | Region |
| Germany | Country |
Scenario: I write about me
When I save "Some text about me" to about me
And I visit the "profile/peter-lustig" page
Then I can see a "Some text about me" as my about me