mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 09:02:12 +00:00
[Behat] Reorder promotion API tags (#16644)
| Q | A |-----------------|----- | Branch? | api-platform-3 <!-- see the comment below --> | Bug fix? | no | New feature? | no | BC breaks? | no | License | MIT <!-- - Bug fixes must be submitted against the 1.13 branch - Features and deprecations must be submitted against the 1.14 branch - Features, removing deprecations and BC breaks must be submitted against the 2.0 branch - Make sure that the correct base branch is set To be sure you are not breaking any Backward Compatibilities, check the documentation: https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html -->
This commit is contained in:
commit
546d50f102
6 changed files with 10 additions and 10 deletions
|
|
@ -10,13 +10,13 @@ Feature: Accessing the coupons management from the promotion page
|
|||
And it is a coupon based promotion
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui @no-api
|
||||
@no-api @ui
|
||||
Scenario: Being able to manage promotion's coupons
|
||||
When I modify a "Christmas sale" promotion
|
||||
And I want to manage this promotion coupons
|
||||
Then I should be on this promotion's coupons management page
|
||||
|
||||
@ui @no-api
|
||||
@no-api @ui
|
||||
Scenario: Add new promotion and not being able to manage promotion's coupons
|
||||
When I create a new promotion
|
||||
And I specify its code as "FULL_METAL_PROMOTION"
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ Feature: Adding a new promotion
|
|||
Then I should be notified that it has been successfully created
|
||||
And the "Full metal promotion" promotion should not applies to discounted items
|
||||
|
||||
@ui @mink:chromedriver @no-api
|
||||
@no-api @ui @mink:chromedriver
|
||||
Scenario: Seeing rule and action configuration forms
|
||||
When I want to create a new promotion
|
||||
And I add a new rule
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ Feature: Adding a new promotion with action configured in different channels
|
|||
And the store also operates on another channel named "Web-GB" in "GBP" currency
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui @mink:chromedriver @api
|
||||
@api @ui @mink:chromedriver
|
||||
Scenario: Adding a new promotion with item fixed discount
|
||||
When I want to create a new promotion
|
||||
And I specify its code as "20_for_all_products"
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ Feature: Deleting multiple promotions
|
|||
And there is also a promotion "Easter sale"
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui @mink:chromedriver @no-api
|
||||
@no-api @ui @mink:chromedriver
|
||||
Scenario: Deleting multiple promotions at once
|
||||
When I browse promotions
|
||||
And I check the "Christmas sale" promotion
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ Feature: Seeing correct percentage discounts while editing promotion with action
|
|||
Then I should be notified that it has been successfully edited
|
||||
And it should have "2.56%" of order percentage discount
|
||||
|
||||
@ui @no-api
|
||||
@no-api @ui
|
||||
Scenario: Seeing an accurate percentage amount after using a comma as a decimal separator
|
||||
When I want to modify a "Cheap Stuff" promotion
|
||||
And I edit this promotion percentage action to have "2,56%"
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ Feature: Seeing errors in promotion channel based configuration
|
|||
And there is a promotion "Holiday promotion"
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui @no-api
|
||||
@no-api @ui
|
||||
Scenario: Seeing the number of errors per channel in order fixed discount
|
||||
Given this promotion gives "$10.00" discount to every order in the "Web" channel and "$5.00" discount to every order in the "Mobile" channel
|
||||
When I want to modify a "Holiday promotion" promotion
|
||||
|
|
@ -19,7 +19,7 @@ Feature: Seeing errors in promotion channel based configuration
|
|||
And I try to save my changes
|
||||
And I should see that the action for "Mobile" channel has 1 validation error
|
||||
|
||||
@ui @no-api
|
||||
@no-api @ui
|
||||
Scenario: Seeing the number of errors per channel in product fixed discount
|
||||
Given this promotion gives "$2.00" off on every product in the "Web" channel and "$3.00" off in the "Mobile" channel
|
||||
When I want to modify a "Holiday promotion" promotion
|
||||
|
|
@ -27,7 +27,7 @@ Feature: Seeing errors in promotion channel based configuration
|
|||
And I try to save my changes
|
||||
And I should see that the action for "Mobile" channel has 1 validation error
|
||||
|
||||
@ui @no-api
|
||||
@no-api @ui
|
||||
Scenario: Seeing the number of errors per channel in product percentage discount
|
||||
Given this promotion gives "5%" off on every product in the "Web" channel and "10%" off in the "Mobile" channel
|
||||
When I want to modify a "Holiday promotion" promotion
|
||||
|
|
@ -35,7 +35,7 @@ Feature: Seeing errors in promotion channel based configuration
|
|||
And I try to save my changes
|
||||
And I should see that the action for "Mobile" channel has 1 validation error
|
||||
|
||||
@ui @no-api
|
||||
@no-api @ui
|
||||
Scenario: Seeing the number of errors per channel with rule based on items' total
|
||||
Given this promotion gives "$10.00" discount to every order in the "Web" channel and "$5.00" discount to every order in the "Mobile" channel
|
||||
And this promotion only applies to orders with a total of at least "$100.00" for "Web" channel and "$50.00" for "Mobile" channel
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue