Sylius / CustomerReorderPlugin

Plugin that allows customers to reorder previously placed order.
20 stars 25 forks source link

I want to be informed when none of order items is available #16

Closed bartoszpietrzak1994 closed 6 years ago

bartoszpietrzak1994 commented 6 years ago
Scenario: Reordering previously placed order when every item is out of stock
    Given the product "Angel T-Shirt" is out of stock
    Given the product "Awesome Mug" is out of stock
    When I browse my orders
    And I click reorder button next to the order "#00000666"
    Then I should not proceed to my cart summary page
    And I should be notified that none of items from previously placed order is available
    And I should see exactly 1 notification

Scenario fulfilled.