- Fix a stale test title that still claimed a delete button is visible. - Strengthen the two "never renders a delete button" contract tests (AnnotationShape + AnnotationLayer specs) to assert the annotation element has zero descendant <button> elements, not just the absence of the removed testid (a near-tautology now that the testid is gone). - Harden the e2e delete test: guard countBefore > 0 so a missing seed fails clearly instead of asserting toHaveCount(-1), and capture the deleted annotation's testid to assert that specific element is gone (identity check) alongside the count drop. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
30 KiB
30 KiB