Skip to content

Add notifications behaviour unit tests #612

Description

@ajirthan

Part of #598

Parent

#598 — first-party Oxygen UI unit tests (epic)

What to build

Colocated behaviour tests for notifications: NotificationPanel slots, useNotifications, and NotificationBanner — list, empty, dismiss, and mark-read.

Acceptance criteria

  • NotificationPanel slots that change structure or behaviour are locked (including empty)
  • useNotifications locks add, dismiss, and mark-read at the public hook API
  • NotificationBanner locks show / dismiss / severity at the public API (not paint)
  • Tests go through the shared render-with-theme helper from Add test contract and render-with-theme helper #601
  • The existing accessibility file is left in place
  • The library Vitest suite passes

Blocked by

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions