---
# System prepended metadata

title: SCM-602 - Adjustment Logic when create catalogue segmentation

---

# SCM-602 - Adjustment Logic when create catalogue segmentation

## Test Scenarios
#### Test Scenario 1
```gherkin
Scenario: As an Admin, I shouldn't be able to create new segmentation with same segmentation combination & SKU
    Given the user has logged in to SSC
        And the user is on Add Catalogue Segmentation Page
        And segmentation <A> has combination <A> & SKU <A>
    When the user input combination <A> & SKU <A>
        And the user clicks Save
    Then failed to create new segmentation
        And show error message notification
```

#### Test Scenario 2
```gherkin
Scenario: As an Admin, I want to create new segmentation with same segmentation combination & new SKU
    Given the user has logged in to SSC
        And the user is on Add Catalogue Segmentation Page
        And segmentation <A> has combination <A> & SKU <A>
    When the user input partial combination <A> & SKU <B>
        And the user clicks Save
    Then successfully create new segmentation 
```

#### Test Scenario 3
```gherkin
Scenario: As an Admin, I want to assign new SKU to existing segmentation
    Given the user has logged in to SSC
        And the user is on Add Catalogue Segmentation Page
        And segmentation <A> has combination <A> & SKU <A>
    When the user input exactly same combination <A> & SKU <B>
        And the user clicks Save
    Then assign SKU <B> to segmentation <A>
```

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

###### tags: