---
# System prepended metadata

title: SCM-479 - Import New Catalogue
tags: [SSC, Ecommerce 1, Sprint 25]

---

# SCM-479 - Import New Catalogue

## Test Scenarios
#### Test Scenario 1
```gherkin
Scenario Outline: As an Admin, I shouldn't be able to import with blank mandatory field
    Given the user has logged in to SSC
        And the user is on Import Catalogue Page
    When the user input blank to <fieldType> in .csv file
        And the user uploads the .csv file
        And the user clicks Import History Page
    Then show Import History as failed
        And show error mandatory field in error report file
    Examples:
    | fieldType                  |
    | -------------------------- |
    | name                       |
    | brand                      |
    | first catalogue category   |
    | last catalogue category id |
    | unit of measure id         |
    | product tag                |
    | retail buyer price         |
    | weight per pcs             |
    | dimension per pcs          |
    | status                     |
    | warehouse                  |
```

#### Test Scenario 2
```gherkin
Scenario Outline: As an Admin, I shouldn't be able to import with wrong input for SKU ID
    Given the user has logged in to SSC
        And the user is on Import Catalogue Page
    When the user input <wrongType> for SKU ID in .csv file
        And the user uploads the .csv file
        And the user clicks Import History Page
    Then show Import History as failed
        And show error wrong field in error report file
    Examples:
    | wrongType    |
    | ------------ |
    | non-existent |
    | blank        |
    | symbolIcon   |
```

#### Test Scenario 3
```gherkin
Scenario Outline: As an Admin, I shouldn't be able to import with wrong input for Brand
    Given the user has logged in to SSC
        And the user is on Import Catalogue Page
    When the user input <wrongType> for Brand in .csv file
        And the user uploads the .csv file
        And the user clicks Import History Page
    Then show Import History as failed
        And show error wrong field in error report file
    Examples:
    | wrongType    |
    | ------------ |
    | non-existent |
    | blank        |
    | symbolIcon   |
    | numeric      |
```

#### Test Scenario 4
```gherkin
Scenario Outline: As an Admin, I shouldn't be able to import with wrong input for first & last Catalogue Type
    Given the user has logged in to SSC
        And the user is on Import Catalogue Page
    When the user input <wrongType> for first & last Catalogue Type in .csv file
        And the user uploads the .csv file
        And the user clicks Import History Page
    Then show Import History as failed
        And show error wrong field in error report file
    Examples:
    | wrongType    |
    | ------------ |
    | non-existent |
    | blank        |
    | symbolIcon   |
```

#### Test Scenario 5
```gherkin
Scenario Outline: As an Admin, I shouldn't be able to import with wrong input for UOM field
    Given the user has logged in to SSC
        And the user is on Import Catalogue Page
    When the user input <wrongType> for UOM in .csv file
        And the user uploads the .csv file
        And the user clicks Import History Page
    Then show Import History as failed
        And show error wrong field in error report file
    Examples:
    | wrongType    |
    | ------------ |
    | non-existent |
    | blank        |
    | symbolIcon   |
```

#### Test Scenario 6
```gherkin
Scenario Outline: As an Admin, I shouldn't be able to import with wrong input for retail buying price field
    Given the user has logged in to SSC
        And the user is on Import Catalogue Page
    When the user input <wrongType> for Retail Buying Price in .csv file
        And the user uploads the .csv file
        And the user clicks Import History Page
    Then show Import History as failed
        And show error wrong field in error report file
    Examples:
    | wrongType  |
    | ---------- |
    | blank      |
    | symbolIcon |
    | alphabet   |
```

#### Test Scenario 7
```gherkin
Scenario Outline: As an Admin, I shouldn't be able to import with wrong input for discount buying price field
    Given the user has logged in to SSC
        And the user is on Import Catalogue Page
    When the user input <wrongType> for Discount Buying Price in .csv file
        And the user uploads the .csv file
        And the user clicks Import History Page
    Then show Import History as failed
        And show error wrong field in error report file
    Examples:
    | wrongType  |
    | ---------- |
    | blank      |
    | symbolIcon |
    | alphabet   |
```

#### Test Scenario 8
```gherkin
Scenario Outline: As an Admin, I shouldn't be able to import with wrong input for weight per pcs field
    Given the user has logged in to SSC
        And the user is on Import Catalogue Page
    When the user input <wrongType> for Weight per Pcs in .csv file
        And the user uploads the .csv file
        And the user clicks Import History Page
    Then show Import History as failed
        And show error wrong field in error report file
    Examples:
    | wrongType  |
    | ---------- |
    | blank      |
    | symbolIcon |
    | alphabet   |
```

#### Test Scenario 9
```gherkin
Scenario Outline: As an Admin, I shouldn't be able to import with wrong input for weight per master field
    Given the user has logged in to SSC
        And the user is on Import Catalogue Page
    When the user input <wrongType> for Weight per Master in .csv file
        And the user uploads the .csv file
        And the user clicks Import History Page
    Then show Import History as failed
        And show error wrong field in error report file
    Examples:
    | wrongType  |
    | ---------- |
    | blank      |
    | symbolIcon |
    | alphabet   |
```

#### Test Scenario 10
```gherkin
Scenario Outline: As an Admin, I shouldn't be able to import with wrong input for dimension per pcs field
    Given the user has logged in to SSC
        And the user is on Import Catalogue Page
    When the user input <wrongType> for Dimension per Pcs in .csv file
        And the user uploads the .csv file
        And the user clicks Import History Page
    Then show Import History as failed
        And show error wrong field in error report file
    Examples:
    | wrongType  |
    | ---------- |
    | blank      |
    | symbolIcon |
    | alphabet   |
```

#### Test Scenario 11
```gherkin
Scenario Outline: As an Admin, I shouldn't be able to import with wrong input for qty per box field
    Given the user has logged in to SSC
        And the user is on Import Catalogue Page
    When the user input <wrongType> for Qty per Box in .csv file
        And the user uploads the .csv file
        And the user clicks Import History Page
    Then show Import History as failed
        And show error wrong field in error report file
    Examples:
    | wrongType  |
    | ---------- |
    | blank      |
    | symbolIcon |
    | alphabet   |
```

#### Test Scenario 12
```gherkin
Scenario Outline: As an Admin, I shouldn't be able to import with wrong input for minimum order field
    Given the user has logged in to SSC
        And the user is on Import Catalogue Page
    When the user input <wrongType> for Minimum Order in .csv file
        And the user uploads the .csv file
        And the user clicks Import History Page
    Then show Import History as failed
        And show error wrong field in error report file
    Examples:
    | wrongType  |
    | ---------- |
    | blank      |
    | symbolIcon |
    | alphabet   |
```

#### Test Scenario 13
```gherkin
Scenario Outline: As an Admin, I shouldn't be able to import with wrong input for additional qty field
    Given the user has logged in to SSC
        And the user is on Import Catalogue Page
    When the user input <wrongType> for Additional Qty in .csv file
        And the user uploads the .csv file
        And the user clicks Import History Page
    Then show Import History as failed
        And show error wrong field in error report file
    Examples:
    | wrongType  |
    | ---------- |
    | blank      |
    | symbolIcon |
    | alphabet   |
```

#### Test Scenario 14
```gherkin
Scenario Outline: As an Admin, I shouldn't be able to import with wrong input for status field
    Given the user has logged in to SSC
        And the user is on Import Catalogue Page
    When the user input <wrongType> for Status in .csv file
        And the user uploads the .csv file
        And the user clicks Import History Page
    Then show Import History as failed
        And show error wrong field in error report file
    Examples:
    | wrongType    |
    | ------------ |
    | blank        |
    | symbolIcon   |
    | non-existent |
```

#### Test Scenario 15
```gherkin
Scenario Outline: As an Admin, I shouldn't be able to import with wrong input for type field
    Given the user has logged in to SSC
        And the user is on Import Catalogue Page
    When the user input <wrongType> for Catalogue Type in .csv file
        And the user uploads the .csv file
        And the user clicks Import History Page
    Then show Import History as failed
        And show error wrong field in error report file
    Examples:
    | wrongType    |
    | ------------ |
    | blank        |
    | symbolIcon   |
    | non-existent |
```

#### Test Scenario 16
```gherkin
Scenario Outline: As an Admin, I shouldn't be able to import with wrong input for warehouse field
    Given the user has logged in to SSC
        And the user is on Import Catalogue Page
    When the user input <wrongType> for Warehouse in .csv file
        And the user uploads the .csv file
        And the user clicks Import History Page
    Then show Import History as failed
        And show error wrong field in error report file
    Examples:
    | wrongType    |
    | ------------ |
    | blank        |
    | symbolIcon   |
    | non-existent |
```

#### Test Scenario 17
```gherkin
Scenario: As an Admin, I want to import bulk catalogues
    Given the user has logged in to SSC
        And the user is on Import Catalogue Page
    When the user input correct field for all the fields
        And the user uploads the .csv file
        And the user clicks Import History section tab
    Then successfully import new catalogues
        And show Import History data as success
```

###### tags: `Sprint 25` `Ecommerce 1` `SSC`