# E1AM-231 - View detail order
> As a Sinbad Admin, I should be able to access detail order information and its order status, so that I can get more rich information on specific order
## Test Scenarios
#### Test Scenario 1
```gherkin
Scenario: As an Admin, I want to access Order Details Page
Given the user has logged in to Admin Panel
And the user is on OMS Page
When the user clicks a Supplier's Order
Then the user redirects to Order Details Page
```
#### Test Scenario 2
```gherkin
Scenario: As an Admin, I should be able to see correct data on Document Order Section
Given the user has logged in to Admin Panel
And the user is on OMS Page
And store <A> has made an order
When the user clicks store <A>'s order
Then the user redirects to store <A>'s order
And correctly show store <A> data on Document Order Section
```
#### Test Scenario 3
```gherkin
Scenario: As an Admin, I should be able to see correct data on Status Order Section
Given the user has logged in to Admin Panel
And the user is on OMS Page
And store <A> has made an order
When the user clicks store <A>'s order
Then the user redirects to store <A>'s order
And correctly show store <A>'s status order on Status Order Section
```
#### Test Scenario 4
```gherkin
Scenario: As an Admin, I should be able to see correct data on Supplier's Reason Section
Given the user has logged in to Admin Panel
And the user is on OMS Page
And store <A> has made order <A>
And order <A> rejected by supplier
When the user clicks order <A>
Then the user redirects to order <A> details page
And correctly show order <A>'s supplier's reject reason on Supplier's Reason Section
```
#### Test Scenario 5
```gherkin
Scenario: As an Admin, I should be able to see correct data on Order Line Section
Given the user has logged in to Admin Panel
And the user is on OMS Page
And store <A> has made an order
When the user clicks store <A>'s order
Then the user redirects to store <A>'s order
And correctly show store <A>'s SKU(s) data on Order Line Section
```
#### Test Scenario 6
```gherkin
Scenario: As an Admin, I should be able to see correct data on Bonus SKU Section
Given the user has logged in to Admin Panel
And the user is on OMS Page
And store <A> has made order <A>
And order <A> used voucher/promo with bonus SKU benefit
When the user clicks order <A>
Then the user redirects to order <A> details page
And correctly show bonus SKU for order <A> on Bonus SKU Section
```
#### Test Scenario 7
```gherkin
Scenario: As an Admin, I should be able to see correct data on Order Status Section
Given the user has logged in to Admin Panel
And the user is on OMS Page
And store <A> has made an order
When the user clicks store <A>'s order
Then the user redirects to store <A>'s order
And correctly show store <A>'s order calculation on Order Status Section
```
#### Test Scenario 8
```gherkin
Scenario: As an Admin, I should be able to see cancel reason wording if order is invalid
Given the user has logged in to Admin Panel
And the user is on OMS Page
And store <A> has made order <A>
And order <A> canceled because order invalid
When the user clicks order <A>
Then the user redirects to order <A> details page
And show order <A> cancel reason below wording 'Status Order'
And change order <A> status to 'Canceled'
```
#### Test Scenario 9
```gherkin
Scenario: As an Admin, I shouldn't be able to see cancel reason wording if order is valid
Given the user has logged in to Admin Panel
And the user is on OMS Page
And store <A> has made order <A>
And order <A> is valid
When the user clicks order <A>
Then the user redirects to order <A> details page
And show order <A> cancel reason as blank below wording 'Status Order'
```
#### Test Scenario 10
```gherkin
Scenario: As an Admin, I should be able to see supplier's reason wording if order is invalid
Given the user has logged in to Admin Panel
And the user is on OMS Page
And store <A> has made order <A>
And order <A> canceled by supplier because order invalid
When the user clicks order <A>
Then the user redirects to order <A> details page
And show order <A> supplier's cancel reason on Supplier's Reason Section
And change order <A> status to 'Canceled'
```
#### Test Scenario 11
```gherkin
Scenario: As an Admin, I shouldn't be able to see supplier's reason wording if order is valid
Given the user has logged in to Admin Panel
And the user is on OMS Page
And store <A> has made order <A>
And order <A> is valid
When the user clicks order <A>
Then the user redirects to order <A> details page
And show Supplier's Section as empty section
```
#### Test Scenario 12
```gherkin
Scenario: As an Admin, I should be able to see 'Re-send Order' button if order is invalid
Given the user has logged in to Admin Panel
And the user is on OMS Page
And store <A> has made order <A>
And order <A> is invalid
When the user clicks order <A>
Then the user redirects to order <A> details page
And show active 'Re-Send Order' button
```
###### tags: `Sprint 21` `Ecommerce 1` `Admin Panel`