Repository navigation
test(ui): assert the menu motion of selects and the expand pattern of the system information disclosures - #1326
Merged
Merged
Conversation
… 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>
6 of 7 tasks
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.
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 onlyHow was this tested?
npx playwright test e2e/navigation.spec.ts -g "select that opens" --workers=2 --project=chromiumagainst the shaded jar built from this branch: 2 passednpx vitest run src/components/support/SystemInfoView.test.ts src/anchors src/style-gate: 294 passednpm run eslintandnpm run typecheck: cleanChecklist
CLAUDE.md./gradlew buildpasses locally (only the shaded jar was built; tests only change)