[Behat] Enable all hybrid checkout scenarios except one

This commit is contained in:
Rafikooo 2024-07-23 12:29:16 +02:00
parent bb0bc58ce1
commit 100c79e501
No known key found for this signature in database
GPG key ID: 4A26D8327BC2442B
5 changed files with 8 additions and 8 deletions

View file

@ -13,7 +13,7 @@ Feature: Leaving additional request notes on my order during checkout
And there is a customer account "customer@example.com" identified by "sylius"
And I am logged in as "customer@example.com"
@todo @ui @api
@api @ui
Scenario: Adding note on the checkout summary step
Given I have product "PHP T-Shirt" in the cart
And I specified the billing address as "Ankh Morpork", "Frost Alley", "90210", "United States" for "Jon Snow"

View file

@ -16,7 +16,7 @@ Feature: Placing an order on a single channel store
And there is a customer account "customer@example.com" identified by "sylius"
And I am logged in as "customer@example.com"
@todo @ui
@api @ui
Scenario: Placing an order in a channels base currency
Given I have product "PHP T-Shirt" in the cart
And I specified the billing address as "Ankh Morpork", "Frost Alley", "90210", "United States" for "Jon Snow"
@ -24,7 +24,7 @@ Feature: Placing an order on a single channel store
And I confirm my order
Then the administrator should see that order placed by "customer@example.com" has "USD" currency
@todo @ui @no-api
@no-api @ui
Scenario: Placing an order in a channels base currency displaying prices in other currency
Given that channel also allows to shop using the "CAD" currency
And I had product "PHP T-Shirt" in the cart

View file

@ -17,7 +17,7 @@ Feature: Placing an order on multiple channels with different currency
And there is a customer account "customer@example.com" identified by "sylius"
And I am logged in as "customer@example.com"
@todo @ui @api
@api @ui
Scenario: Placing an order in a channels base currency
Given I changed my current channel to "United States"
And I have product "PHP T-Shirt" in the cart
@ -26,7 +26,7 @@ Feature: Placing an order on multiple channels with different currency
And I confirm my order
Then the administrator should see that order placed by "customer@example.com" has "USD" currency
@todo @ui @api
@api @ui
Scenario: Placing an order on a different channel with same currency
Given I changed my current channel to "Colombia"
And I had product "PHP T-Shirt" in the cart

View file

@ -17,7 +17,7 @@ Feature: Placing an order on multiple channels with same currency
And there is a customer account "customer@example.com" identified by "sylius"
And I am logged in as "customer@example.com"
@todo @ui
@api @ui
Scenario: Placing an order in a channels base currency
Given I changed my current channel to "Web"
And I have product "PHP T-Shirt" in the cart
@ -26,7 +26,7 @@ Feature: Placing an order on multiple channels with same currency
And I confirm my order
Then the administrator should see that order placed by "customer@example.com" has "USD" currency
@todo @ui
@api @ui
Scenario: Placing an order on a different channel with same currency
Given I changed my current channel to "Mobile"
And I had product "PHP T-Shirt" in the cart

View file

@ -393,7 +393,7 @@ class ShowPage extends SymfonyPage implements ShowPageInterface
return array_merge(parent::getDefinedElements(), [
'billing_address' => '[data-test-billing-address]',
'cancel_order' => '[data-test-cancel-order]',
'currency' => '#sylius-order-currency',
'currency' => '[data-test-currency]',
'customer_email' => '[data-test-customer] [data-test-email]',
'ip_address' => '#ipAddress',
'item' => '[data-test-item="%name%"]',