Files
2015-02-24 17:56:06 +01:00

31 lines
1.2 KiB
Gherkin

Feature: Manage settings
@javascript
Scenario: Changing the name
Given there is a confirmed and open supplier
And I am signed in as supplier
When I visit the supplier settings path
And the supplier changes the name to "Test8" in the settings page
And the supplier submits the supplier settings form
Then the supplier should be redirected to the root path
When the supplier opens the side menu
Then the supplier name in the side menu should be "Test8"
@javascript
Scenario: Changing the supplier email
Given there is a confirmed and open supplier
And I am signed in as supplier
When I visit the supplier settings path
And I provide a new supplier email address
And the supplier submits the supplier settings form
Then the supplier email is the new email
@javascript @broken
Scenario: Setting the timezone
Given there is a confirmed and open supplier
And I am signed in as supplier
When I visit the supplier settings path
And the supplier selects "(GMT-03:00) Buenos Aires" as Time Zone
And the supplier submits the supplier settings form
Then the supplier timezone should be "Buenos Aires"