mirror of
https://github.com/jcreek/LivingDexTracker.git
synced 2026-09-15 01:52:39 +00:00
fix: remediate branch review findings
This commit is contained in:
@@ -26,22 +26,36 @@ Feature: Account access
|
||||
|
||||
Scenario: Sign out
|
||||
Given I am signed in
|
||||
And my offline copy is synchronized
|
||||
When I sign out
|
||||
Then I return to the public home page
|
||||
And my offline copy is removed
|
||||
|
||||
Scenario: Keep the session when sign out fails
|
||||
Given I am signed in
|
||||
And my offline copy is synchronized
|
||||
When the sign-out request fails
|
||||
Then I remain signed in with an error
|
||||
And my offline copy remains
|
||||
|
||||
Scenario: Request a password reset
|
||||
Given I have a confirmed account
|
||||
When I request a password reset
|
||||
Then a password reset email is captured locally
|
||||
|
||||
Scenario: Reject a normal session on the recovery page
|
||||
Given I am signed in
|
||||
When I visit the password recovery page directly
|
||||
Then the replacement password form is unavailable
|
||||
|
||||
@product-review
|
||||
Scenario: Reject mismatched replacement passwords
|
||||
Given I am signed in on the password reset page
|
||||
Given I follow a valid password reset link
|
||||
When I enter two different replacement passwords
|
||||
Then I am told that the passwords do not match
|
||||
|
||||
Scenario: Complete a password reset
|
||||
Given I am signed in on the password reset page
|
||||
Given I follow a valid password reset link
|
||||
When I enter a valid replacement password
|
||||
Then I am told that my password was updated
|
||||
|
||||
And only the replacement password signs me in
|
||||
|
||||
Reference in New Issue
Block a user