Skip to content

test(mascot): one e2e file, one solid browser file, one unit file - #636

Merged
omridevk merged 2 commits into
mainfrom
tests-wave2d
Oct 30, 2026
Merged

omridevk merged 2 commits into
mainfrom
tests-wave2d

Conversation

@omridevk

Copy link
Copy Markdown
Contributor

Test consolidation, wave 2d (mascot). Part of the lane that takes the repo from 707 test files to 69.

packages/mascot:

  • 14 Playwright files fold into tests/e2e/mascot.it.test.ts, one test.describe per old file; per-file test.use (curve viewport, reduced-motion context) moves inside its describe. 102 cases before and after.
  • Four e2e helper modules merge into tests/e2e/helpers.ts; the helpers README moves up and names describes instead of files.
  • solid-dist and solid-wrapper browser tests fold into tests/browser/solid-mascot.browser.test.tsx (dist Mascot aliased as DistMascot; a duplicate local partsIn dropped in favour of the shared one in mascot-dom.ts). The React wrapper file stays separate (different JSX transform). 21 cases before and after.
  • packed-install and publish-surface fold into tests/unit/mascot.test.ts (45 cases). Deleted curve.test.ts and path.test.ts (17 pure-logic cases; the curve and emitter-scale e2e describes cover the rendered behaviour).
  • Deleted tests/browser/__screenshots__: failure screenshots committed in feat(mascot): componentized mascot — core service, solid/react wrappers, 16 effects, consumer migrations #490 that no test reads.

Bodies moved verbatim. No src/ edits, no config edits (existing vitest and Playwright includes already match).

Gates: turbo run test --filter=@conciv/mascot green (vitest 89/89, Playwright 102/102 headless), tsc, oxlint, oxfmt, fallow audit (only moved-test notes). No changeset needed.

🤖 Generated with Claude Code

omridevk and others added 2 commits October 30, 2026 21:30
Fold the 14 Playwright files into tests/e2e/mascot.it.test.ts (one
test.describe per old file) and the four e2e helpers into
tests/e2e/helpers.ts. Fold packed-install and publish-surface into
tests/unit/mascot.test.ts, and solid-dist plus solid-wrapper into
tests/browser/solid-mascot.browser.test.tsx. Delete the pure-logic
node tests curve.test.ts and path.test.ts, covered by the curve and
emitter scale e2e describes.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 30, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 54 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 66bc9d59-a493-41ad-a6ea-67442197532f
Commits

Reviewing files that changed from the base of the PR and between 5abe6f7 and 258e6d2.

Files ignored due to path filters: 2
  • packages/mascot/tests/browser/__screenshots__/react-wrapper.browser.test.tsx/stands-the-default-binary-down-when-an-effect-child-mounts-another-effect-1.png is excluded by !**/*.png
  • packages/mascot/tests/browser/__screenshots__/solid-wrapper.browser.test.tsx/stands-the-default-binary-down-when-an-effect-child-mounts-another-effect-1.png is excluded by !**/*.png
Files selected for processing: 28
  • packages/mascot/tests/browser/solid-dist.browser.test.tsx
  • packages/mascot/tests/browser/solid-mascot.browser.test.tsx
  • packages/mascot/tests/browser/solid-wrapper.browser.test.tsx
  • packages/mascot/tests/e2e/README.md
  • packages/mascot/tests/e2e/activity-channels.it.test.ts
  • packages/mascot/tests/e2e/activity.it.test.ts
  • packages/mascot/tests/e2e/all-effects.it.test.ts
  • packages/mascot/tests/e2e/anchor-perf.it.test.ts
  • packages/mascot/tests/e2e/binary-nozzle.it.test.ts
  • packages/mascot/tests/e2e/curve.it.test.ts
  • packages/mascot/tests/e2e/effects.it.test.ts
  • packages/mascot/tests/e2e/emitter-scale.it.test.ts
  • packages/mascot/tests/e2e/gaze.it.test.ts
  • packages/mascot/tests/e2e/helpers.ts
  • packages/mascot/tests/e2e/helpers/launches.ts
  • packages/mascot/tests/e2e/helpers/mascot-stage.ts
  • packages/mascot/tests/e2e/helpers/near.ts
  • packages/mascot/tests/e2e/lifecycle.it.test.ts
  • packages/mascot/tests/e2e/mascot.it.test.ts
  • packages/mascot/tests/e2e/reduced-motion.it.test.ts
  • packages/mascot/tests/e2e/registration.it.test.ts
  • packages/mascot/tests/e2e/stream-nozzle.it.test.ts
  • packages/mascot/tests/e2e/visibility.it.test.ts
  • packages/mascot/tests/unit/curve.test.ts
  • packages/mascot/tests/unit/mascot.test.ts
  • packages/mascot/tests/unit/packed-install.test.ts
  • packages/mascot/tests/unit/path.test.ts
  • packages/mascot/tests/unit/publish-surface.test.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@omridevk
omridevk merged commit 48baf24 into main Oct 30, 2026
27 checks passed
@omridevk
omridevk deleted the tests-wave2d branch October 30, 2026 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant