Skip to content

test(e2e): stabilize Chromium rendering for cross-runner determinism#2113

Draft
chintankavathia wants to merge 1 commit into
mainfrom
test/e2e/flaky-tests/playwright-configs
Draft

test(e2e): stabilize Chromium rendering for cross-runner determinism#2113
chintankavathia wants to merge 1 commit into
mainfrom
test/e2e/flaky-tests/playwright-configs

Conversation

@chintankavathia
Copy link
Copy Markdown
Member

@chintankavathia chintankavathia commented May 29, 2026

disable font hinting so screenshot output no longer depends on the GitHub-hosted runner's kernel/CPU scheduling.


Documentation.
Examples.
Dashboards Demo.
Playwright report.

Coverage Reports:

Code Coverage

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the Playwright configuration to add Chrome launch arguments that force the SwiftShader software rasterizer and disable font subpixel positioning, aiming to achieve deterministic text and shape rasterization. A review comment correctly points out that the --use-gl=swiftshader flag is deprecated in modern Chromium versions and suggests using --use-gl=angle and --use-angle=swiftshader instead.

Comment thread playwright.config.ts Outdated
@chintankavathia chintankavathia force-pushed the test/e2e/flaky-tests/playwright-configs branch 3 times, most recently from 2093f93 to b071f01 Compare May 29, 2026 13:33
@github-actions
Copy link
Copy Markdown

⬇️ Download VRTs

Force the software (SwiftShader) rasterizer and disable font hinting,
subpixel positioning, and LCD text so screenshot output no longer
depends on the GitHub-hosted runner's kernel/CPU scheduling.
@chintankavathia chintankavathia force-pushed the test/e2e/flaky-tests/playwright-configs branch from b071f01 to dab04ac Compare May 29, 2026 13:47
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