Repository navigation
# test(e2e): add notification panel unread badge and bulk read tests (#3806) - #3831
Open
KartikeyG-world wants to merge 3 commits into
Open
KartikeyG-world wants to merge 3 commits into
KartikeyG-world wants to merge 3 commits into
Conversation
KartikeyG-world
requested a review
from Priyanshu-byte-coder
as a code owner
November 26, 2026 06:59
Priyanshu-byte-coder
requested changes
Nov 26, 2026
Priyanshu-byte-coder
left a comment
Owner
There was a problem hiding this comment.
Solid test, passes in CI. Same small thing as #3829: please drop the "Per Section 4.4 (No artificial implementation)" line from the comment, since that document doesn't exist here. Keeping the note that there's no per-item mark-as-read control is helpful. Then it's ready.
|
Thanks for the PR, @KartikeyG-world! ❄️ This PR is tracked for Winter of Code Social 2026.
See CONTRIBUTING.md for the details. |
Contributor
Author
|
@Priyanshu-byte-coder |
Priyanshu-byte-coder
approved these changes
Nov 26, 2026
Priyanshu-byte-coder
left a comment
Owner
There was a problem hiding this comment.
Thanks for the cleanup, ready to go.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #3806
Description
Adds Playwright E2E test coverage for the notification drawer, unread notification count badge, bulk mark-as-read on panel open, and clear all actions.
Key Changes
e2e/notifications.spec.jswith unread notifications.PATCH, clears the unread count badge on the bell icon, and displays "All caught up" in the header while keeping notifications listed.Architectural Note for Maintainers
src/app/api/notifications/route.tsandsrc/components/NotificationBell.tsxconfirmed that DevTrack implements automatic bulk mark-as-read upon opening the panel (handleOpen), and has no individual notification mark-as-read UI button or endpoint. The test exercises this real implementation without artificial mocks.Testing & Verification
pnpm run type-check: Passed with 0 errors.git diff --check: 0 whitespace issues.Contributor Notes (WOCS 2026)
test/issue-3806-notifications-e2e->main