---
# System prepended metadata

title: EC1-411 - Delete Catalogue Segmentation
tags: [SSC, Ecommerce 1, Sprint 24]

---

# EC1-411 - Delete Catalogue Segmentation

## Test Scenarios
#### Test Scenario 1
```gherkin
Scenario: As an Admin, I should be able to see Delete option in Action menu
    Given the user has logged in as Admin
        And the user is on Catalogue Segmentation Page
    When the user clicks Action menu for segmentation <A>
    Then show Delete option menu
```

#### Test Scenario 2
```gherkin
Scenario: As an Admin, I should be able to see warning pop-up message before deleting segmentation
    Given the user has logged in as Admin
        And the user is on Catalogue Segmentation Page
    When the user clicks Action Menu for segmentation <A>
        And the user clicks Delete menu
    Then show pop-up message for delete confirmation
```

#### Test Scenario 3
```gherkin
Scenario: As an Admin, I want to delete a segmentation 
    Given the user has logged in as Admin
        And the user is on Catalogue Segmentation Page
        And the user has clicked Action menu for segmentation <A>
    When the user clicks Delete menu
        And the user clicks Delete confirmation button
    Then segmentation <A> successfully deleted
```

#### Test Scenario 4
```gherkin
Scenario: As an Admin, I shouldn't be able to see deleted segmentation in list
    Given the user has logged in as Admin
        And Segmentation <A> has been deleted
    When the user is on Catalogue Segmentation Page
    Then doesn't show segmentation <A> in list of existing segmentation
```

#### Test Scenario 5
```gherkin
Scenario: As an Admin, I shouldn't be able to see deleted segmentation in affiliated SKU details 
    Given the user has logged in as Admin
        And catalogue <A> was assigned to segmentation <A>
        And segmentation <A> has been deleted
    When the user clicks catalogue <A> details Page
    Then doesn't show segmentation <A> as listed affiliated segmentation
```

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