You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a registered user
When I visit an order's show page
If the order is still "pending", I see a button or link to cancel the order
When I click the cancel button for an order, the following happens:
- Each row in the "order items" table is given a status of "unfulfilled"
- The order itself is given a status of "cancelled"
- Any item quantities in the order that were previously fulfilled have their quantities returned to their respective merchant's inventory for that item.
- I am returned to my profile page
- I see a flash message telling me the order is now cancelled
- And I see that this order now has an updated status of "cancelled"
DO THESE STORIES FIRST:
User Story 17, User Profile Show Page
User Story 29, User views an Order Show Page
Checklist:
base tests are written
base code is written to pass tests
edge case ("sad path") tests written (if required)
DO THESE STORIES FIRST:
Checklist:
child of #241
child of #274
depends on #252
depends on #238
The text was updated successfully, but these errors were encountered: