Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions features/checkout/prevent_skipping_checkout_steps.feature
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ Feature: Prevent skipping checkout steps
And the store allows paying offline
And I am a logged in customer

@ui @api
@ui @no-api
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should consider adding this tag also for other scenarios from this file?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we decided to revert this logic: #12153 then lets revert it with this part as well: https://github.com/Sylius/Sylius/pull/12153/files#diff-d5707a6baca117e8c5e52ea5057c00ab5521dc180c2177fe73c5779ec63a666cR284-R294

Extracting to separate method can stay

Scenario: Skipping shipping checkout 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"
When I want to complete checkout
Then I should be on the checkout shipping step

@ui
@ui @no-api
Scenario: Skipping payment checkout 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"
Expand All @@ -30,30 +30,30 @@ Feature: Prevent skipping checkout steps
When I want to complete checkout
Then I should be on the checkout payment step

@ui
@ui @no-api
Scenario: Skipping addressing checkout step
Given I have product "PHP T-Shirt" in the cart
And I am at the checkout addressing step
When I want to complete checkout
Then I should be on the checkout addressing step

@ui
@ui @no-api
Scenario: Skipping addressing checkout step when order total is zero
Given I have product "PHP T-Shirt" in the cart
And I have product "Paganini T-Shirt" in the cart
And I am at the checkout addressing step
When I want to complete checkout
Then I should be on the checkout addressing step

@ui
@ui @no-api
Scenario: Not being able to skip the checkout shipping selection step when order total is zero
Given I have product "PHP T-Shirt" in the cart
And I have product "Paganini T-Shirt" in the cart
And I specified the billing address as "Ankh Morpork", "Frost Alley", "90210", "United States" for "Jon Snow"
When I want to complete checkout
Then I should be on the checkout shipping step

@ui
@ui @no-api
Scenario: Not being able go to payment checkout step when order total is zero and payments not exists
Given I have product "PHP T-Shirt" in the cart
And I have product "Paganini T-Shirt" in the cart
Expand Down