Skip to content

test(frontend): fail the drawer tests when the held React Aria events never fire #405

Closed

Description

@pdevito3

Problem

The drawer tests hold two private React Aria events: scrollend on [data-sheet-scroll] and react-aria-sheet-close. If a react-aria-components upgrade renames one of them, the hold catches nothing. The flake from #397 then comes back, and no test fails to show why.

Fix

Add an assertion that fails when the hold catches no event.

Evidence

Found by a reflection over the sessions of 2026-10-27 to 2026-11-03 (session 580d88eb, the review of PR #397).

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions