We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63030bf commit acdbbb6Copy full SHA for acdbbb6
2 files changed
.github/workflows/e2e-webapp.yml
@@ -87,3 +87,5 @@ jobs:
87
88
- name: 🧪 Run Webapp E2E Tests
89
run: cd apps/webapp && pnpm exec vitest run --config vitest.e2e.config.ts --reporter=default
90
+ env:
91
+ WEBAPP_TEST_VERBOSE: "1"
internal-packages/testcontainers/src/webapp.ts
@@ -162,6 +162,7 @@ export async function startTestServer(): Promise<TestServer> {
162
redisContainer = rc;
163
164
prisma = new PrismaClient({ datasources: { db: { url: pg.url } } });
165
+ await prisma.$connect(); // pre-warm pool; surface connection failures before tests start
166
const started = await startWebapp(pg.url, { host: rc.getHost(), port: rc.getPort() });
167
webapp = started.instance;
168
stopWebapp = started.stop;
0 commit comments