Skip to content

fix(web-awesome): expand top-level steps by default; fix keyboard shortcuts styling#683

Open
todti wants to merge 10 commits into
mainfrom
fix/top-level-steps-always-open
Open

fix(web-awesome): expand top-level steps by default; fix keyboard shortcuts styling#683
todti wants to merge 10 commits into
mainfrom
fix/top-level-steps-always-open

Conversation

@todti
Copy link
Copy Markdown
Collaborator

@todti todti commented Jun 2, 2026

What's fixed

Top-level steps always expanded in test result body

Steps directly inside the Test Body, Setup, and Teardown sections were collapsing according to the stepTreeExpansion policy (e.g. with expand_failed_only all passed top-level steps appeared closed). The expectation is that top-level steps are always open by default — the user opens a test result to read it, not to click to expand every step. Nested steps continue to follow the configured policy.

Added an isTopLevel prop to TrBodyItems and TrStep. When true, openedByDefault is always true regardless of policy. The root TrBodyItems call in TrSteps, TrSetup, and TrTeardown passes isTopLevel={true}.

Broken CSS design tokens in keyboard shortcuts panel

The keyboard shortcuts modal and the empty split-layout pane were using four CSS custom properties that don't exist in the design system (--bg-base-primary, --bg-base-secondary, --on-text-secondary, --on-border-muted), causing transparent backgrounds and invisible borders. Replaced with the correct tokens:

  • --bg-base-primary--color-bg-raised
  • --bg-base-secondary--color-bg-neutral
  • --on-text-secondary--color-text-secondary
  • --on-border-muted--color-border-default

todti added 2 commits June 2, 2026 10:51
Top-level steps (direct children of the Test Body / Setup / Teardown
sections) are now always open by default, regardless of the configured
stepTreeExpansion policy. Nested steps continue to follow the policy.
@todti todti added the type:bug Something isn't working label Jun 2, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 2, 2026

Allure Report Summary

Name Duration Stats New Flaky Retry Report
Allure 3 Report 25m 34s Passed tests 1500   Skipped tests 15 15 0 0 View
My Dashboard 25m 34s Passed tests 1500   Skipped tests 15 15 0 0 View
Allure 3 GitHub actions run (2026-06-03T11:53:18.384Z) 25m 34s Passed tests 1500   Skipped tests 15 15 0 0 View

todti added 6 commits June 2, 2026 12:37
…er bar

- Fix tree-item-marked using invisible --color-bg-secondary (same as canvas bg);
  replace with --color-row-bg-selected
- Fix broken CSS tokens --bg-control-flat-medium and --bg-support-aldebaran
  in tree-item-focused and tree-section-focused; replace with
  --color-control-bg and --color-intent-primary-bg
- Add useLayoutEffect in TreeList that scrolls to the marked test result
  when navigating via prev/next arrows (focusedId is cleared in that path)
- Restructure split-mode layout: SplitLayout.wrapper becomes the scroll
  container for the entire left pane so the report header/metadata/root tabs
  scroll away; search + chips + status filter row stay sticky at top via
  position:sticky on ReportBody header
…multi-env tree

- 'p' (navigate to parent group): use scrollIntoView({ block: start })
  so the group always pins to top even when already visible — the old
  scrollFocusIntoView returned delta=0 whenever the element was inside
  the viewport, so the group never pinned
- trId effect: use flatTree lookup + data-tree-node-id query instead of
  getElementById; getElementById returned the first of N duplicate ids
  that exist when the same test result appears in multiple env sections
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

theme:awesome type:bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants