Sylius/features/admin/user/managing_customers/customer_unique_email_validation.feature
Kamil Grygierzec e3c70fc232 Enable tests
2024-07-03 11:53:08 +02:00

17 lines
693 B
Gherkin

@managing_customers
Feature: Customer uniqueness of email validation
In order to uniquely identify customer
As an Administrator
I want to be prevented from adding two customers with the same email
Background:
Given I am logged in as an administrator
@api @ui
Scenario: Trying to add a new customer with taken email
Given the store has customer "f.baggins@example.com"
When I want to create a new customer
And I specify their email as "f.baggins@example.com"
And I try to add them
Then I should be notified that email must be unique
And there should still be only one customer with email "f.baggins@example.com"