Skip to content

test(mosaic): update visual baselines for the border and media size changes - #10668

Merged
austincalvelage merged 1 commit into
mainfrom
austin/snapshot-test-fixes
Nov 5, 2026
Merged

austincalvelage merged 1 commit into
mainfrom
austin/snapshot-test-fixes

Conversation

@austincalvelage

@austincalvelage austincalvelage commented Nov 4, 2026 •

Copy link
Copy Markdown
Member

Description

Updates the six Mosaic screenshot baselines that every PR has been reporting as different (organization-switcher, user-button, and four user-profile states).

The baselines landed in #10451. #10496 (control and container borders, state washes) and #10600 (shared media sizes and radii) merged afterwards from branches cut before #10451, so the visual tests never ran on them. The visual job only warns on differences, so both PRs merged with green checks.

These changes from those PRs account for the differences:

The new baselines are byte-identical to the screenshots CI rendered on current main. No other baselines changed.

Checklist

  • pnpm test runs as expected.
  • pnpm build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other: test baselines

…hanges

The screenshots predated #10496 and #10600, which merged without running the visual tests, so every PR reported the same six differences.
@vercel

vercel Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
clerk-js-sandbox Ready Ready Preview Nov 4, 2026 11:58pm UTC
swingset Ready Ready Preview Nov 4, 2026 11:58pm UTC

Request Review

@changeset-bot

changeset-bot Bot commented Nov 4, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: dde527d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 0 packages

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@coderabbitai

coderabbitai Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Adds a Changesets entry with empty front matter. It specifies no package releases or change description.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Possibly related PRs

Merge Risk: Minimal · up to dde52

The baseline-only change has no release or runtime risk requiring resolution before merge.

Pre-merge checks: Passed 4
Check name Status Explanation
Title check Passed The title names the change: updating visual test baselines for the border and media size changes. The changeset is a test-baseline update for six Mosaic screenshots, and the description ties those upd…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description check Passed The description states that it updates six Mosaic screenshot baselines (organization-switcher, user-button, and four user-profile states) and explains which earlier changes (border tokens, container b…
Full details: Title check

Explanation

The title names the change: updating visual test baselines for the border and media size changes. The changeset is a test-baseline update for six Mosaic screenshots, and the description ties those updates to the border and media-size changes from #10496 and #10600. The title is specific enough for a teammate scanning history.

Full details: Description check

Explanation

The description states that it updates six Mosaic screenshot baselines (organization-switcher, user-button, and four user-profile states) and explains which earlier changes (border tokens, container border moves, control outlines, neutral badge fill, avatar size) cause the visual differences. This directly matches the changeset's test-baseline content, so the description is clearly related to the changes. Note that the raw summary describes the changeset as only a Changesets entry with empty front matter, which does not show the baseline images or token changes; the description's subject matter is still in scope for the PR objectives, which also describe the six baseline updates.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Linked repositories: Some configured repositories could not be included in this review. Cross-repository analysis may be incomplete. Please check linked-repository access and settings.

Recent review info
Run configuration
Commits

Reviewing files that changed from the base of the PR and between 5b12ac8 and dde527d.

Files ignored due to path filters: 6
  • packages/mosaic/src/features/organization-switcher/__tests__/__screenshots__/organization-switcher.visual.test.tsx/organization-switcher-open-chromium-linux.png is excluded by !**/*.png
  • packages/mosaic/src/features/user-button/__tests__/__screenshots__/user-button.visual.test.tsx/user-button-combined-open-chromium-linux.png is excluded by !**/*.png
  • packages/mosaic/src/features/user-profile/__tests__/__screenshots__/user-profile.visual.test.tsx/user-profile-account-desktop-dark-chromium-linux.png is excluded by !**/*.png
  • packages/mosaic/src/features/user-profile/__tests__/__screenshots__/user-profile.visual.test.tsx/user-profile-account-desktop-light-chromium-linux.png is excluded by !**/*.png
  • packages/mosaic/src/features/user-profile/__tests__/__screenshots__/user-profile.visual.test.tsx/user-profile-account-narrow-light-chromium-linux.png is excluded by !**/*.png
  • packages/mosaic/src/features/user-profile/__tests__/__screenshots__/user-profile.visual.test.tsx/user-profile-edit-name-error-chromium-linux.png is excluded by !**/*.png
Files selected for processing: 1
  • .changeset/mosaic-visual-baselines.md
Linked repositories identified

CodeRabbit considers these linked repositories for cross-repo context during reviews:

Included review availability: This review used your included allowance. 4 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 5 reviews per hour.

@pkg-pr-new

pkg-pr-new Bot commented Nov 4, 2026

Copy link
Copy Markdown

Open in StackBlitz

@clerk/astro

npm i https://pkg.pr.new/@clerk/astro@10668

@clerk/backend

npm i https://pkg.pr.new/@clerk/backend@10668

@clerk/chrome-extension

npm i https://pkg.pr.new/@clerk/chrome-extension@10668

@clerk/clerk-js

npm i https://pkg.pr.new/@clerk/clerk-js@10668

@clerk/electron

npm i https://pkg.pr.new/@clerk/electron@10668

@clerk/electron-passkeys

npm i https://pkg.pr.new/@clerk/electron-passkeys@10668

@clerk/eslint-plugin

npm i https://pkg.pr.new/@clerk/eslint-plugin@10668

@clerk/expo

npm i https://pkg.pr.new/@clerk/expo@10668

@clerk/expo-biometrics

npm i https://pkg.pr.new/@clerk/expo-biometrics@10668

@clerk/expo-google-signin

npm i https://pkg.pr.new/@clerk/expo-google-signin@10668

@clerk/expo-native-components

npm i https://pkg.pr.new/@clerk/expo-native-components@10668

@clerk/expo-passkeys

npm i https://pkg.pr.new/@clerk/expo-passkeys@10668

@clerk/express

npm i https://pkg.pr.new/@clerk/express@10668

@clerk/fastify

npm i https://pkg.pr.new/@clerk/fastify@10668

@clerk/hono

npm i https://pkg.pr.new/@clerk/hono@10668

@clerk/localizations

npm i https://pkg.pr.new/@clerk/localizations@10668

@clerk/mosaic

npm i https://pkg.pr.new/@clerk/mosaic@10668

@clerk/nextjs

npm i https://pkg.pr.new/@clerk/nextjs@10668

@clerk/nuxt

npm i https://pkg.pr.new/@clerk/nuxt@10668

@clerk/react

npm i https://pkg.pr.new/@clerk/react@10668

@clerk/react-router

npm i https://pkg.pr.new/@clerk/react-router@10668

@clerk/shared

npm i https://pkg.pr.new/@clerk/shared@10668

@clerk/tanstack-react-start

npm i https://pkg.pr.new/@clerk/tanstack-react-start@10668

@clerk/testing

npm i https://pkg.pr.new/@clerk/testing@10668

@clerk/ui

npm i https://pkg.pr.new/@clerk/ui@10668

@clerk/upgrade

npm i https://pkg.pr.new/@clerk/upgrade@10668

@clerk/vue

npm i https://pkg.pr.new/@clerk/vue@10668

commit: dde527d

@austincalvelage
austincalvelage merged commit 6b1e6e7 into main Nov 5, 2026
59 checks passed
@austincalvelage
austincalvelage deleted the austin/snapshot-test-fixes branch November 5, 2026 00:19

This branch was successfully deployed

2 active deployments
Preview – swingset — dde527d7 Deployed Nov 4, 2026 by vercel[bot]
Preview – clerk-js-sandbox — dde527d7 Deployed Nov 4, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants