Skip to content

test: add coverage for notification/address-book UI, fix landing E2E strict-mode violation - #1025

Merged
Austinaminu2 merged 1 commit into
FlowwStar:mainfrom
Samson-Starlion:fix/samson-starlion-batch
Oct 18, 2026
Merged

Austinaminu2 merged 1 commit into
FlowwStar:mainfrom
Samson-Starlion:fix/samson-starlion-batch

Conversation

@Samson-Starlion

Copy link
Copy Markdown
Contributor

Summary

  • NotificationPreferencesSettings: added tests covering that a toggle renders per notification type, and that toggling one persists through useNotificationPreferences (localStorage).
  • AddressBookSettings: added tests covering rendering of saved entries, edit → save updating an entry's label, and delete removing an entry.
  • NotificationBell: added tests covering the unread badge count, open/close toggle, click-outside dismissal, Escape dismissal, and per-notification title/body rendering.
  • e2e/landing.spec.ts: replaced the ambiguous page.locator('text=FlowStar') (matched 7 elements — header brand, footer brand, and body copy) with a locator scoped to the brand link inside the page banner, resolving the strict-mode violation.

No production code changes were needed for the test issues (#914, #912, #911) — all behavior already matched the acceptance criteria once covered by tests.

Test plan

  • npm test passes with the new specs under __tests__/components/
  • npx playwright test e2e/landing.spec.ts passes on chromium-desktop

Closes #914
Closes #912
Closes #911
Closes #906

🤖 Generated with Claude Code

…strict-mode violation

- NotificationPreferencesSettings: cover per-type toggle rendering and
  that toggling persists through useNotificationPreferences.
- AddressBookSettings: cover rendering saved entries, edit->save updating
  an entry, and delete removing an entry.
- NotificationBell: cover unread badge count, open/close toggle, click
  outside, Escape, and per-notification title/body rendering.
- e2e/landing.spec.ts: replace the ambiguous `text=FlowStar` locator
  (matches 7 elements) with a scoped locator on the banner's brand link.

Closes FlowwStar#914
Closes FlowwStar#912
Closes FlowwStar#911
Closes FlowwStar#906

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@drips-wave

drips-wave Bot commented Oct 18, 2026

Copy link
Copy Markdown

@Samson-Starlion Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Austinaminu2
Austinaminu2 merged commit 21d8628 into FlowwStar:main Oct 18, 2026
1 of 7 checks passed

This branch had an error being deployed

1 failed deployment
staging — a8914f80 Deployed Oct 18, 2026 by Samson-Starlion via deploy-staging #347
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants