Repository navigation
test(playwright): refresh visual baselines for the core-ui icon swap and add the memory-approval fixture - #37656
Conversation
…sual lane The Context Center memories card now previews extracted-memory approval on mount, and the visual lane fails any GET it has no fixture for. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… (revert before merge)
…baseline (revert before merge)" This reverts commit 3d2d902.
The baselines refreshed in #37237 were captured from a main build that predated #37093, which replaced the app's assets/svg icons with core-ui icons. Every screen showing the sidebar, header, editor toolbar or connection-form tabs has differed since. Each baseline is replaced with the first-attempt -actual.png from the 2.1 nightly visual lane (Linux renderer, regular UI bundle). Ontology baselines that #37641 refreshes are left to that PR. Co-Authored-By: Claude Opus 5.5 <[email protected]>
❌ PR checklist incompleteThis PR cannot be merged until the following are addressed on its linked issue:
The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically. Maintainers can bypass this check by adding the |
Code Review ✅ Approved 🟢 Low riskAdding an empty extracted-memory approval response only affects Playwright fixtures, leaving application runtime behavior and interfaces unchanged. Refreshes Playwright visual baselines for the core-ui icon swap and adds a 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 |
…ix DQ, search index and incident-time fixtures (#37695) * test(playwright): refresh stale 2.1 visual baselines and fix the data quality and search index scenes The visual lane on 2.1 still failed 214 tests after #37656. 199 of the 200 mismatched baselines date from the original capture in #36640 and never ran in the run #37656 refreshed from, because 6 of 7 shards stopped at maxFailures. Each is replaced with the first-attempt actual from 2.1 run 43212731841. - visualData: the batch DQ fixture also answers value_count. #37507 switched the table total to value_count, the fixture returned no row, and DataAssetsCoveragePieChartWidget threw reading totalData[0], raising an error toast on the data quality page and its interaction scenes. - scenarios: the search index settings tab waits for its empty-state placeholder. #37120 removed the panel title the scene waited for; the fixture index has no settings. * test(playwright): pin the incident check time in the visual fixture The incident timestamp equalled FIXED_DATE while the browser clock keeps running, so the asset health widget rendered 'Last check N secs ago' with N depending on scene duration. It is now one hour earlier. * test(playwright): refresh the 2.1 baselines the fixture fixes changed Run 43264131527 renders the data quality and data observability scenes with the value_count fixture fix, the table manage menu, and an advanced-search nested-group frame that the previous run never reached. Each actual matched its retry. * test(playwright): refresh the 2.1 shard 02 baselines and nested group frames Run 43297316037 is the first 2.1 run where shard 02 ran its tests: dark announcements, bots, incident manager and advanced-search frames. Each actual matched its retry. The dark nested group-2 card is identical on main, where it was captured from run 43263784280; the earlier frames of that scene match pixel for pixel. * test(playwright): refresh the 2.1 dark nested-group footer frame The last advanced-search nested-group frame that earlier 2.1 runs never reached (run 43307968814). The actual matched its retry.
Describe your changes:
Fixes the visual lane on
main, which fails the same way as the 2.1 release-branch nightly (amain-based dispatch, 43173107766, fails all 7 visual shards). The 2.1 nightly fails identically on PostgreSQL (43129232095) and MySQL (43129242705): the same 351 tests fail on all three attempts, and 6 of the 7 shards stop atmaxFailures: 50, so about 700 more never run. The lane has failed every night since it first ran on 2.1 (Nov 9). This is a test-only fix, so there is no linked issue.RCA
1. Baselines captured before the icon swap (332 baselines here). #37237 refreshed the baselines from
main@e21b5ffb53f. #37093, which replaced the app'sassets/svgicons with core-ui icons (875 files), merged at 03:48Z on Nov 6, and #37237 merged at 06:59Z without re-capturing. In the diff images only the icons are marked: the sidebar, the header, the editor toolbar and the connection-form auth tabs. 98% of these diffs are 1–5% of the pixels. Two baselines also changed size: the Kafka and Redpanda expanded forms now show the secret fields of the Consumer/Schema Registry config (702a646).Fix: each mismatched baseline is replaced with the first-attempt
-actual.pngfrom the 2.1 PG nightly above. Baselines are identical onmainand 2.1, and 2.1 mergedmainfor rc2 on Nov 11. The 2 ontology baselines that #37641 also refreshes are left to that PR. TheExpected:/Received:pairs in the job logs map each image to its baseline. These are captures from the CI Linux renderer and the regular UI bundle the lane uses, not local macOS captures.2. Reads the visual lane has no fixture for (42 errors).
Missing visual read fixture: contextCenter/memories/extractedApprovalform-context-article,context-article-*Missing visual read fixture: ontologies/<id>/working/validationGovernance states › ontology-*main.Not covered here
About 700 tests never ran in the source run because of the failure cap. Any stale baselines among them, and screens that differ between
mainand 2.1 (e.g. the glossary icon from #37533), will show up in this PR's visual lane and are refreshed here from that run.Type of change:
High-level design:
N/A: test fixtures and baseline images only.
Tests:
Playwright
yarn lint:playwright: 0 errors. Prettier is clean onvisualData.ts.Checklist:
🤖 Generated with Claude Code