# SCM-484 - Filter Catalogue List
## Test Scenarios
#### Test Scenario 1
```gherkin
Scenario Outline: As an Admin, I shouldn't be able to filter with wrong supplier params
Given the user has logged in SSC
When the user input <wrongType> to supplier params
And the user hit filter catalogue endpoint
Then show error message
Examples:
| wrongType |
| ------------ |
| blank |
| alphabet |
| non-existent |
```
#### Test Scenario 2
```gherkin
Scenario Outline: As an Admin, I shouldn't be able to filter with wrong status params
Given the user has logged in SSC
When the user input <wrongType> to status params
And the user hit filter catalogue endpoint
Then show error message
Examples:
| wrongType |
| ------------ |
| numeric |
| non-existent |
```
#### Test Scenario 3
```gherkin
Scenario Outline: As an Admin, I shouldn't be able to filter with wrong catalogue type params
Given the user has logged in SSC
When the user input <wrongType> to catalogue type params
And the user hit filter catalogue endpoint
Then show error message
Examples:
| wrongType |
| ------------ |
| numeric |
| non-existent |
```
#### Test Scenario 4
```gherkin
Scenario Outline: As an Admin, I shouldn't be able to filter with wrong brandId params
Given the user has logged in SSC
When the user input <wrongType> to brandId params
And the user hit filter catalogue endpoint
Then show error message
Examples:
| wrongType |
| ------------ |
| alphabet |
| non-existent |
| >1 brand |
```
#### Test Scenario 5
```gherkin
Scenario Outline: As an Admin, I shouldn't be able to filter with wrong invoiceId params
Given the user has logged in SSC
When the user input <wrongType> to invoiceId params
And the user hit filter catalogue endpoint
Then show error message
Examples:
| wrongType |
| ------------ |
| alphabet |
| non-existent |
| >1 invoice |
```
#### Test Scenario 6
```gherkin
Scenario Outline: As an Admin, I shouldn't be able to filter with wrong minPrice & maxPrice params
Given the user has logged in SSC
When the user input <wrongType> to minPrice & maxPrice params
And the user hit filter catalogue endpoint
Then show error message
Examples:
| wrongType |
| ----------------- |
| alphabet |
| minPrice>maxPrice |
```
#### Test Scenario 7
```gherkin
Scenario: As an Admin, I want to filter with correct params
Given the user has logged in SSC
When the user input correct params
And the user hit filter catalogue endpoint
Then successfully filter catalogue endpoint based on params chosen
```
###### tags: `Sprint 25` `Ecommerce 1` `SSC`