Skip to content

test(playwright): refresh stale visual regression baselines - #38137

Merged
shah-harshit merged 1 commit into
mainfrom
shah-harshit/visual-regression-failures-fix
Nov 18, 2026
Merged

shah-harshit merged 1 commit into
mainfrom
shah-harshit/visual-regression-failures-fix

Conversation

@shah-harshit

Copy link
Copy Markdown
Contributor

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:

  • Bug fix

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, and staticPages.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:playwright and 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

  • 31 refreshed baselines verified pixel-for-pixel against first-attempt actuals from main run 44224347886.
  • Five subsequent captures reuse reviewed Linux images from 2.1 run 44266671648, committed in [2.1] Refresh stale visual baselines and fix shell menu scenes #38108: the four expanded Tableau forms and metric-tab-assets.png.
  • Local Pillow validation: all 36 PNGs decode; dimensions match previous baselines except the intended four-pixel increase in the four test-definition form captures.
  • git diff --check passes. 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.png
  • connection-branch-dashboardServices-Tableau-root-authType-3512437263.png
  • connection-branch-pipelineServices-TableauPipeline-root-authType-3512437263-dark.png
  • connection-branch-pipelineServices-TableauPipeline-root-authType-3512437263.png

connectorForms.spec.ts-snapshots/

  • connection-dashboardServices-Tableau-dark.png
  • connection-dashboardServices-Tableau-expanded-dark.png
  • connection-dashboardServices-Tableau-expanded.png
  • connection-dashboardServices-Tableau.png
  • connection-pipelineServices-TableauPipeline-dark.png
  • connection-pipelineServices-TableauPipeline-expanded-dark.png
  • connection-pipelineServices-TableauPipeline-expanded.png
  • connection-pipelineServices-TableauPipeline.png

entityTabs.spec.ts-snapshots/

  • metric-tab-assets.png
  • tab-domain-data-products-dark.png
  • tab-domain-data-products.png

exploreInteractions.spec.ts-snapshots/

  • explore-tools-menu-dark.png
  • explore-tools-menu.png

interactionStates.spec.ts-snapshots/

  • test-definition-create-dark.png
  • test-definition-create.png
  • test-definition-validation-dark.png
  • test-definition-validation.png

metricList.spec.ts-snapshots/

  • metric-state-assets-dark.png
  • metric-state-assets.png

staticPages.spec.ts-snapshots/

  • applications.png
  • bots.png
  • data-quality.png
  • database-services.png
  • explore.png
  • glossary.png
  • incident-manager.png
  • landing-page-sidebar-expanded.png
  • landing-page.png
  • roles.png
  • settings.png
  • teams.png
  • users.png

Manual 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:

  • Test-fix exception applies to the issue and issue-number title requirements.
  • Comments and schema migrations: not applicable; only PNGs change.
  • Recording: not applicable; no feature or runtime changes.
  • Existing visual tests and refreshed baselines are listed above.
  • Fresh visual-lane execution remains pending.
  • Self-review against REVIEW.md: reviewed commit 036365061d74c5846d476e3bfe0826e5bb2f8942; no blocking findings. No changed source logic or untested behavior was introduced.
  • Decision check: no new contract, default, limit or durable architectural decision; no ADR required.

@shah-harshit
shah-harshit requested a review from a team as a code owner November 18, 2026 14:40
@shah-harshit shah-harshit added UI UI specific issues safe to test Add this label to run secure Github workflows on PRs skip-pr-checks Bypass PR metadata validation check labels Nov 18, 2026
@shah-harshit shah-harshit self-assigned this Nov 18, 2026
@gitar-bot

gitar-bot Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Code Review ✅ Approved 🟢 Low risk

Replacing 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.

Verification

Rules No rules evaluated

Functional validation Not enabled

Set up

Auto-approval Not enabled

Set up

For more verification details, comment gitar display:verbose.

Options

Display: compact → Showing compact verification results.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source

@shah-harshit
shah-harshit merged commit 92229c1 into main Nov 18, 2026
47 checks passed
@shah-harshit
shah-harshit deleted the shah-harshit/visual-regression-failures-fix branch November 18, 2026 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

safe to test Add this label to run secure Github workflows on PRs skip-pr-checks Bypass PR metadata validation check UI UI specific issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants