Skip to content

FE - Error Toast Does Not Appear When Network Error Occurs During Leave Application #1012

Description

@dasithrootcode

Timestamp:
Date Identified: 2025.11.26

Bug Description:

Summary:
If a user applies for a leave and a network error happens, no error toast is shown, leaving the user without feedback.

Environment: Skapp Enterprise Dev

Preconditions:

  • User is logged into the system.
  • User has available leaves to apply.
  • Network interruption or simulated network failure.

Steps to Reproduce:

  1. Log into the application.
  2. Click 'Apply Leave' from the Nav bar.
  3. Select a leave type.
  4. Fill out leave details.
  5. Introduce a network failure (disconnect or simulate network error).
  6. Click apply and observe the system behaviour.

Actual Result:
No error toast appears when the network error occurs.

Screen.Recording.2026-02-02.213646.mp4

Expected Result:
An error toast should appear informing the user that the leave application failed due to a network issue.

The toast content should be:
Oops! Something went wrong.
No internet connection. Please check your network and try again.

Impact Assessment:

Affected Users:
All users applying leave during unstable or failed network conditions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    Status
    Todo
    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions