cds-snc / cds-snc/platform-forms-client

Error when trying to save without network connection + toast remains

Open
#5,990 2 comments 0 reactions 0 assignees View on GitHub
:vertical_traffic_light: Moderate bug testing
Dominant language
TypeScript
Stars
46
Forks
16
Avg merge
1d 9h
Merged PRs (30d)
91

Description

# File upload QA v2

## Description

When going offline in the middle of the submitting action, one gets brought back to the review page with an error message as expected.

Screenshot 2025-08-12 at 2.17.40 PM.png

However, if trying to save without network connection (while offline), a toast appears, and remains even once connection is restored.

[Private Zenhub Video](https://api.zenhub.com/attachedFiles/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBM1lIQ3c9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==--716f3462b88f6e2a88aada824bf3fff12bb66fd0/Screen%20Recording%202025-08-12%20at%202.56.19%E2%80%AFPM.mov)

Image

Related to #5989

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the offline save flow described under “File upload QA v2,” comparing it with the submitting flow that returns to the review page. Trace the toast behavior while offline and after the connection is restored; done means the error is handled without leaving a persistent toast.

Written by the indexing model from the issue text.

Assessment

Tech stack
nextjs, typescript
Domain
frontend, testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.