[Behat] Unify saving step naming

This commit is contained in:
Rafikooo 2023-03-16 16:44:05 +01:00
parent e5f67c59dd
commit 3e1e1df2a8
No known key found for this signature in database
GPG key ID: 4A26D8327BC2442B
3 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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

View file

@ -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()
{