Persist Roles and Permissions between test runs #1481
deploy.yml
on: pull_request
⬣ ESLint
35s
ʦ TypeScript
32s
⚡ Vitest
34s
🎭 Playwright
1m 26s
🚀 Deploy
0s
Annotations
3 errors
app/routes/users+/$username.test.tsx > The user profile when not logged in as self:
tests/setup/setup-test-env.ts#L22
Error: Console error was called. Call consoleError.mockImplementation(() => {}) if this is expected.
❯ Console.<anonymous> tests/setup/setup-test-env.ts:22:10
❯ Module.cleanupDb tests/db-utils.ts:157:11
❯ tests/setup/db-setup.ts:19:2
|
app/routes/users+/$username.test.tsx > The user profile when logged in as self:
app/routes/users+/$username.test.tsx#L44
PrismaClientKnownRequestError:
Invalid `prisma.user.create()` invocation:
The table `main.User` does not exist in the current database.
❯ _n.handleRequestError node_modules/@prisma/client/runtime/library.js:121:7749
❯ _n.handleAndLogRequestError node_modules/@prisma/client/runtime/library.js:121:7057
❯ _n.request node_modules/@prisma/client/runtime/library.js:121:6741
❯ l node_modules/@prisma/client/runtime/library.js:130:9355
❯ app/routes/users+/$username.test.tsx:44:15
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'P2021', clientVersion: '5.17.0', meta: { modelName: 'User', table: 'main.User' }, batchRequestIdx: undefined }
|
⚡ Vitest
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report
Expired
|
194 KB |
|