mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-13 06:32:03 +00:00
test: mark the visit, dose and address-book deletes restorable
The three deletes gained an Undo toast that calls the restore route, but the destructive-control registry still listed them as tombstoned with no restore, with comments saying they would become restorable the day a surface offered the undo. The correlation card test's header still described the disabled "Coming soon" action it no longer tests.
This commit is contained in:
1 parent
55b223d4ed
commit
cad4c89831
2 files changed
+7
-10
No files matched your search
@@ -7,9 +7,9 @@ import type { CorrelationResult } from "@/lib/insights/correlations";
|
||||
* v1.4.20 — `<CorrelationCard>` rendering.
|
||||
*
|
||||
* Tests cover:
|
||||
* 1. OK status renders title + interpretation + source chip + disabled CTA.
|
||||
* 1. OK status renders title + interpretation + source chip.
|
||||
* 2. Insufficient status renders the empty-state instead.
|
||||
* 3. CTA is `disabled` and exposes the "Coming soon" tooltip via `title`.
|
||||
* 3. The card offers no placeholder action, only ones that work.
|
||||
* 4. Confidence chip surfaces high / moderate / low.
|
||||
* 5. Locale-aware copy (EN / DE).
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user