# SSC - Account Management ## Account Management Test Scenarios #### Test Scenario 1 ```gherkin Scenario: As Admin I want to see list Guest store Given I log in as admin When I click tab Store List And I click Guest tab Then I can see list of newly requested stores (Guest) ``` #### Test Scenario 2 ```gherkin Scenario: As Admin, I want to see profile detail request store Given I log in as admin When I click tab Stores Request And I click new stores tab Then I can see list of request stores When I click row list toko Then I can see detail profile toko ``` #### Test Scenario 3 ```gherkin Scenario: As Admin, I want to Reject Store Given I Log In As Admin And I go to new store menu When I checked checkbox And I click option action on the column "action" And I select "reject" And I write the description And I Click button "Submit" Then Toko rejected ``` #### Test Scenario 4 ```gherkin Scenario: As Admin I want be able to approve request store Given I Log In As Admin And I go to new store menu When I checked checkbox And I click option action on the column "action" And I select "Approve" And I write the description And I Click button "Submit" Then Toko Approved ``` #### Test Scenario 5 ```gherkin Scenario: As Admin, I want to see Order from new stores Given Log In As Admin When I go to new store & order menu Then I can see list order from new stores ``` #### Test Scenario 6 ```gherkin Scenario: As Admin I want to reject order from new stores Given I Log In As Admin And I already in new store and order menu When I checked checkbox And I click option action on the column "action" And I select "reject" And I write the description And I Click button "Submit" Then Order rejected ``` #### Test Scenario 7 ```gherkin Scenario: As Admin I want be able to approve Order new store Given I Log In As Admin And I already in new store & order menu When I checked checkbox And I click option action on the column "action" And I select "Approved" And I write the description And I Click button "Submit" Then Order Approved ``` #### Test Scenario 8 ```gherkin Scenario: As Admin, I want to see order detail from new store Given I log in as admin And I already in new store & order menu When I click Once row list toko Then I can see detail order from new toko ``` #### Test Scenario 9 ```gherkin Scenario: As Admin, I want to see list of stores complain Given I Log In As Admin When I click store request tab And I click store complain tab Then I can see list of store complain ``` #### Test Scenario 10 ```gherkin Scenario: As Admin, I want to see detail complain stores Given I Log In as admin And I already in store complain menu When I click row of complain in store complain list Then I can see complain detail ``` #### Test Scenario 11 ```gherkin Scenario: As Admin, I want to take action complain status to be "solved" Given I Log In as admin And I already in store complain menu When click "option" action And I chose Solved Then complain status to be "solved" ``` #### Test Scenario 12 ```gherkin Scenario: As Admin, I want to take action complain status to be "solved" Given I Log In as admin And I already in store complain menu When click "option" action And I chose delete Then complain deleted ``` #### Test Scenario 13 ```gherkin Scenario: As Admin, I want to ensure the order accepted Given I log in as admin And I already in new store & order menu When I click Once row list toko Then I can see detail order from new toko And I see The order status "Approved" ``` #### Test Scenario 14 ```gherkin Scenario: As an Admin, I want to see approved store details Given the user login to SSC And the user is on Store List Page When the user click Verified tab And the user clicks store row Then the user redirects to Detail Store Page And show 'Store Status' field as green 'Active' wording ``` #### Test Scenario 15 ```gherkin Scenario: As an Admin, I want to see rejected store details Given the user login to SSC And the user is on Store List Page When the user click Rejected tab And the user clicks store row Then the user redirects to Detail Store Page And show 'Store Status' field as Red 'Inactive' wording ``` ## Bulk Update Store Test Scenarios #### Test Scenario 1 ```gherkin Scenario: As an Admin, I want to bulk update Store's Information by importing Excel File Given the user login to SSC And the user is on Store List Page When the user click checkboxes for multiple stores And the user clicks 'Import' button And the user choose the formatted excel file Then the choosen stores information changed based on the excel's data And show notification for successfully updated information And the choosen stores status changed to 'Pending' ``` #### Test Scenario 2 ```gherkin Scenario: As an Admin, I should be able to see changed information for the choosen stores for bulk update Given the user login to SSC And the user has bulk-updated multiple stores using excel And the user is on Store List Page When the user clicks 'Pending' tab section Then show choosen multiple stores new changed information ``` #### Test Scenario 3 ```gherkin Scenario: As an Admin, I should not be able to update store's information by importing non-excel file Given the user login to SSC And the user is on Store List Page When the user click checkboxes for multiple stores And the user clicks 'Import' button And the user choose non-excel file Then the user can't choose non-excel file to upload And failed to update store's information ``` ## Retry Mechanism Test Scenarios #### Test Scenario 1 ```gherkin Scenario: As an Admin, I should able to see the log for retry mechanism when send order failed (body request) Given the user has product(s) added to cart And body request of the send order is incorrect When the user send order to supplier Then order failed to be sent to supplier And retry mechanism for failed order start running And the admin can see the log for retry mechanism service running ``` #### Test Scenario 2 ```gherkin Scenario: As an Admin, I should able to see the log for retry mechanism when send order failed (connection time-out) Given the user has product(s) added to cart When the user send order to supplier And the user's connection timed-out Then order failed to be sent to supplier And retry mechanism for failed order start running And the admin can see the log for retry mechanism service running ``` ###### tags: `Sprint 17` `Ecommerce` `SSC` `Sinbad`