Notifications: delete flow counts its Undo toast as an inbox row #1270

Open
opened 2026-10-07 00:21:39 +00:00 by kayg · 0 comments
Owner

Steps:

  1. Run bun e2e/notifications.mjs against a real server.
  2. Delete one of the two share notifications.

Expected by the current E2E assertion: two inbox items remain after the deletion.

Actual: the inbox has three rows: two share_received items and a web_toast item titled “Notification deleted” with an Undo action. The E2E waits for exactly two rows and times out. The toast is also covered as a persistent Notifications record while its callback is live in apps/web/src/lib/stores/toasts.svelte.test.ts.

Evidence: /home/kayg/Developer/calternal-wt/bash-core/target/tmp/notifications-delete-count.txt; failing assertion in apps/web/e2e/notifications.mjs.
Severity: minor.

Steps: 1. Run `bun e2e/notifications.mjs` against a real server. 2. Delete one of the two share notifications. Expected by the current E2E assertion: two inbox items remain after the deletion. Actual: the inbox has three rows: two `share_received` items and a `web_toast` item titled “Notification deleted” with an Undo action. The E2E waits for exactly two rows and times out. The toast is also covered as a persistent Notifications record while its callback is live in `apps/web/src/lib/stores/toasts.svelte.test.ts`. Evidence: `/home/kayg/Developer/calternal-wt/bash-core/target/tmp/notifications-delete-count.txt`; failing assertion in `apps/web/e2e/notifications.mjs`. Severity: minor.
Commenting is not possible because the repository is archived.
No labels
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal-v0#1270
No description provided.