---
# System prepended metadata

title: E1AM-109 - Reset password in admin panel
tags: [Sprint 19, Ecommerce 1]

---

# E1AM-109 - Reset password in admin panel

>**As a Sinbad Admin**, I need to be able to reset password my store in the admin panel so that  I can easily access my store detail in Sinbad store list.

> **Design** 
https://overflow.io/s/57VBBR?node=48e18b30

> **PRD** https://docs.google.com/document/d/1Zz9uVGysrxAvG22knZ9aBfapWU_P4j_C0CqOUZYOI2I/edit?pli=1#


## Test Scenarios
#### Test Scenario 1
```gherkin
Scenario: As an Admin, I should be able to see 'Reset Password' Section
    Given the user has log in to Admin Panel
        And the user is on Sinbad Store List Page
    When the user click store <A> detail
        And the user is on Store Detail Page
    Then show 'Reset Password' tab section
```

#### Test Scenario 2
```gherkin
Scenario: As an Admin, I want to access reset password form
    Given the user has log in to Admin Panel
        And the user is on Reset Password Section
    When the user clicks 'Edit' button
    Then show 'Reset Password' input form
```

#### Test Scenario 3
```gherkin
Scenario: As an Admin, I shouldn't be able to reset password with blank fields
    Given the user has log in to Admin Panel
        And the user is on Reset Password Section
    When the user fill the input field(s) with blank
    Then show 'Save' button as disabled button
        And the user can't save new password
```

#### Test Scenario 4
```gherkin
Scenario: As an Admin, I shouldn't be able to reset password with different New & Re-type password
    Given the user has log in to Admin Panel
        And the user is on Reset Password Section
    When the user fill 'New Password' with password <A>
        And the user fill 'Re-Type Password' with password <B>
    Then show error message
        And show 'Save' button as disabled button
```

#### Test Scenario 5
```gherkin
Scenario: As an Admin, I shouldn't be able to reset password with wrong format password
    Given the user has log in to Admin Panel
        And the user is on Reset Password Section
    When the user fill 'New Password' with wrong format password
    Then show error message
        And show 'Save' button as disabled button
```

#### Test Scenario 6
```gherkin
Scenario: As an Admin, I should be able to reset password with correct format password
    Given the user has log in to Admin Panel
        And the user is on Reset Password Section
    When the user fill 'New Password' with correct password
        And the user fill 'Re-Type Password' with correct password
        And the user clicks 'Save' button
    Then the user successfully reset the password
```

###### tags: `Sprint 19` `Ecommerce 1`