# SCM-471 - PDP Catalogue Segmentation
## 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 has warehouse_id <A>
When the user hit get catalogue list
Then show catalogues based on warehouse_id <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 has warehouse_id <A>
When the user hit get catalogue list
Then show catalogues based on warehouse_id <A>
```
#### 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 hit get catalogue list
Then show catalogues based on store segmentation <A>
```
#### Test Scenario 5
```gherkin
Scenario: As a Salesman, I shouldn't be able to see cataluge with other segmentation
Given the user has logged in to Sinbad White
And the user has store segmentation <A>
When the user hit get catalogue list
Then doesn't show catalogues based on other segmentation
```
#### 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 the intersection of warehouse <A> and <B>
When the user hit get catalogue list
Then show catalogues based on warehouse <A>
```
###### tags: `Sprint 25` `Ecommerce 1` `White`