mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-05 20:57:12 +00:00
18 lines
840 B
Gherkin
18 lines
840 B
Gherkin
@managing_customers
|
|
Feature: Changing an email of an existing customer
|
|
In order to be able to help a customer when he wants to change his email
|
|
As an Administrator
|
|
I want to be able to edit the customer's email
|
|
|
|
Background:
|
|
Given the store operates on a single channel in "United States"
|
|
And there is a customer "Frodo Baggins" with an email "f.baggins@example.com" and a password "ring"
|
|
And I am logged in as an administrator
|
|
|
|
@api @ui
|
|
Scenario: Changing an email of an existing customer
|
|
When I want to edit this customer
|
|
And I change their email to "strawberry@example.com"
|
|
And I save my changes
|
|
Then I should be notified that it has been successfully edited
|
|
And the customer should be able to log in as "strawberry@example.com" with "ring" password
|