Added: And I am on the "settings" page on given

This commit is contained in:
Grzegorz Leoniec 2019-01-08 18:24:48 +01:00
parent bd502da17b
commit c563d7ccc1
No known key found for this signature in database
GPG Key ID: 3AA43686D4EB1377

View File

@ -8,9 +8,9 @@ Feature: About me and and location
Background: Background:
Given I am logged in Given I am logged in
And I am on the "settings" page
Scenario: I change my name Scenario: I change my name
When I visit the "settings" page
And I enter "Hansi" as my name And I enter "Hansi" as my name
And I press "Save" And I press "Save"
And I can click on my profile picture in the top right corner And I can click on my profile picture in the top right corner
@ -25,8 +25,7 @@ Feature: About me and and location
And I press "Save" And I press "Save"
Scenario Outline: I set my location to "<location>" Scenario Outline: I set my location to "<location>"
When I visit the "settings" page When I enter "<location>" as my location
And I enter "<location>" as my location
And I press "Save" And I press "Save"
And I visit the "profile/peter-lustig" page And I visit the "profile/peter-lustig" page
Then I can see a "<location>" as my location Then I can see a "<location>" as my location
@ -39,8 +38,7 @@ Feature: About me and and location
| Mecklenburg-Vorpommern | | Mecklenburg-Vorpommern |
Scenario: I write about me Scenario: I write about me
When I visit the "settings" page When I enter "Some text about me" to about me
And I enter "Some text about me" to about me
And I press "Save" And I press "Save"
And I visit the "profile/peter-lustig" page And I visit the "profile/peter-lustig" page
Then I can see a "Some text about me" as my about me Then I can see a "Some text about me" as my about me