---
# System prepended metadata

title: 'SCM-629 - [Backend] Filter List by tab Exclusive'
tags: [Ecommerce 1, Sprint 26]

---

# SCM-629 - [Backend] Filter List by tab Exclusive

## Test Scenarios
#### Test Scenario 1
```gherkin
Scenario Outline: As an Admin, I shouldn't be able to filter with wrong onlyExclusive param value
    Given the user has logged in as Admin
    When the user input onlyExclusive param with <wrongType>
        And the user hit get catalogue by filter endpoint
    Then show error response message
    Examples:
    | wrongType    |
    | ------------ |
    | blank        |
    | wrong string |
    | integer      |
```

#### Test Scenario 2
```gherkin
Scenario: As an Admin, I want to filter with onlyExclusive field as true
    Given the user has logged in as Admin
    When the user input onlyExclusive param with "true"
        And the user hit get catalogue by filter endpoint
    Then show list of exclusive catalogue only
```

#### Test Scenario 3
```gherkin
Scenario: As an Admin, I want to filter with onlyExclusive field as false
    Given the user has logged in as Admin
    When the user input onlyExclusive param with "false"
        And the user hit get catalogue by filter endpoint
    Then show list of non-exclusive catalogue only
```

#### Test Scenario 4
```gherkin
Scenario:
    Given
        And
    When
    Then
```

###### tags: `Sprint 26` `Ecommerce 1`