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:

  1. User account already exists with valid credentials.
  2. Access to the login page of https://qualityfolio.dev/.
  3. An expired or manually invalidated session token is available for testing.

Steps:

  1. Log into the application with valid credentials.
  2. Allow the session to expire (or manually invalidate the token via browser devtools).
  3. Attempt to navigate to a protected page (e.g., dashboard).
  4. Observe the system response.
  5. Verify that the user is redirected to the login page.

Expected Results:

  1. The system detects the expired session token.
  2. Access to the protected page is denied.
  3. The user is redirected to the login page with a message such as "Your session has expired. Please log in again."
  4. No protected data is visible or accessible during or after the redirect.
No data