<commit_before>@shopping_cart
Feature: Removing cart item from cart
    In order to delete some unnecessary cart items
    As a Visitor
    I want to be able to remove cart item

    Background:
        Given the store operates on a single channel in "United States"
        And the store has a product "T-shirt banana" priced at "$12.54"
        And I add this product to the cart

    @ui
    Scenario: Removing cart item
        Given I see the summary of my cart
        When I remove product "T-shirt banana" from the cart
        Then my cart should be empty<commit_msg>[Cart] Update scenarios for removing cart item<commit_after>@shopping_cart
Feature: Removing cart item from cart
    In order to delete some unnecessary cart items
    As a Visitor
    I want to be able to remove cart item

    Background:
        Given the store operates on a single channel in "United States"
        And the store has a product "T-shirt banana" priced at "$12.54"
        And I add this product to the cart

    @ui
    Scenario: Removing cart item
        Given I add this product to the cart
        When I see the summary of my cart
        And I remove product "T-shirt banana" from the cart
        Then my cart should be empty
        And my cart's total should be "$0.00"

    @ui
    Scenario: Removing cart item when the store has defined default shipping method
        Given the store has "UPS" shipping method with "$20.00" fee
        And I add this product to the cart
        When I see the summary of my cart
        And I remove product "T-shirt banana" from the cart
        Then my cart should be empty
        And my cart's total should be "$0.00"

    @ui
    Scenario: Checking cart's total after removing one item
        Given I add this product to the cart
        And the store has a product "T-shirt strawberry" priced at "$17.22"
        And I add this product to the cart
        When I see the summary of my cart
        And I remove product "T-shirt banana" from the cart
        And my cart's total should be "$17.22"
{'fraction_non_alphanumeric': 0.03960880195599022, 'fraction_numerical': 0.012713936430317848, 'mean_word_length': 2.381818181818182, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7585570', 'n_tokens_mistral': 550, 'n_tokens_neox': 519, 'n_words': 313}