26 lines
1.2 KiB
Gherkin
26 lines
1.2 KiB
Gherkin
Feature: Manage settings
|
|
|
|
@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 should see a settings saved message
|
|
Then the supplier email should not have been changed
|
|
And the supplier unconfirmed email should have been set to the new supplier email
|
|
And an email should have been sent to the original supplier email with email confirmation instructions
|
|
When the supplier clicks on the new email confirmation link
|
|
Then the supplier gets redirected to the supplier settings path
|
|
And the supplier email is the new email and the unconfirmed email is empty
|
|
|
|
@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"
|