Replace @javascript tag with @mink:chromedriver in cart features

This commit is contained in:
Rafikooo 2025-11-30 15:07:51 +01:00
parent ed16d2e369
commit 8046f08c15
No known key found for this signature in database
GPG key ID: 4A26D8327BC2442B
13 changed files with 20 additions and 20 deletions

View file

@ -15,7 +15,7 @@ Feature: Adding a simple product of given quantity to the cart
When I check the details of my cart
And I should see "T-Shirt banana" with quantity 5 in my cart
@api @ui @javascript
@api @ui @mink:chromedriver
Scenario: Adding way too many products sets their quantity to 9999
Given there are 100000 units of product "T-Shirt banana" available in the inventory
When I try to add 20000 products "T-Shirt banana" to the cart

View file

@ -9,14 +9,14 @@ Feature: Clearing cart
And the store has a product "T-Shirt banana" priced at "$12.54"
And I am a logged in customer
@api @ui @javascript
@api @ui @mink:chromedriver
Scenario: Clearing cart
Given I added product "T-Shirt banana" to the cart
When I check the details of my cart
And I clear my cart
Then my cart should be cleared
@api @ui @javascript
@api @ui @mink:chromedriver
Scenario: Clearing cart after adding an address in checkout
Given I added product "T-Shirt banana" to the cart
And I have specified the billing address as "Ankh Morpork", "Frost Alley", "90210", "United States" for "Jon Snow"

View file

@ -9,7 +9,7 @@ Feature: Continuing to process the cart picked up in the web store, in the API
And the store has a product "Apple's Polishing Cloth"
And I am a logged in customer on the web store and in the API
@hybrid @javascript
@hybrid @mink:chromedriver
Scenario: Picking up the shopping cart on the web store and resuming it using API
When I add "Apple's Polishing Cloth" to the cart on the web store
And I check items in my cart using API

View file

@ -9,7 +9,7 @@ Feature: Adding a simple product to the cart
And the store has a product "Sylius T-Shirt"
And the store ships everywhere for free
@api @ui @javascript
@api @ui @mink:chromedriver
Scenario: Adding a simple product to the cart
When I add product "Sylius T-Shirt" to the cart
Then I should be on my cart summary page

View file

@ -10,7 +10,7 @@ Feature: Adding a product with selected option to the cart
And this product has option "Size" with values "S" and "M"
And this product has all possible variants
@api @ui @javascript
@api @ui @mink:chromedriver
Scenario: Adding a product with single option to the cart
When I add "T-Shirt banana" with Size "M" to the cart
Then I should be on my cart summary page

View file

@ -7,7 +7,7 @@ Feature: Adding a product with selected variant to the cart
Background:
Given the store operates on a single channel in "United States"
@api @ui @javascript
@api @ui @mink:chromedriver
Scenario: Adding a product with multiple variants to the cart
Given the store has a product "T-Shirt banana"
And this product has "Small logo" variant priced at "$12.35"
@ -20,7 +20,7 @@ Feature: Adding a product with selected variant to the cart
And this item should have variant "Small logo"
And this item should have code "SMALL_LOGO"
@no-api @ui @javascript
@no-api @ui @mink:chromedriver
Scenario: Adding a product with multiple nameless variants to the cart
Given the store has a "T-shirt banana" configurable product
And this product has a nameless variant with code "banana-s"

View file

@ -9,7 +9,7 @@ Feature: Changing quantity of a product in cart
And the store has a product "T-Shirt banana" priced at "$12.54"
And I am a logged in customer
@api @ui @javascript
@api @ui @mink:chromedriver
Scenario: Increasing quantity of an item in cart
Given I added product "T-Shirt banana" to the cart
When I see the summary of my cart
@ -17,7 +17,7 @@ Feature: Changing quantity of a product in cart
Then I should see "T-Shirt banana" with quantity 2 in my cart
And my cart items total should be "$25.08"
@api @ui @javascript
@api @ui @mink:chromedriver
Scenario: Increasing quantity of an item in cart beyond the threshold
Given I added product "T-Shirt banana" to the cart
When I see the summary of my cart

View file

@ -15,7 +15,7 @@ Feature: Adding a product to cart with prices dependent on a channel
And this product is also priced at "£15.00" in "Web-GB" channel
And I am a logged in customer
@no-api @ui @javascript
@no-api @ui @mink:chromedriver
Scenario: Buying a product with proper price after currency change
Given I changed my current channel to "Web-EU"
And the exchange rate of "Euro" to "British Pound" is 0.7

View file

@ -10,7 +10,7 @@ Feature: Verify Add-to-Cart Button State Validation
And "Sylius T-Shirt" product is tracked by the inventory
And there are 2 units of product "Sylius T-Shirt" available in the inventory
@no-api @ui @javascript
@no-api @ui @mink:chromedriver
Scenario: "Add to cart" button is disabled when requested quantity exceeds stock
When I view product "Sylius T-Shirt"
And I update the quantity of this product to 3

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 at position 0
And this product has an image "ford.jpg" with "main" type at position 1 for "Medium logo" variant
@no-api @ui @javascript
@no-api @ui @mink:chromedriver
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
@no-api @ui @javascript
@no-api @ui @mink:chromedriver
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

View file

@ -10,7 +10,7 @@ Feature: Maintaining cart after authorization
And the store has a product "Stark T-Shirt" priced at "$12.00"
And there is a user "robb@stark.com" identified by "KingInTheNorth"
@api @ui @javascript
@api @ui @mink:chromedriver
Scenario: Having cart maintained after logging in
When I add "Stark T-Shirt" product to the cart
And I log in as "robb@stark.com" with "KingInTheNorth" password
@ -52,7 +52,7 @@ Feature: Maintaining cart after authorization
Then there should be one item in my cart
And this item should have name "Stark T-Shirt"
@api @ui @javascript
@api @ui @mink:chromedriver
Scenario: Having cart maintained after registration
When I add product "Stark T-Shirt" to the cart
And I register with email "eddard@stak.com" and password "handOfTheKing"

View file

@ -29,7 +29,7 @@ Feature: Viewing a cart summary in many channels
Then there should be one item in my cart
And this item should have name "Onion"
@no-api @ui @javascript
@no-api @ui @mink:chromedriver
Scenario: Viewing item in cart after switching channels when product was added in every channel
Given I changed my current channel to "Poland"
And I added product "Onion" to the cart

View file

@ -10,17 +10,17 @@ Feature: Viewing a total quantity of the cart
And the store has a product "Sylius T-Shirt"
And the store has a product "Symfony T-Shirt"
@no-api @ui @javascript
@no-api @ui @mink:chromedriver
Scenario: Viewing a total quantity for 1 product with quantity equals 1
When I add product "PHP T-Shirt" to the cart
Then I should see cart total quantity is 1
@no-api @ui @javascript
@no-api @ui @mink:chromedriver
Scenario: Viewing a total quantity for 1 product with quantity equals 2
When I add 2 products "PHP T-Shirt" to the cart
Then I should see cart total quantity is 2
@no-api @ui @javascript
@no-api @ui @mink:chromedriver
Scenario: Viewing a total quantity for 3 products with various quantities
When I add 2 products "PHP T-Shirt" to the cart
And I add 3 products "Sylius T-Shirt" to the cart