---
# System prepended metadata

title: 'E1AM-197 - See Order Cancel Reason: Supplier Admin'
tags: [SSC, Ecommerce 1, Sprint 20, Sprint 21]

---

# E1AM-197 - See Order Cancel Reason: Supplier Admin

>PRD :
https://docs.google.com/document/d/1GXaB5uit0cbi5-Pgvfga3Bpyv3rHp-93LCMBHajGm7k/edit?pli=1

## Test Scenarios
#### Test Scenario 1
```gherkin
Scenario: As an Admin, I want to cancel an order with reason <A>
    Given the user has logged in to SSC
        And the user is on OMS Page
        And order <A> has 'New Order' status
    When the user clicks 'Action' for order <A>
        And the user clicks 'Cancel'
        And show pop-up input for rejection reason
        And the user input <A> for rejection reason
    Then order <A> cancelled with reason <A>
```

#### Test Scenario 2
```gherkin
Scenario: As an Admin, I should be able to see cancellation reason in Order Detail
    Given the user has logged in to SSC
        And the user is on OMS Page
        And order <A> has cancelled with reason 'Order salah'
    When the user clicks order <A>'s detail
    Then show rejection reason below wording 'Status Order'
```

#### Test Scenario 3
```gherkin
Scenario: As a User, I should be able to get notification for my cancelled order with reason
    Given the user has logged in to Red
    When the admin cancels user's order with reason <A>
    Then the user get notification for the cancelled order with reason
```

#### Test Scenario 4
```gherkin
Scenario: As a User, I should be able to see cancellation reason in Order Detail Page
    Given the user has logged in to Red
        And the admin has cancelled user's order with reason <A>
    When the user clicks 'Pesanan' Page
        And the user clicks order details
    Then show order status as 'Cancel'
        And show cancellation reason below 'Status Order'
```

#### Test Scenario 5
```gherkin
Scenario: As an Admin, I want to approve order
    Given the user has logged in to SSC
        And the user is on OMS Page
    When the user clicks 'Action' for order <A>
        And the user clicks 'Pack'
    Then order <A> approved
        And change order <A> status to 'Packed'
```

#### Test Scenario 6
```gherkin
Scenario: As a User, I should be able to get notification for my approved order
    Given the user has logged in to Red
    When the admin approve user's order
    Then the user get notification for the approved order
```


###### tags: `Sprint 21` `Sprint 20` `Ecommerce 1` `SSC`