kudrra / cc_pink4_qc

0 stars 0 forks source link

[Acceptance] logging out #12

Open kudrra opened 1 year ago

kudrra commented 1 year ago

As a resigtered user, I want to log out from my account, so nobody would have access to it.

Acceptance criteria:

Given: The user is logged in. When: The user clicks the "Log Out" button. Then: The system logs the user out and redirects them to the home page.

Given: The user is logged out. When: The user tries to access their profile or order history page. Then: The system redirects them to the login page, requiring them to log in again.

Given: The user is on the login page. When: The user clicks on the "Forgot Password?" link. Then: The system navigates the user to the password reset page, allowing them to reset their password