Repository navigation
test(playwright): refresh stale visual regression baselines - #38137
Conversation
Code Review ✅ Approved 🟢 Low riskReplacing 36 Playwright screenshot baselines changes only expected test images; it does not alter application behavior or executable checks. Refreshes 36 stale Linux visual regression baselines (PNG only) after intended UI changes to Tableau auth forms, entity summary panels, CopyButton, Advanced Search and Insights icons, Data Estate counts, and user Name/Email columns. No open findings; the change is limited to snapshot images with no application or test logic changes. VerificationRules No rules evaluated Functional validation Not enabledAuto-approval Not enabledFor more verification details, comment OptionsDisplay: compact → Showing compact verification results. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
Describe your changes:
Fixes the 31 visual-regression screenshot failures in main nightly run 44224347886, captured at
8a7d55493a1605c03100c4914051f4308228ef34. No issue is required for this test fix.Refresh 36 stale Linux baselines after intended UI changes: Tableau connected-app authentication (#37084), 400px entity summary panels (#37888), the shared CopyButton (#37953), Advanced Search and Insights icons (#37973), Data Estate connector counts (#37910), and user Name/Email columns (#37127, #37998).
Type of change:
High-level design:
Only PNG baselines change. Keep existing scenarios, assertions, fixtures and screenshot tolerances. Use first-attempt actual images from the main Linux nightly for all 31 reported failures. Reuse five reviewed Linux baselines from the 2.1 refresh PR #38108 for expanded Tableau forms and metric assets that follow earlier screenshot assertions. Their previous baseline bytes match main exactly. No application behavior, dependencies, migration or rollout changes.
Tests:
Use cases covered
Tableau dashboard/pipeline connection forms and auth branches; domain data products; Explore tools; test-definition creation/validation; metric assets; and static landing, settings, service, governance, observability and user pages.
Unit tests
Not applicable — no executable code changed. Coverage percentage is not applicable to PNG baselines.
Backend integration tests
Not applicable — no Java or API changes.
Ingestion integration tests
Not applicable — no ingestion changes.
Playwright (UI) tests
Existing specs:
connectionBranches.spec.ts,connectorForms.spec.ts,entityTabs.spec.ts,exploreInteractions.spec.ts,interactionStates.spec.ts,metricList.spec.ts, andstaticPages.spec.ts.No local Playwright execution, per the OSS workflow. A fresh visual-lane run remains pending; this PR does not claim a passing suite.
yarn lint:playwrightand the Prettier check were attempted but could not execute because UI dependencies (eslint,prettier) are absent. No TypeScript or JSON files change in the final diff.Visual regression baselines
metric-tab-assets.png.git diff --checkpasses. All 36 changed files are snapshot PNGs.Refreshed files under playwright/e2e/VisualRegression/__snapshots__/
connectionBranches.spec.ts-snapshots/
connection-branch-dashboardServices-Tableau-root-authType-3512437263-dark.pngconnection-branch-dashboardServices-Tableau-root-authType-3512437263.pngconnection-branch-pipelineServices-TableauPipeline-root-authType-3512437263-dark.pngconnection-branch-pipelineServices-TableauPipeline-root-authType-3512437263.pngconnectorForms.spec.ts-snapshots/
connection-dashboardServices-Tableau-dark.pngconnection-dashboardServices-Tableau-expanded-dark.pngconnection-dashboardServices-Tableau-expanded.pngconnection-dashboardServices-Tableau.pngconnection-pipelineServices-TableauPipeline-dark.pngconnection-pipelineServices-TableauPipeline-expanded-dark.pngconnection-pipelineServices-TableauPipeline-expanded.pngconnection-pipelineServices-TableauPipeline.pngentityTabs.spec.ts-snapshots/
metric-tab-assets.pngtab-domain-data-products-dark.pngtab-domain-data-products.pngexploreInteractions.spec.ts-snapshots/
explore-tools-menu-dark.pngexplore-tools-menu.pnginteractionStates.spec.ts-snapshots/
test-definition-create-dark.pngtest-definition-create.pngtest-definition-validation-dark.pngtest-definition-validation.pngmetricList.spec.ts-snapshots/
metric-state-assets-dark.pngmetric-state-assets.pngstaticPages.spec.ts-snapshots/
applications.pngbots.pngdata-quality.pngdatabase-services.pngexplore.pngglossary.pngincident-manager.pnglanding-page-sidebar-expanded.pnglanding-page.pngroles.pngsettings.pngteams.pngusers.pngManual testing performed
Reviewed before/after image differences against the intended UI changes and mapped each main CI expected image to its tracked baseline before copying its actual image. Checked light/dark pairs where present. No local application stack was started.
UI screen recording:
Not applicable — test baseline maintenance only; no UI feature or runtime rendering changes. Before/after baseline images are available in Files changed.
Checklist:
REVIEW.md: reviewed commit036365061d74c5846d476e3bfe0826e5bb2f8942; no blocking findings. No changed source logic or untested behavior was introduced.