---
# System prepended metadata

title: SCM-468 - PDP Catalogue Segmentation Visibility
tags: [White, Ecommerce 1, Sprint 25]

---

# SCM-468 - PDP Catalogue Segmentation Visibility

## Test Scenarios
#### Test Scenario 1
```gherkin
Scenario: As a Salesman, I should be able to see default catalogue list before login
    Given the user hasn't logged in yet
    When the user opens Sinbad White
    Then show catalogue based on nearest warehouse from TRS
```

#### Test Scenario 2
```gherkin
Scenario: As a Salesman, I should be able to see catalogue list based on my store's warehouse
    Given the user has logged in to Sinbad White
        And the user's urban id is on warehouse <A>
    When the user clicks Homepage
        And the user clicks 'Lihat Semua' button in Recommended section
    Then redirects to PDP Catalogue List
        And show catalogue based on warehouse <A>
```

#### Test Scenario 3
```gherkin
Scenario: As a Salesman, I shouldn't be able to see catalogue from other warehouse in catalogue list
    Given the user has logged in to Sinbad White
        And the user's urban id is on warehouse <A>
    When the user clicks Homepage
        And the user clicks 'Lihat Semua' button in Recommended section
    Then redirects to PDP Catalogue List
        And doesn't show catalogue from warehouse <B>
```

#### Test Scenario 4
```gherkin
Scenario: As a Salesman, I should be able to see catalogue based on my store's segmentation
    Given the user has logged in to Sinbad White
        And the user has store segmentation <A>
    When the user clicks Homepage
        And the user clicks 'Lihat Semua' button in Recommended Section
    Then redirects to PDP Catalogue List
        And show catalogue affiliated with segmentation <A>
```

#### Test Scenario 5
```gherkin
Scenario: As a Salesman, I shouldn't be able to see catalogue with other segmentation
    Given the user has logged in to Sinbad White
        And the user has store segmentation <A>
    When the user clicks Homepage
        And the user clicks 'Lihat Semua' button in Recommended Section
    Then redirects to PDP Catalogue List
        And doesn't show catalogue affiliated with segmentation <B>
```

#### Test Scenario 6
```gherkin
Scenario: As a Salesman, I should be able to see catalogue based on first warehouse if my urban is in the intersection between warehouses
    Given the user has logged in to Sinbad White
        And the user has urban_id <A>
        And urban_id <A> is in warehouse <A> & warehouse <B> territory
    When the user clicks Homepage
        And the user clicks 'Lihat Semua' button in Recommended Section
    Then redirects to PDP Catalogue List
        And show catalogue based on warehouse <A>
```

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