# SUP-207 - Setting Import ## Functional Test Scenarios #### Test Scenario 1 ```gherkin Scenario: As an Admin, I should be able to see `Setting` option menu Given the user has logged in as Admin And the user is on SBP Homepage When the user clicks left tab bar section Then show sub-menu section And show `Setting` option menu ``` #### Test Scenario 2 ```gherkin Scenario: As an Admin, I want to access Setting Page Given the user has logged in as Admin And the user has opened left tab bar section When the user clicks 'Setting' option menu Then the user redirects to Setting Page ``` #### Test Scenario 3 ```gherkin Scenario: As an Admin, I should be able to see Import Section Page Given the user has logged in as Admin When the user is on Setting Page Then show Import Section Page ``` #### Test Scenario 4 ```gherkin Scenario Outline: As an Admin, I want to download template for Import Sales Data Given the user has logged in as Admin And the user is on Setting Page When the user clicks 'Download Template' for <dataType> Then automatically download the template based on <dataType> Examples: | dataType | | ------------- | | primaryData | | secondaryData | ``` #### Test Scenario 5 ```gherkin Scenario Outline: As an Admin, I want to upload Sales Performance Data Given the user has logged in as Admin And the user is on Setting Page When the user clicks 'upload' for <dataType> And the user choose a .csv file And the user clicks 'Ok' button Then chosen file uploaded Examples: | dataType | | ------------- | | primaryData | | secondaryData | ``` #### Test Scenario 6 ```gherkin Scenario: As an Admin, I should be able to see changed Last Period section after upload data Given the user has logged in as Admin And the user is on Setting Page When the user has completed import activity Then shows changed 'Last Period' section to be currect time ``` ## Backend Test Scenarios #### Test Scenario 1 ```gherkin Scenario Outline: As an Admin, I should be able to see updated DB fields after importing Given And When Then Examples: ``` ###### tags: `Sprint 6` `SBP`