test(e2e): register+verify smoke and admin invite flow via Mailpit
This commit is contained in:
@@ -2,10 +2,11 @@ import { defineConfig } from '@playwright/test';
|
||||
|
||||
export default defineConfig({
|
||||
testDir: '../../e2e',
|
||||
workers: 1,
|
||||
webServer: [
|
||||
{
|
||||
command:
|
||||
'rm -f packages/backend/data/e2e.db data/e2e.db && DB_PATH=./data/e2e.db npm -w @flashcard/backend run db:migrate && DB_PATH=./data/e2e.db npm -w @flashcard/backend run dev',
|
||||
'rm -f packages/backend/data/e2e.db data/e2e.db && DB_PATH=./data/e2e.db SMTP_HOST=localhost SMTP_PORT=1025 APP_URL=http://localhost:5173 npm -w @flashcard/backend run db:migrate && DB_PATH=./data/e2e.db SMTP_HOST=localhost SMTP_PORT=1025 APP_URL=http://localhost:5173 npm -w @flashcard/backend run dev',
|
||||
cwd: '../..',
|
||||
port: 3000,
|
||||
reuseExistingServer: false,
|
||||
|
||||
Reference in New Issue
Block a user