# SCM-614 - [Backend] Field Exclusive in import csv ## Test Scenarios #### Test Scenario 1 ```gherkin Scenario: As an Admin, I shouldn't be able to import without is_exclusive field in .csv file Given the user has logged in as Admin And the user have .csv file with no `is_exclusive` field And the user is on Import Catalogue Page When the user choose the .csv file And the user import the .csv file And the user clicks Import History tab section Then show import activity as failed And show error message in error report ``` #### Test Scenario 2 ```gherkin Scenario: As an Admin, I want to import exclusive catalogues Given the user has logged in as Admin And the user is on Import Catalogue Page When the user input is_exclusive field for catalogue <A> with "YES" value And the user choose the .csv file And the user import the .csv file And the user clicks Import History tab section Then show import activity as success And catalogue <A> successfully imported And show catalogue <A> as exclusive catalogue ``` #### Test Scenario 3 ```gherkin Scenario: As an Admin, I want to import non-exclusive catalogues Given the user has logged in as Admin And the user is on Import Catalogue Page When the user input is_exclusive field for catalogue <A> with "NO" value And the user choose the .csv file And the user import the .csv file And the user clicks Import History tab section Then show import activity as success And catalogue <A> successfully imported And show catalogue <A> as non-exclusive catalogue ``` #### Test Scenario 4 ```gherkin Scenario: As an Admin, I shouldn't be able to import with wrong is_exclusive value Given the user has logged in as Admin And the user is on Import Catalogue Page When the user input is_exclusive field for catalogue <A> with "asdf" value And the user choose the .csv file And the user import the .csv file And the user clicks Import History tab section Then show import activity as failed And show error message in error report ``` ###### tags: `Sprint 26` `Ecommerce 1`