Applied ui-ux-pro-max design system recommendations: - Tailwind theme: study purple primary + correct green accent - Inter + Plus Jakarta Sans typography - Glassmorphic surfaces with soft shadows and mesh background - Real 3D card flip with spring physics + answer feedback flash - Gradient stat cards, progress bar, animated done screen with score ring - Polished Layout, Dashboard, Admin, AdminLesson, CardTable, ImportDialog, PracticeSetup, Practice, PracticeDone - E2E smoke updated for new accessible names
25 lines
659 B
TypeScript
25 lines
659 B
TypeScript
import { defineConfig } from '@playwright/test';
|
|
|
|
export default defineConfig({
|
|
testDir: '../../e2e',
|
|
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',
|
|
cwd: '../..',
|
|
port: 3000,
|
|
reuseExistingServer: false,
|
|
timeout: 60_000,
|
|
},
|
|
{
|
|
command: 'npm -w @flashcard/frontend run dev',
|
|
cwd: '../..',
|
|
port: 5173,
|
|
reuseExistingServer: false,
|
|
timeout: 60_000,
|
|
},
|
|
],
|
|
use: { baseURL: 'http://localhost:5173' },
|
|
timeout: 30_000,
|
|
});
|