@checkout
Feature: Checking out as guest with a registered email
    In order to make the checkout process less cumbersome
    As a Guest
    I want to be able to checkout with my email although I have a registered account

    Background:
        Given the store operates on a single channel in "United States"
        And the store has a product "PHP T-Shirt" priced at "$19.99"
        And the store ships everywhere for free
        And the store allows paying offline
        And there is a customer account "john@example.com"

    @ui
    Scenario: Successfully placing an order
        Given I have product "PHP T-Shirt" in the cart
        When I complete addressing step with email "john@example.com" and "United States" based shipping address
        And I select "Free" shipping method
        And I complete the shipping step
        And I choose "Offline" payment method
        And I confirm my order
        Then I should see the thank you page

@checkout
Feature: Checking out as guest with a registered email
    In order to make the checkout process less cumbersome
    As a Visitor
    I want to be able to checkout with my email although I have a registered account

    Background:
        Given the store operates on a single channel in "United States"
        And the store has a product "PHP T-Shirt" priced at "$19.99"
        And the store ships everywhere for free
        And the store allows paying offline
        And there is a customer account "john@example.com"

    @ui
    Scenario: Successfully placing an order
        Given I have product "PHP T-Shirt" in the cart
        When I complete addressing step with email "john@example.com" and "United States" based shipping address
        And I select "Free" shipping method
        And I complete the shipping step
        And I choose "Offline" payment method
        And I confirm my order
        Then I should see the thank you page

Correct the stakeholder in the feature to comply with other features
Correct the stakeholder in the feature to comply with other features
