Repository navigation
test(playwright): refresh 2.1 visual baselines for the core-ui icon swap and add missing visual read fixtures - #37657
shah-harshit wants to merge 6 commits into
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 <noreply@anthropic.com>
…port reads in the visual lane Backports the visual fixtures from #37641 to 2.1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… (revert before merge)
…baseline (revert before merge)" This reverts commit 651f0f3.
…on 2.1 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). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
❌ 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 riskThe changes only add Playwright visual-data mocks for ontology reads and extracted-memory approval, limiting impact to test fixtures rather than runtime behavior. Refreshes 2.1 visual baselines for the core-ui icon swap and adds missing visual read fixtures for the context article approval and ontology validation reads, unblocking the failing visual lane. No issues found. 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 |
|
Not required |
Describe your changes:
Fixes the visual lane of the 2.1 release-branch nightly. It fails identically on PostgreSQL (43129232095) and MySQL (43129242705): the same 351 tests fail on all three attempts, and 6 of the 7 shards stop at
maxFailures: 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 (334 tests). #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 PG nightly above. 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-*Not covered here
About 700 tests never ran in the source run because of the failure cap. Any stale baselines among them, and the tests blocked by the missing fixtures, 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