# EC1-399 - API Get data from visibility SKU ## Test Scenarios #### Test Scenario 1 ```gherkin Scenario: As an Admin, I want to hit get detail-catalogue endpoint Given the user has logged in as Admin When the user hit get detail-catalogue endpoint Then show response data for the catalogue ``` #### Test Scenario 2 ```gherkin Scenario: As an Admin, I should be able to see catalogue status field Given the user has logged in as Admin When the user hit get detail-catalogue endpoint Then show status field in response data ``` #### Test Scenario 3 ```gherkin Scenario: As an Admin, I want to get catalogue data with status active Given the user has logged in as Admin And catalogue <A> has active status When the user hit get detail-catalogue endpoint for catalogue <A> Then show status field for catalogue <A> with active value ``` #### Test Scenario 4 ```gherkin Scenario: As an Admin, I want to get catalogue data with status inactive Given the user has logged in as Admin And catalogue <A> has inactive status When the user hit get detail-catalogue endpoint for catalogue <A> Then show status field for catalogue <A> with inactive value ``` #### Test Scenario 5 ```gherkin Scenario: As an Admin, I should be able to see catalogue type field Given the user has logged in as Admin When the user hit get detail-catalogue endpoint Then show is_Bonus field in response data ``` #### Test Scenario 6 ```gherkin Scenario: As an Admin, I want to get catalogue data with type Bonus Given the user has logged in as Admin And catalogue <A> has true value for is_Bonus field When the user hit get detail-catalogue endpoint for catalogue <A> Then show is_Bonus field for catalogue <A> with true value ``` #### Test Scenario 7 ```gherkin Scenario: As an Admin, I want to get catalogue data with type Regular Given the user has logged in as Admin And catalogue <A> has false value for is_Bonus field When the user hit get detail-catalogue endpoint for catalogue <A> Then show is_Bonus field for catalogue <A> with false value ``` ###### tags: `Sprint 24` `Ecommerce 1` `SSC`