# SCM-469 - PDP Endpoint Catalogue Segmentation Visibility ## Test Scenarios #### Test Scenario 1 ```gherkin Scenario: As a User, I should be able to see default catalogue list before login Given the user hasn't logged in to Sinbad Red When the user hit get catalogue list Then show catalogue list based on warehouse nearest TRS ``` #### Test Scenario 2 ```gherkin Scenario: As a User, I should be able to see catalogue list based on my store's warehouse Given the user has logged in to Sinbad Red 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 User, I shouldn't be able to see catalogue from other warehouse in catalogue list Given the user has logged in to Sinbad Red 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 User, I should be able to see catalogue based on my store's segmentation Given the user has logged in to Sinbad Red 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 User, I shouldn't be able to see cataluge with other segmentation Given the user has logged in to Sinbad Red 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 User, 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 Red 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`