Skip to content

[2.1] Refresh stale visual baselines and fix shell menu scenes - #38108

Merged
shah-harshit merged 2 commits into
2.1from
fix/2.1-refresh-stale-visual-baselines
Nov 18, 2026
Merged

shah-harshit merged 2 commits into
2.1from
fix/2.1-refresh-stale-visual-baselines

Conversation

@shah-harshit

@shah-harshit shah-harshit commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Describe your changes:

Fixes stale visual snapshots and the two shell-menu readiness checkpoints in the 2.1 release nightly.

The 2.1 release nightly (OMD PostgreSQL run 44266671648, MySQL run 44266684013) failed all 7 visual shards with 36 failures. The squash merge of main into 2.1 (#38083) brought rendering changes whose baselines were never refreshed. Playwright does not run on PRs (the gate fires only on merge_group, schedule and workflow_dispatch), and OSS no longer uses a merge queue, so no PR check ran the visual lane before merge.

40 baselines refreshed from reviewed Linux CI screenshots. The first 32 came from release-nightly runs 44266671648 / 44266684013. Eight additional baselines come from run 44289392299 at commit 1233b1e2b849b22ad77bc217404d6159d6d905de. The eight first-attempt images and their 16 retries match under the existing screenshot tolerances; no tolerance was increased.

Baselines Cause
Tableau / TableauPipeline connector form, expanded form and authType branch (light/dark, 12) New TableauConnectedAppAuth option (#37084)
explore, tab-domain-data-products (light/dark), metric-tab-assets, metric-state-assets (light/dark) Entity summary panel fixed at 400px (#37888); CopyButton spacing (#37953)
test-definition-create / -validation (light/dark) SQL editor CopyButton adds 4px height (#37953)
explore-tools-menu (light/dark) New Advanced Search icon (#37973)
landing-page, landing-page-sidebar-expanded Data Estate counts exclude columns (#37910), plus the Insights icon
users Name and Email columns (#37127, #37998)
settings, data-quality, incident-manager, bots, teams, roles, applications, glossary, database-services Insights sidebar icon only (#37973)

shell-profile-menu and shell-mode-menu scene fix. Both scenes waited for my-data-page at /my-data. #38077 made /my-data render the home landing page in AI mode, so they now wait for home-landing-page. All four full-page baselines are now refreshed from the verification run. The same run exposed four expanded Tableau screenshots that the earlier failures had prevented the tests from reaching; those are also refreshed.

Type of change

  • Bug fix (test-only; no linked issue required).

High-level design

Keep the existing visual scenarios, strict form comparisons and screenshot tolerances. Update their expected images to the intended rendering already present on 2.1, and use the home-page readiness checkpoint for both shell menus. No product code, workflow, schema, API or submodule changes.

Tests

Unit tests and coverage

Not applicable: no application logic changed.

Backend and ingestion integration tests

Not applicable: no backend or ingestion changes.

Playwright (UI) tests

Linux verification run 44289392299 tested 1233b1e2b849b22ad77bc217404d6159d6d905de before these final eight baseline updates:

  • All shards: 2,298 passed, 8 failed, 1 flaky, 0 skipped.
  • Failures: connectorForms.spec.ts expanded Tableau and TableauPipeline forms (light/dark), and interactionStates.spec.ts shell-profile-menu and shell-mode-menu (light/dark). All eight now have reviewed replacement baselines.
  • Flaky: entityTabs.spec.ts / metric-tab-assets (dark), passed on retry. Its baseline is unchanged by the follow-up commit; no claim of a fully clean suite.
  • Local artifact replay: Playwright image comparator checked all 24 captures for the eight updated baselines (first attempt plus two retries each); 24 passed, 0 failed, using existing form/page tolerances. This compares saved images; it does not re-execute browser tests.
  • Local Playwright browser suite not run: this is OSS and baseline generation requires the Linux CI renderer. A full run against the final commit remains pending.

Visual regression baselines

40 PNG files refreshed in total. Eight final files use first-attempt -actual.png files from run 44289392299. The remaining 32 were captured by the original release-nightly runs linked above.

Refreshed baseline files
  • connectionBranches.spec.ts-snapshots/connection-branch-dashboardServices-Tableau-root-authType-3512437263-dark.png
  • connectionBranches.spec.ts-snapshots/connection-branch-dashboardServices-Tableau-root-authType-3512437263.png
  • connectionBranches.spec.ts-snapshots/connection-branch-pipelineServices-TableauPipeline-root-authType-3512437263-dark.png
  • connectionBranches.spec.ts-snapshots/connection-branch-pipelineServices-TableauPipeline-root-authType-3512437263.png
  • connectorForms.spec.ts-snapshots/connection-dashboardServices-Tableau-dark.png
  • connectorForms.spec.ts-snapshots/connection-dashboardServices-Tableau-expanded-dark.png
  • connectorForms.spec.ts-snapshots/connection-dashboardServices-Tableau-expanded.png
  • connectorForms.spec.ts-snapshots/connection-dashboardServices-Tableau.png
  • connectorForms.spec.ts-snapshots/connection-pipelineServices-TableauPipeline-dark.png
  • connectorForms.spec.ts-snapshots/connection-pipelineServices-TableauPipeline-expanded-dark.png
  • connectorForms.spec.ts-snapshots/connection-pipelineServices-TableauPipeline-expanded.png
  • connectorForms.spec.ts-snapshots/connection-pipelineServices-TableauPipeline.png
  • entityTabs.spec.ts-snapshots/metric-tab-assets.png
  • entityTabs.spec.ts-snapshots/tab-domain-data-products-dark.png
  • entityTabs.spec.ts-snapshots/tab-domain-data-products.png
  • exploreInteractions.spec.ts-snapshots/explore-tools-menu-dark.png
  • exploreInteractions.spec.ts-snapshots/explore-tools-menu.png
  • interactionStates.spec.ts-snapshots/shell-mode-menu-dark.png
  • interactionStates.spec.ts-snapshots/shell-mode-menu.png
  • interactionStates.spec.ts-snapshots/shell-profile-menu-dark.png
  • interactionStates.spec.ts-snapshots/shell-profile-menu.png
  • interactionStates.spec.ts-snapshots/test-definition-create-dark.png
  • interactionStates.spec.ts-snapshots/test-definition-create.png
  • interactionStates.spec.ts-snapshots/test-definition-validation-dark.png
  • interactionStates.spec.ts-snapshots/test-definition-validation.png
  • metricList.spec.ts-snapshots/metric-state-assets-dark.png
  • metricList.spec.ts-snapshots/metric-state-assets.png
  • staticPages.spec.ts-snapshots/applications.png
  • staticPages.spec.ts-snapshots/bots.png
  • staticPages.spec.ts-snapshots/data-quality.png
  • staticPages.spec.ts-snapshots/database-services.png
  • staticPages.spec.ts-snapshots/explore.png
  • staticPages.spec.ts-snapshots/glossary.png
  • staticPages.spec.ts-snapshots/incident-manager.png
  • staticPages.spec.ts-snapshots/landing-page-sidebar-expanded.png
  • staticPages.spec.ts-snapshots/landing-page.png
  • staticPages.spec.ts-snapshots/roles.png
  • staticPages.spec.ts-snapshots/settings.png
  • staticPages.spec.ts-snapshots/teams.png
  • staticPages.spec.ts-snapshots/users.png

Local checks and manual verification

  • git diff --check origin/2.1...HEAD: passed.
  • JSON parse of playwright/fixtures/visual/scenarios.json: passed.
  • prettier --config .prettierrc.yaml --ignore-path .prettierignore --check playwright/fixtures/visual/scenarios.json: passed.
  • Reviewed all eight follow-up expected/actual/diff images. Expanded forms differ at the new TableauConnectedAppAuth option. Shell menus remain open over the home landing page, matching the route change.
  • Reviewed scenario consumers and paired light/dark captures. Test map: fixtures/visual/scenarios.json is exercised by VisualRegression/interactionStates.spec.ts through utils/visualScenarios.ts.
  • No manual application session or full local lint run performed; follow-up changes only PNG files.

UI screen recording

Not applicable: visual-test maintenance only; no product UI changed in this PR.

Checklist

  • Test-fix issue exemption; skip-pr-checks label applied.
  • Existing rendering changes have corresponding updated baselines.
  • Self-review against REVIEW.md: reviewed commit 5ca90a7acc02daaa892496c0aaf24e1c73b918d0; no outstanding important findings in the changed test data/checkpoints.
  • Explanatory-comment review: PNG assets and declarative readiness values need no new source comments.
  • Schema/migration, API coverage and feature recording requirements: not applicable.
  • Decision check: no new contract, default, limit or durable architectural decision.
  • Full visual suite rerun at final commit (pending); one metric screenshot flake remains documented above.

RetriggerView in GreptileConfidence Score: 5/5

The reviewable code appears safe to merge.

Summary

This PR refreshes visual test baselines and updates the shell menu scenes to wait for the home landing page.

  • Visual checks now match current screens and wait for the shell page to load.

Reviews (2) · Last reviewed commit: "test(playwright): complete 2.1 shell and..." · Reviewed by Greptile

…nu scenes

Refresh 32 baselines from the 2.1 nightly (run 44266671648) actuals. Every
diff traces to an intended change that arrived with the main merge: Tableau
connected-app auth option (#37084), 400px entity summary panel (#37888),
unified CopyButton (#37953), new Insights/AdvancedSearch icons (#37973),
Data Estate connector counts (#37910) and the users Name/Email columns
(#37127, #37998).

shell-profile-menu and shell-mode-menu waited for my-data-page, which
#38077 removed from /my-data in AI mode; wait for home-landing-page.
@gitar-bot

gitar-bot Bot commented Nov 18, 2026

Copy link
Copy Markdown
Code Review ✅ Approved 🟡 Medium risk

Changing shell-menu visual tests to wait for the home landing page alters screenshot capture timing and could capture a different page state.

Refreshes 32 stale Playwright visual baselines from the 2.1 nightly failures and updates the shell profile and mode menu scenes to wait for home-landing-page instead of my-data-page. No product code changed and no issues were found.

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 dc36ffd into 2.1 Nov 18, 2026
48 checks passed
@shah-harshit
shah-harshit deleted the fix/2.1-refresh-stale-visual-baselines branch November 18, 2026 13:15
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