Skip to content

fix(web-awesome): restore step tree expansion policy logic#680

Merged
epszaw merged 1 commit into
mainfrom
fix/e2e-steps-tests
Jun 1, 2026
Merged

fix(web-awesome): restore step tree expansion policy logic#680
epszaw merged 1 commit into
mainfrom
fix/e2e-steps-tests

Conversation

@todti

@todti todti commented May 30, 2026

Copy link
Copy Markdown
Collaborator

Summary

Root cause

In #676, the line:

const isRootOpenedByDefault = isOpenByDefaultForPolicy(policy, hasFailedStepContext(bodyItems));

was replaced with:

const isRootOpenedByDefault = true;

This broke expand_failed_only (passed-only steps were shown) and collapsed (steps were never collapsed by default).

Accidentally replaced with hardcoded `true` in #676, which caused all
steps to be shown regardless of expansion policy, breaking
expand_failed_only and collapsed behaviours.
@github-actions

Copy link
Copy Markdown

Allure Report Summary

Name Duration Stats New Flaky Retry Report
Allure 3 Report 25m 56s Passed tests 1443   Skipped tests 15 0 0 0 View
My Dashboard 25m 56s Passed tests 1443   Skipped tests 15 0 0 0 View
Allure 3 GitHub actions run (2026-05-30T12:17:52.905Z) 25m 56s Passed tests 1443   Skipped tests 15 0 0 0 View

@epszaw epszaw merged commit 59cde9b into main Jun 1, 2026
11 checks passed
@epszaw epszaw deleted the fix/e2e-steps-tests branch June 1, 2026 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants