[API] Add missing api and no-api tags

This commit is contained in:
Łukasz Chruściel 2021-02-02 16:59:38 +01:00
parent a47ce4a178
commit e4265fb3ae
No known key found for this signature in database
GPG key ID: 049A1D51AA3B039C
10 changed files with 17 additions and 17 deletions

View file

@ -4,7 +4,7 @@ Feature: Redirect when already signed in
As a Customer As a Customer
I want to be redirected to account panel dashboard when accessing the login page 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 Scenario: Trying to access login page as logged in user
Given the store operates on a single channel in "United States" 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" And there is a customer "Francis Underwood" identified by an email "francis@underwood.com" and a password "whitehouse"

View file

@ -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 the store has a product "Angel T-Shirt" priced at "$20.00"
And I am a logged in customer And I am a logged in customer
@ui @ui @no-api
Scenario: Placing an order with other than base display currency Scenario: Placing an order with other than base display currency
Given I changed my currency to "GBP" Given I changed my currency to "GBP"
And I had product "Angel T-Shirt" in the cart And I had product "Angel T-Shirt" in the cart

View file

@ -4,7 +4,7 @@ Feature: Resetting a password from my personal Password Manager
As a Visitor As a Visitor
I need to be able to reset my password using my password manager 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 Scenario: Getting redirected to the forgotten password page
Given the store operates on a single channel in "United States" Given the store operates on a single channel in "United States"
When I want to reset password from my password manager When I want to reset password from my password manager

View file

@ -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 the store has a product "The Pug Mug" priced at "$10.00"
And it belongs to "Mugs" tax category And it belongs to "Mugs" tax category
@ui @ui @no-api
Scenario: Changing the currency of my cart Scenario: Changing the currency of my cart
Given I have product "The Pug Mug" in the cart Given I have product "The Pug Mug" in the cart
When I switch to the "GBP" currency When I switch to the "GBP" currency

View file

@ -10,14 +10,14 @@ Feature: Currency rounding edge case
When the exchange rate of "US Dollar" to "Euro" is 0.9737 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" And the store has a product "The Pug Mug" priced at "$7.00"
@ui @ui @no-api
Scenario: Changing the currency of my cart Scenario: Changing the currency of my cart
Given I have product "The Pug Mug" in the cart Given I have product "The Pug Mug" in the cart
When I switch to the "EUR" currency When I switch to the "EUR" currency
Then the grand total value should be "6.82" Then the grand total value should be "6.82"
And the grand total value in base currency should be "$7.00" And the grand total value in base currency should be "$7.00"
@ui @ui @no-api
Scenario: Changing the currency of my cart Scenario: Changing the currency of my cart
Given I have added 2 products "The Pug Mug" to the cart Given I have added 2 products "The Pug Mug" to the cart
When I switch to the "EUR" currency When I switch to the "EUR" currency

View file

@ -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 "lamborghini.jpg" with "main" type
And this product has an image "ford.jpg" with "main" type for "Medium logo" variant 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 Scenario: Having a variant's image displayed in the cart
When I add "Medium logo" variant of this product to the cart When I add "Medium logo" variant of this product to the cart
Then I should be on my cart summary page Then I should be on my cart summary page
And 1st item in my cart should have "ford.jpg" image displayed 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 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 When I add "Small logo" variant of this product to the cart
Then I should be on my cart summary page Then I should be on my cart summary page

View file

@ -10,7 +10,7 @@ Feature: Applying promotion coupon
And the store has promotion "Christmas sale" with coupon "SANTA2016" And the store has promotion "Christmas sale" with coupon "SANTA2016"
And this promotion gives "$10.00" discount to every order And this promotion gives "$10.00" discount to every order
@ui @ui @api
Scenario: Receiving fixed discount for my cart Scenario: Receiving fixed discount for my cart
When I add product "PHP T-Shirt" to the cart When I add product "PHP T-Shirt" to the cart
And I use coupon with code "SANTA2016" And I use coupon with code "SANTA2016"

View file

@ -10,7 +10,7 @@ Feature: Applying promotion coupon
And the store has promotion "Christmas sale" with coupon "SANTA2016" And the store has promotion "Christmas sale" with coupon "SANTA2016"
And this promotion gives "100%" discount to every order And this promotion gives "100%" discount to every order
@ui @ui @api
Scenario: Receiving full percentage discount for my cart Scenario: Receiving full percentage discount for my cart
When I add product "PHP T-Shirt" to the cart When I add product "PHP T-Shirt" to the cart
And I use coupon with code "SANTA2016" And I use coupon with code "SANTA2016"

View file

@ -15,14 +15,14 @@ Feature: Applying promotion coupon with per customer usage limit
And the store allows paying "Cash on Delivery" And the store allows paying "Cash on Delivery"
And I am a logged in customer 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 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 When I add product "PHP T-Shirt" to the cart
And I use coupon with code "SANTA2016" And I use coupon with code "SANTA2016"
Then my cart total should be "$90.00" Then my cart total should be "$90.00"
And my discount should be "-$10.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 Scenario: Receiving discount from valid coupon with a per customer usage limit as a logged in customer
Given I placed an order "#00000022" Given I placed an order "#00000022"
And I bought a "PHP T-Shirt" and a "PHP Socks" 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 my cart total should be "$100.00"
And there should be no discount And there should be no discount
@ui @ui @api
Scenario: Cancelled orders do not affect per customer usage limit by default Scenario: Cancelled orders do not affect per customer usage limit by default
Given this coupon can be used once per customer Given this coupon can be used once per customer
And I placed an order "#00000022" And I placed an order "#00000022"

View file

@ -13,7 +13,7 @@ Feature: Applying promotion coupon with usage limit
And the store allows paying "Cash on Delivery" And the store allows paying "Cash on Delivery"
And I am a logged in customer And I am a logged in customer
@ui @ui @api
Scenario: Receiving discount from valid coupon with a usage limit Scenario: Receiving discount from valid coupon with a usage limit
Given this coupon can be used 5 times Given this coupon can be used 5 times
When I add product "PHP T-Shirt" to the cart 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" Then my cart total should be "$90.00"
And my discount should be "-$10.00" And my discount should be "-$10.00"
@ui @ui @api
Scenario: Receiving no discount from valid coupon that has reached its usage limit Scenario: Receiving no discount from valid coupon that has reached its usage limit
Given this coupon has already reached its usage limit Given this coupon has already reached its usage limit
When I add product "PHP T-Shirt" to the cart 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 my cart total should be "$100.00"
And there should be no discount And there should be no discount
@ui @ui @api
Scenario: Cancelled orders do not affect the usage limit by default Scenario: Cancelled orders do not affect the usage limit by default
Given this coupon can be used once Given this coupon can be used once
And I placed an order "#00000022" 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" Then my cart total should be "$90.00"
And my discount should be "-$10.00" And my discount should be "-$10.00"
@ui @ui @api
Scenario: Cancelled orders affect usage limit Scenario: Cancelled orders affect usage limit
Given this coupon is set as non reusable after cancelling the order in which it has been used 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 And this coupon can be used once