Displays detailed information for a selected test case, including its description, preconditions, execution steps, and expected results

Test Cases Details

Test Case ID: TC-GLUE-002

Description: This test case validates that when a user attempts to log in with valid credentials, but the network connection becomes unstable or times out during the request, the system correctly handles the error without granting access. It ensures the application gracefully handles timeouts and maintains security by not allowing unintended login success.

Preconditions:

  1. User account already exists with valid credentials.
  2. Access to the login page of https://owasp.glueup.com/.
  3. Simulated or controlled network interruption setup (e.g., throttled or unstable network).

Steps:

  1. Navigate to the login page.
  2. Enter valid user credentials (registered email and correct password).
  3. Before clicking Login, simulate a network slowdown or disconnection.
  4. Click on the Login button.
  5. Observe the system response during the timeout or connection drop.
  6. Reconnect the network and check whether the session was created or access granted.

Expected Results:

  1. The login request fails gracefully due to the network timeout.
  2. The system displays an appropriate error message, such as:
  3. User is not logged in, and no active session is created.
  4. After restoring the network, the user can successfully log in again with the same credentials.