Skip to content

Stabilize screenshot tests from possible left panel width changes#228

Merged
MidhunSureshR merged 1 commit into
mainfrom
midhun/collapsible/fix-width
Mar 30, 2026
Merged

Stabilize screenshot tests from possible left panel width changes#228
MidhunSureshR merged 1 commit into
mainfrom
midhun/collapsible/fix-width

Conversation

@MidhunSureshR
Copy link
Copy Markdown
Member

@MidhunSureshR MidhunSureshR commented Mar 30, 2026

The left panel became 1px wider when I upgraded react-resizable-panels package in EW.
The width used here is just what is currently default on EW develop.
The reason to use a separate fixture instead of a screenshot option is that at least on one test (location.spec.ts), the screenshot never succeeds because playwright does not deem the DOM to have been stabilized.

@MidhunSureshR MidhunSureshR marked this pull request as ready for review March 30, 2026 12:58
@MidhunSureshR MidhunSureshR requested a review from a team as a code owner March 30, 2026 12:58
Comment thread packages/element-web-playwright-common/src/index.ts
Comment thread packages/element-web-playwright-common/src/index.ts
Copy link
Copy Markdown
Member

@Half-Shot Half-Shot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems fine to me. Does the lack of stability mean there is a bug upstream though?

@MidhunSureshR MidhunSureshR merged commit 1c8579d into main Mar 30, 2026
17 checks passed
@MidhunSureshR MidhunSureshR deleted the midhun/collapsible/fix-width branch March 30, 2026 14:05
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.

2 participants