---
# System prepended metadata

title: E1AM-114 - Warehouse Config
tags: [Sprint 19, Ecommerce 1]

---

# E1AM-114 - Warehouse Config

>**As a supplier admin**, I should be able to select warehouse preference on specific store, so that I can create new warehouse relation on the store besides the natural warehouse coverage

> **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 want to choose a warehouse 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
        And the user clicks warehouse <A> checkbox
    Then show warehouse <A> as the chosen warehouse section
```

#### Test Scenario 2
```gherkin
Scenario: As an Admin, I should be able to choose multiple warehouse 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
        And the user clicks warehouse <A> checkbox
        And the user clicks warehouse <B> checkbox
    Then show warehouse <A> & <B> as the chosen warehouses section
```


#### Test Scenario 3
```gherkin
Scenario: As an Admin, I shouldn't be able to add/edit store with blank 'Warehouse' section
    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 fill 'Warehouse' section with blank
        And the user fill all the field section
    Then show 'Save' button as disabled button
        And the user can't add/edit store
```

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