---
# System prepended metadata

title: E1AM-162 - Area Coverage visibility
tags: [White, Ecommerce 1, Sprint 20]

---

# E1AM-162 - Area Coverage visibility

> PRD : 
https://docs.google.com/document/d/1DqF3EdSZaKVndoAbD5uVkwmRFUEXL0oLn2OfiHmjVAQ/edit?pli=1#

## Test Scenarios
#### Test Scenario 1
```gherkin
Scenario: As a Sales, I should be able to see 'Area Mapping' section in Profile Page
    Given the user has logged in to White
        And the user is on White Homepage
    When the user clicks 'Profile' bottom-nav
    Then show 'Area Mapping' section
```

#### Test Scenario 2
```gherkin
Scenario: As a Sales, I want to see my own area mapping coverage
    Given the user has logged in to White
        And the user is on Profile Page
    When the user clicks 'Area Mapping' section
    Then redirects to Area Mapping Page
```

#### Test Scenario 3
```gherkin
Scenario: As a Sales, I shouldn't be able to create new store outside coverage of my area mapping
    Given the user has logged in to White
        And the user's area mapping is on area <A>
    When the user create a new store
        And the user choose urban area <B>
    Then the user failed to create new store
```

#### Test Scenario 4
```gherkin
Scenario: As a Sales, I want to create new store automatically assigned to existing direct portfolio
    Given the user has logged in to White
        And the user's area mapping is on area <A>
        And the user has already existing direct portfolio
    When the user create a new store
        And the user choose urban area <A>
    Then the user successfully to create new store
        And the store automatically assigned to existing direct portfolio
```

#### Test Scenario 5
```gherkin
Scenario: As a Sales, I should be redirected to Area Mapping Page from outside area error warning message
    Given the user has logged in to White
        And the user created store outside the area
    When the user clicks 'Area Mapping' button
    Then redirects user to 'Area Mapping' section
```

###### tags: `Sprint 20` `Ecommerce 1` `White`