# EC1-417 - Readjustment Price segmentation setting
## Test Scenarios
#### Test Scenario 1
```gherkin
Scenario: As an Admin, I want to access edit Segmentation Setting
Given the user has logged in as Admin
And the user is on SKU Details Page
When the user clicks Segmentation Setting section menu
And the user clicks Edit button
Then the user redirects to Edit Segmentation Setting Page
```
#### Test Scenario 2
```gherkin
Scenario: As an Admin, I want to click Action menu button on the table
Given the user has logged in as Admin
And the user is on Edit Segmentation Setting Page
When the user click Action menu button in table segmentation
Then show dropdown menu option for the actions
```
#### Test Scenario 3
```gherkin
Scenario: As an Admin, I want to delete a segmentation in catalogue segmentation setting
Given the user has logged in as Admin
And the user is on Edit Segmentation Setting Page
And the user has clicked Action menu button
When the user clicks Delete button for segmentation <A>
And the user clicks Delete confirmation button
Then unassign the catalogue from segmentation <A>
And catalogue segmentation list doesnt show segmentation <A>
```
#### Test Scenario 4
```gherkin
Scenario: As an Admin, I want to change catalogue price in segmentation table
Given the user has logged in as Admin
And the user is on Edit Segmentation Setting Page
When the user change the price in segmentation <A> to price <A>
And the user clicks enter
Then change price in segmentation <A> to price <A>
```
#### Test Scenario 5
```gherkin
Scenario: As an Admin, I shouldn't be able to change catalogue price in segmentation table with wrong input
Given the user has logged in as Admin
And the user is on Edit Segmentation Setting Page
When the user input alphabet to price field in segmentation <A> field
Then inputted alphabet doesn't show in price field
```
#### Test Scenario 6
```gherkin
Scenario: As an Admin, I shouldn't be able to search segmentation with blank warehouse field
Given the user has logged in as Admin
And the user is on Edit Segmentation Setting Page
When the user input blank to warehouse field
And the user input correct value for other segmentation field
And the user clicks Apply
Then show error message
```
#### Test Scenario 7
```gherkin
Scenario: As an Admin, I shouldn't be able to search segmentation with non-existent parameters field
Given the user has logged in as Admin
And the user is on Edit Segmentation Setting Page
And segmentation <A> doesn't exist in DB
When the user input segmentation <A>
And the user click Apply
Then show no result in table section
```
###### tags: `Sprint 24` `Ecommerce 1` `SSC`