mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 09:02:12 +00:00
[Behat] Unify saving step naming
This commit is contained in:
parent
e5f67c59dd
commit
3e1e1df2a8
3 changed files with 4 additions and 4 deletions
|
|
@ -13,6 +13,6 @@ Feature: Province unique code validation
|
|||
Scenario: Trying to add a new province with taken code
|
||||
When I want to edit this country
|
||||
And I add the "Scotland" province with "GB-NIR" code
|
||||
And I try to save changes
|
||||
And I try to save my changes
|
||||
Then I should be notified that province code must be unique
|
||||
And province with name "Scotland" should not be added in this country
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ Feature: Province validation
|
|||
When I want to create a new province in country "United Kingdom"
|
||||
And I name the province "Scotland"
|
||||
But I do not specify the province code
|
||||
And I try to save changes
|
||||
And I try to save my changes
|
||||
Then I should be notified that code is required
|
||||
And province with name "Scotland" should not be added in this country
|
||||
|
||||
|
|
@ -22,7 +22,7 @@ Feature: Province validation
|
|||
When I want to create a new province in country "United Kingdom"
|
||||
And I specify the province code as "GB-SCT"
|
||||
But I do not name the province
|
||||
And I try to save changes
|
||||
And I try to save my changes
|
||||
Then I should be notified that name is required
|
||||
And province with code "GB-SCT" should not be added in this country
|
||||
|
||||
|
|
|
|||
|
|
@ -98,7 +98,7 @@ final class ManagingCountriesContext implements Context
|
|||
|
||||
/**
|
||||
* @When I save my changes
|
||||
* @When I try to save changes
|
||||
* @When I try to save my changes
|
||||
*/
|
||||
public function iSaveMyChanges()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue