---
# System prepended metadata

title: EC1-334 - Cross Selling Bundle Product Page - "Produk Terkait"
tags: [Red, Sprint 23, Ecommerce 1]

---

# EC1-334 - Cross Selling Bundle Product Page - "Produk Terkait"

> https://sinbadkp.atlassian.net/browse/EC1-334

## API Test Scenarios
#### Test Scenario 1
```gherkin
Scenario: As an Admin, I want to get list of promo bundle's related product
    Given the user has logged in as Admin
        And catalogue <A> is related to promo bundle <A>
        And promo bundle <A> is related to catalogue <B> and <C>
    When the user hit get catalogue details
    Then show catalogue <A> response data
        And show 'affiliatedSKUs' field with catalogue <B> & <C>
```

#### Test Scenario 2
```gherkin
Scenario: As an Admin, I should be able to see maximum of 20 products
    Given the user has logged in as Admin
        And catalogue <A> is related to promo bundle <A>
        And promo bundle <A> is related to other 25 catalogues
    When the user hit get catalogue details
    Then show catalogue <A> response data
        And show 'affiliatedSKUs' field with maximum of 20 catalogues
```

#### Test Scenario 3
```gherkin
Scenario: As an Admin, I shouldn't be able to see related product numbered > 20
    Given the user has logged in as Admin
        And catalogue <A> is related to promo bundle <A>
        And promo bundle <A> is related to other 25 catalogues
    When the user hit get catalogue details
    Then show catalogue <A> response data
        And show 'affiliatedSKUs' field with SKUs numbered from 1 to 20
        And doesn't show SKUs numbered >20
```

#### Test Scenario 4
```gherkin
Scenario: As an Admin, I should be able to see related products from multiple promo bundles
    Given the user has logged in as Admin
        And catalogue <A> is related to promo bundle <A> & <B>
        And promo bundle <A> is related to catalogue <B> and <C>
        And promo bundle <B> is realted to catalogue <D> & <E>
    When the user hit get catalogue details
    Then show catalogue <A> response data
        And show 'affiliatedSKUs' field with catalogue <B>,<C>,<D>,<E>
```

#### Test Scenario 5
```gherkin
Scenario: As an Admin, I shouldn't be able to see non-promo bundle related product
    Given the user has logged in as Admin
        And catalogue <A> is related to promo bundle <A>
        And promo bundle <A> is related to catalogue <B> and <C>
    When the user hit get catalogue details
    Then show catalogue <A> response data
        And show 'affiliatedSKUs' field with catalogue <B> & <C>
        And doesn't show other catalogues
```

###### tags: `Sprint 23` `Red` `Ecommerce 1`