# E1AM-108 - ONO: Sales-store assignment >**As a Sinbad Sales**, > **Design** https://overflow.io/s/57VBBR?node=f6ebf894 > **PRD** https://docs.google.com/document/d/1DqF3EdSZaKVndoAbD5uVkwmRFUEXL0oLn2OfiHmjVAQ/edit ## Test Scenarios #### Test Scenario 1 ```gherkin Scenario: As a Sales, I shouldn't be able to see Input Address field section Given the user has log in to Sinbad White And the user is on List Toko Page When the user click add store button And the user fill correct phone number And the user click 'Lanjutkan' Then redirect to create store form page 1 And form doesn't show Input Address field section ``` #### Test Scenario 2 ```gherkin Scenario: As a Sales, I shouldn't be able to click Lanjutkan due to blank input field(s) Given the user has log in to Sinbad White And the user is on Create Store Form When the user fill input field(s) with blank Then show Lanjutkan button as disabled button And the user can't click Lanjutkan button ``` #### Test Scenario 3 ```gherkin Scenario: As a Sales, I want to continue to next input form Given the user has log in to Sinbad White And the user is on Create Store Form When the user fill input field(s) correctly And the user clicks 'Lanjutkan' button Then the user redirects to second input form ``` #### Test Scenario 4 ```gherkin Scenario: As a Sales, I should be able to see input Address section Given the user has log in to Sinbad White And the user is on Create Store Form When the user fill input field(s) correctly And the user clicks 'Lanjutkan' button Then the user redirects to second input form And show Input Address Section ``` #### Test Scenario 5 ```gherkin Scenario: As a Sales, I want to input store's address Given the user has log in to Sinbad White And the user is on Create Store Form Page 3 When the user clicks 'Pin Location' And the user choose the location And the user fill all fields Then store's address form filled ``` #### Test Scenario 6 ```gherkin Scenario: As a Sales, I should be able to see PRE-FILLED & DISABLED warehouse field section (one warehouse) Given the user has log in to Sinbad White And the user is on Create Store Form Page 3 And urban <A> only covers one warehouse When the user has chosen a location with urban <A> Then warehouse section pre-filled with covered warehouse And warehouse section disabled ``` #### Test Scenario 7 ```gherkin Scenario: As a Sales, I should be able to click warehouse section field (multiple warehouse) Given the user has log in to Sinbad White And the user is on Create Store Form Page 3 And urban <A> covers multiple warehouses When the user has chosen a location with urban <A> Then warehouse section pre-filled with covered warehouse And warehouse section clickable ``` #### Test Scenario 8 ```gherkin Scenario: As a Sales, I want to choose store's warehouse (multiple warehouse) Given the user has log in to Sinbad White And the user is on Create Store Form Page 3 And urban <A> covers multiple warehouses And the user has chosen a location with urban <A> When the user clicks warehouse section And the user redirects to Warehouse Selection Page And the user clicks warehouse <A> Then warehouse <A> chosen as store's warehouse And the user redirect back to form page 3 ``` #### Test Scenario 9 ```gherkin Scenario: As a Sales, I should be able to see wording & disabled warehouse section field (no warehouse) Given the user has log in to Sinbad White And the user is on Create Store Form Page 3 And urban <A> covers no warehouses When the user has chosen a location with urban <A> Then warehouse section filled with info wording And warehouse section clickable ``` #### Test Scenario 10 ```gherkin Scenario: As a Sales, I want to continue to Store Segmentation Form Page Given the user has log in to Sinbad White And the user is on Create Store Form Page 3 And the user has filled all the input field(s) When the user clicks 'Lanjutkan' button Then the user redirects to Segmentation Form Page ``` #### Test Scenario 11 ```gherkin Scenario: As a Sales, I want to choose 'Store Type' field Given the user has log in to Sinbad White And the user is on Segmentation Form Page When the user clicks 'Store Type' button And the user redirects to Store Type Selection Page And the user clicks store type <A> Then store type <A> chosen as store's type And the user redirects back to Segmentation Form Page ``` #### Test Scenario 12 ```gherkin Scenario: As a Sales, I want to choose 'Store Group' field Given the user has log in to Sinbad White And the user is on Segmentation Form Page When the user clicks 'Store Group' button And the user redirects to Store Group Selection Page And the user clicks store group <A> Then store group <A> chosen as store's group And the user redirects back to Segmentation Form Page ``` #### Test Scenario 13 ```gherkin Scenario: As a Sales, I want to choose 'Store Cluster' field Given the user has log in to Sinbad White And the user is on Segmentation Form Page When the user clicks 'Store Cluster' button And the user redirects to Store Cluster Selection Page And the user clicks store cluster <A> Then store cluster <A> chosen as store's cluster And the user redirects back to Segmentation Form Page ``` #### Test Scenario 14 ```gherkin Scenario: As a Sales, I want to choose 'Store Channel' field Given the user has log in to Sinbad White And the user is on Segmentation Form Page When the user clicks 'Store Channel' button And the user redirects to Store Channel Selection Page And the user clicks store channel <A> Then store channel <A> chosen as store's channel And the user redirects back to Segmentation Form Page ``` #### Test Scenario 15 ```gherkin Scenario: As a Sales, I want to save & create store Given the user has log in to Sinbad White And the user is on Segmentation Form Page And the user has filled all the input field(s) When the user clicks 'Lanjutkan' button Then the user successfully created the store And store created in SSC as verified And the user redirects to Store List Page ``` ###### tags: `Sprint 19` `Ecommerce 1`