# SCM-467 - PDP Catalogue Segmentation Mobile Red ## 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 yet When the user opens Sinbad Red Then show catalogue based on nearest warehouse from 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'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 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'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 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 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 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 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 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 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` `Red`