[Behat] [DX] Unify behat features

This commit is contained in:
Łukasz Chruściel 2016-03-03 14:04:51 +01:00
parent c42d7873d5
commit 311c8fee32
9 changed files with 6 additions and 5 deletions

View file

@ -1,6 +1,6 @@
@order
Feature: Deleting an order
In order to get rid of test and bad orders
In order to to remove test, obsolete or incorrect orders
As an Administrator
I want to be able to delete an order with all it's details from the registry

View file

@ -1,8 +1,8 @@
@product
Feature: Deleting a product variant
In order to remove test or incorrect product variants
In order to remove test, obsolete or incorrect product variants
As an Administrator
I want to be able to delete product variant from the registry
I want to be able to delete product variant from the product catalog
Background:
Given the store operates on a single channel in "France"

View file

@ -6,6 +6,7 @@ Feature: Deleting a tax category
Background:
Given the store has "Alcohol" tax category with code "alcohol"
And I am logged in as administrator
@todo
Scenario: Deleted tax category should disappear from the registry

View file

@ -5,8 +5,8 @@ Feature: Tax category unique code validation
I want to be prevented from adding two tax categories with same code
Background:
Given I am logged in as an administrator
And the store has "Alcoholic Drinks" tax category with code "alcohol"
Given the store has "Alcoholic Drinks" tax category with code "alcohol"
And I am logged in as an administrator
@todo
Scenario: Trying to add tax category with taken code