mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 09:02:12 +00:00
[API] Add missing api and no-api tags
This commit is contained in:
parent
a47ce4a178
commit
e4265fb3ae
10 changed files with 17 additions and 17 deletions
|
|
@ -4,7 +4,7 @@ Feature: Redirect when already signed in
|
|||
As a Customer
|
||||
I want to be redirected to account panel dashboard when accessing the login page
|
||||
|
||||
@ui
|
||||
@ui @no-api
|
||||
Scenario: Trying to access login page as logged in user
|
||||
Given the store operates on a single channel in "United States"
|
||||
And there is a customer "Francis Underwood" identified by an email "francis@underwood.com" and a password "whitehouse"
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ Feature: Order is always placed in a base currency of a channel
|
|||
And the store has a product "Angel T-Shirt" priced at "$20.00"
|
||||
And I am a logged in customer
|
||||
|
||||
@ui
|
||||
@ui @no-api
|
||||
Scenario: Placing an order with other than base display currency
|
||||
Given I changed my currency to "GBP"
|
||||
And I had product "Angel T-Shirt" in the cart
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ Feature: Resetting a password from my personal Password Manager
|
|||
As a Visitor
|
||||
I need to be able to reset my password using my password manager
|
||||
|
||||
@ui
|
||||
@ui @no-api
|
||||
Scenario: Getting redirected to the forgotten password page
|
||||
Given the store operates on a single channel in "United States"
|
||||
When I want to reset password from my password manager
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ Feature: Changing display currency of the cart
|
|||
And the store has a product "The Pug Mug" priced at "$10.00"
|
||||
And it belongs to "Mugs" tax category
|
||||
|
||||
@ui
|
||||
@ui @no-api
|
||||
Scenario: Changing the currency of my cart
|
||||
Given I have product "The Pug Mug" in the cart
|
||||
When I switch to the "GBP" currency
|
||||
|
|
|
|||
|
|
@ -10,14 +10,14 @@ Feature: Currency rounding edge case
|
|||
When the exchange rate of "US Dollar" to "Euro" is 0.9737
|
||||
And the store has a product "The Pug Mug" priced at "$7.00"
|
||||
|
||||
@ui
|
||||
@ui @no-api
|
||||
Scenario: Changing the currency of my cart
|
||||
Given I have product "The Pug Mug" in the cart
|
||||
When I switch to the "EUR" currency
|
||||
Then the grand total value should be "€6.82"
|
||||
And the grand total value in base currency should be "$7.00"
|
||||
|
||||
@ui
|
||||
@ui @no-api
|
||||
Scenario: Changing the currency of my cart
|
||||
Given I have added 2 products "The Pug Mug" to the cart
|
||||
When I switch to the "EUR" currency
|
||||
|
|
|
|||
|
|
@ -12,13 +12,13 @@ Feature: Having proper product image displayed in the cart
|
|||
And this product has an image "lamborghini.jpg" with "main" type
|
||||
And this product has an image "ford.jpg" with "main" type for "Medium logo" variant
|
||||
|
||||
@ui
|
||||
@ui @no-api
|
||||
Scenario: Having a variant's image displayed in the cart
|
||||
When I add "Medium logo" variant of this product to the cart
|
||||
Then I should be on my cart summary page
|
||||
And 1st item in my cart should have "ford.jpg" image displayed
|
||||
|
||||
@ui
|
||||
@ui @no-api
|
||||
Scenario: Having a product's image displayed in the cart if variant does not have one
|
||||
When I add "Small logo" variant of this product to the cart
|
||||
Then I should be on my cart summary page
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ Feature: Applying promotion coupon
|
|||
And the store has promotion "Christmas sale" with coupon "SANTA2016"
|
||||
And this promotion gives "$10.00" discount to every order
|
||||
|
||||
@ui
|
||||
@ui @api
|
||||
Scenario: Receiving fixed discount for my cart
|
||||
When I add product "PHP T-Shirt" to the cart
|
||||
And I use coupon with code "SANTA2016"
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ Feature: Applying promotion coupon
|
|||
And the store has promotion "Christmas sale" with coupon "SANTA2016"
|
||||
And this promotion gives "100%" discount to every order
|
||||
|
||||
@ui
|
||||
@ui @api
|
||||
Scenario: Receiving full percentage discount for my cart
|
||||
When I add product "PHP T-Shirt" to the cart
|
||||
And I use coupon with code "SANTA2016"
|
||||
|
|
|
|||
|
|
@ -15,14 +15,14 @@ Feature: Applying promotion coupon with per customer usage limit
|
|||
And the store allows paying "Cash on Delivery"
|
||||
And I am a logged in customer
|
||||
|
||||
@ui
|
||||
@ui @api
|
||||
Scenario: Receiving discount from valid coupon with a per customer usage limit as a logged in customer
|
||||
When I add product "PHP T-Shirt" to the cart
|
||||
And I use coupon with code "SANTA2016"
|
||||
Then my cart total should be "$90.00"
|
||||
And my discount should be "-$10.00"
|
||||
|
||||
@ui
|
||||
@ui @api
|
||||
Scenario: Receiving discount from valid coupon with a per customer usage limit as a logged in customer
|
||||
Given I placed an order "#00000022"
|
||||
And I bought a "PHP T-Shirt" and a "PHP Socks"
|
||||
|
|
@ -45,7 +45,7 @@ Feature: Applying promotion coupon with per customer usage limit
|
|||
And my cart total should be "$100.00"
|
||||
And there should be no discount
|
||||
|
||||
@ui
|
||||
@ui @api
|
||||
Scenario: Cancelled orders do not affect per customer usage limit by default
|
||||
Given this coupon can be used once per customer
|
||||
And I placed an order "#00000022"
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ Feature: Applying promotion coupon with usage limit
|
|||
And the store allows paying "Cash on Delivery"
|
||||
And I am a logged in customer
|
||||
|
||||
@ui
|
||||
@ui @api
|
||||
Scenario: Receiving discount from valid coupon with a usage limit
|
||||
Given this coupon can be used 5 times
|
||||
When I add product "PHP T-Shirt" to the cart
|
||||
|
|
@ -21,7 +21,7 @@ Feature: Applying promotion coupon with usage limit
|
|||
Then my cart total should be "$90.00"
|
||||
And my discount should be "-$10.00"
|
||||
|
||||
@ui
|
||||
@ui @api
|
||||
Scenario: Receiving no discount from valid coupon that has reached its usage limit
|
||||
Given this coupon has already reached its usage limit
|
||||
When I add product "PHP T-Shirt" to the cart
|
||||
|
|
@ -30,7 +30,7 @@ Feature: Applying promotion coupon with usage limit
|
|||
And my cart total should be "$100.00"
|
||||
And there should be no discount
|
||||
|
||||
@ui
|
||||
@ui @api
|
||||
Scenario: Cancelled orders do not affect the usage limit by default
|
||||
Given this coupon can be used once
|
||||
And I placed an order "#00000022"
|
||||
|
|
@ -42,7 +42,7 @@ Feature: Applying promotion coupon with usage limit
|
|||
Then my cart total should be "$90.00"
|
||||
And my discount should be "-$10.00"
|
||||
|
||||
@ui
|
||||
@ui @api
|
||||
Scenario: Cancelled orders affect usage limit
|
||||
Given this coupon is set as non reusable after cancelling the order in which it has been used
|
||||
And this coupon can be used once
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue