# SCM-476 - [Functionality] Modify pop up export catalogue ## Test Scenarios #### Test Scenario 1 ```gherkin Scenario: As a User, I want to access export catalogue pop-up menu Given the user has logged in to SSC And the user is on Catalogue List Page When the user clicks Export button Then show export catalogue pop-up menu ``` #### Test Scenario 2 ```gherkin Scenario Outline: As a User, I want to choose a catalogue status Given the user has logged in to SSC And the user is on Export Catalogue Menu Page When the user clicks Catalogue Status Field And the user choose <catalogueStatus> Then show chosen <catalogueStatus> in Catalogue Status Field Examples: | catalogueStatus | | --------------- | | active | | inactive | ``` #### Test Scenario 3 ```gherkin Scenario: As a User, I want to choose a catalogue type Given the user has logged in to SSC And the user is on Export Catalogue Menu Page When the user clicks Catalogue Type Field And the user choose <catalogueType> Then show chosen <catalogueType> in Catalogue Type Field Examples: | catalogueType | | ------------- | | reguler | | bonus | ``` #### Test Scenario 4 ```gherkin Scenario Outline: As a User, I shouldn't be able to export due to blank mandatory field Given the user has logged in to SSC And the user is on Export Catalogue Menu Page When the user input blank for <mandatoryField> Then show 'Export' button as disabled button Examples: | mandatoryField | | -------------- | | statusType | | catalogueType | | warehouse | ``` #### Test Scenario 5 ```gherkin Scenario: As a User, I want to search for a warehouse Given the user has logged in to SSC And the user is on Export Catalogue Menu Page When the user clicks Warehouse input field And the user input keyword <A> Then show search result with warehouse containing keyword <A> ``` #### Test Scenario 6 ```gherkin Scenario: As a User, I want to choose a warehouse Given the user has logged in to SSC And the user is on Export Catalogue Menu Page When the user clicks Warehouse input field And the user choose warehouse <A> Then show warehouse <A> as chosen warehouse ``` #### Test Scenario 7 ```gherkin Scenario: As a User, I want to choose multiple warehouses Given the user has logged in to SSC And the user is on Export Catalogue Menu Page When the user clicks Warehouse input field And the user choose warehouse <A> & <B> Then show warehouse <A> & <B> as chosen warehouses ``` #### Test Scenario 8 ```gherkin Scenario: As a User, I want to export catalogue Given the user has logged in to SSC And the user has chosen catalogue status And the user has chosen catalogue type And the user has chosen warehouse When the user clicks export Then show successfully export notification message ``` #### Test Scenario 9 ```gherkin Scenario: As a User, I want to access export history page Given the user has logged in to SSC And the user is on Export Catalogue Page When the user clicks 'View History' button Then redirects user to Export History Page ``` #### Test Scenario 10 ```gherkin Scenario: As a User, I want to download exported catalogue data Given the user has logged in to SSC And the user is on Export History Page And the user has exported catalogue data <A> When the user clicks download catalogue data <A> Then successfully download catalogue data <A> export file ``` ###### tags: `Sprint 25` `Ecommerce 1` `SSC`