Displays detailed information for a selected test case, including its description, preconditions, execution steps, and expected results
Test Cases Metadata
Priority
High
Test Type
Functional
Scenario Type
Negative Path
Execution Type
Manual
Tags
Login, Session, Negative, Security
Test Cases Details
Test Case ID: TC-QUALITYFOLIO-003
Description: This test case validates that when a user attempts to access a protected page using an expired session token, the system correctly rejects the request, invalidates the session, and redirects the user to the login page without exposing any protected data.
Preconditions:
- User account already exists with valid credentials.
- Access to the login page of https://qualityfolio.dev/.
- An expired or manually invalidated session token is available for testing.
Steps:
- Log into the application with valid credentials.
- Allow the session to expire (or manually invalidate the token via browser devtools).
- Attempt to navigate to a protected page (e.g., dashboard).
- Observe the system response.
- Verify that the user is redirected to the login page.
Expected Results:
- The system detects the expired session token.
- Access to the protected page is denied.
- The user is redirected to the login page with a message such as "Your session has expired. Please log in again."
- No protected data is visible or accessible during or after the redirect.