Skip to content

Commit

Permalink
minor Sylius#13305 [Behat] Skip ui based checkout steps in api covera…
Browse files Browse the repository at this point in the history
…ge (lchrusciel)

This PR was merged into the 1.11-dev branch.

Discussion
----------

| Q               | A
| --------------- | -----
| Branch?         | master
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | 
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.9 or 1.10 branch (the lowest possible)
 - Features and deprecations must be submitted against the master branch
 - Make sure that the correct base branch is set

 To be sure you are not breaking any Backward Compatibilities, check the documentation:
 https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->


Commits
-------

2185e74 [Behat] Skip ui based checkout steps in api coverage
  • Loading branch information
Zales0123 authored Nov 26, 2021
2 parents 19729ab + 2185e74 commit c01dfc4
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Feature: Changing address during checkout
And the store has a product "T-shirt banana" priced at "$12.54"
And the store ships everywhere for free

@ui
@ui @no-api
Scenario: Going back to addressing step with and changing email
Given I have product "T-shirt banana" in the cart
And I am at the checkout addressing step
Expand Down
12 changes: 6 additions & 6 deletions features/checkout/being_able_to_modify_remaining_steps.feature
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Feature: Changing checkout steps
And the store allows paying "PayPal Express Checkout"
And I am a logged in customer

@ui
@ui @no-api
Scenario: Changing address of my order
Given I had 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 @@ -22,7 +22,7 @@ Feature: Changing checkout steps
And I complete the addressing step
Then I should be on the checkout shipping step

@ui
@ui @no-api
Scenario: Addressing my order after selecting payment method
Given I had 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 @@ -32,7 +32,7 @@ Feature: Changing checkout steps
And I complete the addressing step
Then I should be on the checkout shipping step

@ui
@ui @no-api
Scenario: Addressing my order after selecting shipping method
Given I had 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 @@ -42,7 +42,7 @@ Feature: Changing checkout steps
And I complete the addressing step
Then I should be on the checkout shipping step

@ui
@ui @no-api
Scenario: Changing shipping method of my order
Given I had 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 @@ -52,7 +52,7 @@ Feature: Changing checkout steps
And I complete the shipping step
Then I should be on the checkout payment step

@ui
@ui @no-api
Scenario: Selecting shipping method after selecting payment method
Given I had 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 @@ -62,7 +62,7 @@ Feature: Changing checkout steps
And I complete the shipping step
Then I should be on the checkout payment step

@ui
@ui @no-api
Scenario: Selecting payment method after complete checkout
Given I had 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 Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Feature: Preventing starting checkout with an empty cart
And the store has a product "PHP T-Shirt"
And I am a logged in customer

@ui
@ui @no-api
Scenario: Being unable to start checkout addressing step with an empty cart
When I try to open checkout addressing page
Then I should be redirected to my cart summary page
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ Feature: Returning from shipping step to addressing step
And the store ships everywhere for free
And I am a logged in customer

@ui
@ui @no-api
Scenario: Going back to addressing step with button
Given I have product "Apollo 11 T-Shirt" in the cart
And I specified the billing address as "Ankh Morpork", "Frost Alley", "90210", "United States" for "Jon Snow"
And I decide to change my address
Then I should be redirected to the addressing step
And I should be able to go to the shipping step again

@ui
@ui @no-api
Scenario: Going back to the addressing step with steps panel
Given I have product "Apollo 11 T-Shirt" in the cart
And I specified the billing address as "Ankh Morpork", "Frost Alley", "90210", "United States" for "Jon Snow"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Feature: Skipping shipping and payment step when order does not require any ship
And the promotion gives "$40.00" discount to every order with quantity at least 1
And I am a logged in customer

@ui
@ui @no-api
Scenario: Seeing order summary page after addressing if none of order items require shipping and order total is zero
Given I have "Guards! Guards! - ebook" variant of product "Guards! Guards!" in the cart
And I am at the checkout addressing step
Expand Down

0 comments on commit c01dfc4

Please sign in to comment.