---
# System prepended metadata

title: SCM-489 - Filter Catalogue Segmentation
tags: [SSC, Ecommerce 1, Sprint 25]

---

# SCM-489 - Filter Catalogue Segmentation

## Test Scenarios
#### Test Scenario 1
```gherkin
Scenario Outline: As an Admin, I shouldn't be able to filter with wrong supplierId
    Given the user has logged in SSC
    When the user input <wrongType> for supplierId param
        And the user hit filter catalogue segmentation endpoint
    Then show error message
    Examples:
    | wrongType    |
    | ------------ |
    | alphabet     |
    | symbolIcon   |
    | blank        |
    | non-existent |
```

#### Test Scenario 2
```gherkin
Scenario Outline: As an Admin, I shouldn't be able to filter with wrong status
    Given the user has logged in SSC
    When the user input <wrongType> for status param
        And the user hit filter catalogue segmentation endpoint
    Then show error message
    Examples:
    | wrongType    |
    | ------------ |
    | numeric      |
    | symbolIcon   |
    | non-existent |
```

#### Test Scenario 3
```gherkin
Scenario Outline: As an Admin, I shouldn't be able to filter with wrong warehouseId
    Given the user has logged in SSC
    When the user input <wrongType> for warehouseId param
        And the user hit filter catalogue segmentation endpoint
    Then show error message
    Examples:
    | wrongType    |
    | ------------ |
    | alphabet     |
    | symbolIcon   |
    | non-existent |
```

#### Test Scenario 4
```gherkin
Scenario Outline: As an Admin, I shouldn't be able to filter with wrong typeId
    Given the user has logged in SSC
    When the user input <wrongType> for typeId param
        And the user hit filter catalogue segmentation endpoint
    Then show error message
    Examples:
    | wrongType    |
    | ------------ |
    | alphabet     |
    | symbolIcon   |
    | non-existent |
```

#### Test Scenario 5
```gherkin
Scenario Outline: As an Admin, I shouldn't be able to filter with wrong groupId
    Given the user has logged in SSC
    When the user input <wrongType> for groupId param
        And the user hit filter catalogue segmentation endpoint
    Then show error message
    Examples:
    | wrongType    |
    | ------------ |
    | alphabet     |
    | symbolIcon   |
    | non-existent |
```

#### Test Scenario 6
```gherkin
Scenario Outline: As an Admin, I shouldn't be able to filter with wrong channelId
    Given the user has logged in SSC
    When the user input <wrongType> for channelId param
        And the user hit filter catalogue segmentation endpoint
    Then show error message
    Examples:
    | wrongType    |
    | ------------ |
    | alphabet     |
    | symbolIcon   |
    | non-existent |
```

#### Test Scenario 7
```gherkin
Scenario Outline: As an Admin, I shouldn't be able to filter with wrong clusterId
    Given the user has logged in SSC
    When the user input <wrongType> for clusterId param
        And the user hit filter catalogue segmentation endpoint
    Then show error message
    Examples:
    | wrongType    |
    | ------------ |
    | alphabet     |
    | symbolIcon   |
    | non-existent |
```

#### Test Scenario 8
```gherkin
Scenario: As an Admin, I want to filter catalogue segmentation based on chosen params
    Given the user has logged in SSC
    When the user input all params correctly
        And the user hit filter catalogue segmentation endpoint
    Then show response result based on chosen params
```

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