Skip to content

fix: prepare Prisma before solution tests - #45

Merged
kody-bot merged 4 commits into
mainfrom
cursor/ws-full-stack-testing-d454
Jul 29, 2026
Merged

kody-bot merged 4 commits into
mainfrom
cursor/ws-full-stack-testing-d454

Conversation

@kentcdodds

@kentcdodds kentcdodds commented Jul 29, 2026 •

Copy link
Copy Markdown
Member

Summary

  • run workshop test preparation after dependency installation so Prisma clients are generated for all 54 apps
  • skip browser and playground setup that the Vitest CI job does not need
  • run every test in each completed Vitest-backed solution, excluding intentional intermediate-step failures and Playwright-only exercises from the incompatible runner
  • fix the completed database solution test so its nested route renders instead of being replaced by a placeholder root component
  • run tests on supported Node 22 because the pinned MSW/Undici stack has an AbortSignal realm incompatibility on Node 26; cross-platform setup validation remains on Node 26

Verification

  • SKIP_PLAYWRIGHT=true SKIP_PLAYGROUND=true npm run setup:custom
  • CI=true node ./epicshop/test.js '4.4.s,5.2.s,6.2.s,7.2.s,8.3.s,9.3.s,10.1.s,11.3.s'
Open in Web Open in Cursor 

cursoragent and others added 3 commits July 29, 2026 01:39
Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>
Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>
Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>
@kody-bot
kody-bot marked this pull request as ready for review July 29, 2026 01:58
Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>
@kody-bot
kody-bot merged commit 94f917a into main Jul 29, 2026
10 of 11 checks passed
cursor Bot pushed a commit that referenced this pull request Oct 25, 2026
Epicshop workflow updates dropped the Node 22 Test runner, setup:custom
prep, and the completed-Vitest-only app filter from #45. Without those,
solution CI fails on Playwright-collected e2e suites and Node 26
AbortSignal/MSW issues. Restore that Test job shape; keep fork-safe Setup
and skip hung Playwright browser install.

Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>
kody-bot pushed a commit that referenced this pull request Oct 25, 2026
* fix: correct toHaveRedirect failure message in 11.test-db

* fix: correct toHaveRedirect failure message in 11.test-db

* fix: correct toHaveRedirect failure message in 11.test-db

* fix: correct toHaveRedirect failure message in 11.test-db

* fix: correct toHaveRedirect failure message in 11.test-db

* fix: correct toHaveRedirect failure message in 11.test-db

* fix: green CI for fork PRs and note corrected redirect matcher

Checkout the PR head and run epicshop setup so Setup works for forks
instead of cloning epicweb-dev and missing fork-only branches. Pin the
Test job to ubuntu-24.04 because Playwright 1.56.1 does not support
ubuntu26.04. Add a short learner note next to the corrected
toHaveRedirect failure message ternary.

Supersedes the follow-up needed on #46 (maintainer could not push to the
fork). Keeps Davien21's matcher fix commits.

Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>

* fix: skip Playwright install in solution Test CI

Solution apps use vitest for npm run test; epicshop/test.js never runs
test:e2e. The with-deps Chromium install has been hanging after download
on GitHub Actions (cancelled on this PR and on recent main), so drop it.

Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>

* fix: restore solution Test CI from #45 after epicshop overwrite

Epicshop workflow updates dropped the Node 22 Test runner, setup:custom
prep, and the completed-Vitest-only app filter from #45. Without those,
solution CI fails on Playwright-collected e2e suites and Node 26
AbortSignal/MSW issues. Restore that Test job shape; keep fork-safe Setup
and skip hung Playwright browser install.

Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>

---------

Co-authored-by: Chidiebere Ekennia <54110155+Davien21@users.noreply.github.com>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
@kentcdodds
kentcdodds deleted the cursor/ws-full-stack-testing-d454 branch October 25, 2026 05:54
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.

3 participants