Skip to content

test(ui): assert the menu motion of selects and the expand pattern of the system information disclosures - #1326

Merged
TheMeinerLP merged 1 commit into
mainfrom
test-dashboard-motion-e2e
Nov 23, 2026
Merged

TheMeinerLP merged 1 commit into
mainfrom
test-dashboard-motion-e2e

Conversation

@TheMeinerLP

Copy link
Copy Markdown

Description

Two tests of the motion work were still missing. Nothing asserted that a select opens and closes through the menu transition, and nothing asserted that the disclosures of the system information page expand with the shared pattern and stay still when the page is first drawn. Both now do.

The More panel of the bottom bar cannot be reached in a browser run: the registry puts only three pages in the bar, so no session gets a More item. Its Escape and focus behaviour stays covered by the component test of the page. The "key tree" rows of the Environment and Configuration tabs toggle with buttons and not with a disclosure, so the assertions cover the two real disclosures of the page.

Part of the add-dashboard-motion change, tasks 5.7 and 7.3.

Type of change

  • test - tests only

How was this tested?

  • npx playwright test e2e/navigation.spec.ts -g "select that opens" --workers=2 --project=chromium against the shaded jar built from this branch: 2 passed
  • npx vitest run src/components/support/SystemInfoView.test.ts src/anchors src/style-gate: 294 passed
  • npm run eslint and npm run typecheck: clean

Checklist

  • Commit messages follow the Conventional Commits convention documented in CLAUDE.md
  • Tests cover the change
  • ./gradlew build passes locally (only the shaded jar was built; tests only change)
  • Documentation and configuration samples are updated if the change is user-facing (not user-facing)
  • Existing copyright headers are preserved
  • No credentials, tokens or personal data are included in the diff

… the system information disclosures

The select e2e test now also reads the menu transition classes on open
and on close, with and without reduced motion. The system information
view test asserts that its disclosures use the expand pattern and draw
with no transition on the first paint.

Signed-off-by: TheMeinerLP <github@themeinerlp.dev>
@TheMeinerLP
TheMeinerLP added this pull request to the merge queue Nov 23, 2026
Merged via the queue into main with commit a1cc36a Nov 23, 2026
39 checks passed
@TheMeinerLP
TheMeinerLP deleted the test-dashboard-motion-e2e branch November 23, 2026 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant