---
# System prepended metadata

title: E1AM-107 - Select Warehouse Preference
tags: [Sprint 19, Ecommerce 1]

---

# E1AM-107 - Select Warehouse Preference

>**As a supplier admin**, I should be able to see warehouse-faktur relation, so that I can manage warehouse on faktur level when needed

> **Design** 
https://overflow.io/s/57VBBR?node=482b8ada

> **PRD** https://docs.google.com/document/d/18bh3kCiwIL4s9XYUT2nkSMTT6vgNMcEUXdlniqFksRc/edit?pli=1


## Test Scenarios
#### Test Scenario 1
```gherkin
Scenario: As an Admin, I should be able to see 'Warehouse' section on Add/Edit Store Form
    Given the user has log in to SSC
        And the user is on Store List Page
    When the user click 'Add' store button
    Then the user redirect to Add/Edit Store Form
        And show 'Warehouse' section field
```

#### Test Scenario 2
```gherkin
Scenario: As an Admin, I want to see dropdown warehouse options based on the urban
    Given the user has log in to SSC
        And the user is on Add/Edit Store Form
        And urban <A> covered multiple warehouses
    When the user fill urban field with urban <A>
        And the user clicks 'Warehouse' section
    Then show dropdown warehouse options based on urban <A>
```

#### Test Scenario 3
```gherkin
Scenario: As an Admin, I should see auto-fill warehouse section if the urban covered by only one warehouse
    Given the user has log in to SSC
        And the user is on Add/Edit Store Form
        And urban <A> covered only one warehouse
    When the user fill urban field with urban <A>
        And the user clicks 'Warehouse' section
    Then 'Warehouse' option auto-filled with covered warehouse
```

#### Test Scenario 4
```gherkin
Scenario: As an Admin, I should see 'Go To Warehouse' button if the urban has no warehouse
    Given the user has log in to SSC
        And the user is on Add/Edit Store Form
        And urban <A> has no covered warehouse
    When the user fill urban field with urban <A>
        And the user clicks 'Warehouse' section
    Then show 'Go To Warehouse' button
```

#### Test Scenario 5
```gherkin
Scenario: As an Admin, I should be redirected to Warehouse Coverage Page 
    Given the user has log in to SSC
        And the user has filled the urban field
        And 'Go to Warehouse' button has appeared
    When the user clicks 'Go To Warehouse' button
    Then the user redirected to Warehouse Coverage Page
```

###### tags: `Sprint 19` `Ecommerce 1`