Files
mpc/dashboard/playwright.config.ts
zeekay 0232b7df72 feat: standalone mpc-api deployment, implicit OAuth flow, E2E tests
- Separate mpc-api into its own Deployment with --cluster-url proxy to mpc-node-0
- Switch OAuth from authorization code flow to implicit flow (response_type=token)
- Add Playwright E2E tests for Lux ID login flow and OIDC discovery
- Update CI to apply api-deployment.yaml and wait for mpc-api rollout
2025-12-27 10:59:11 -08:00

22 lines
462 B
TypeScript

import { defineConfig, devices } from '@playwright/test'
export default defineConfig({
testDir: './e2e',
timeout: 60_000,
expect: { timeout: 10_000 },
fullyParallel: false,
retries: 1,
reporter: 'html',
use: {
baseURL: process.env.BASE_URL ?? 'https://mpc.lux.network',
trace: 'on-first-retry',
screenshot: 'only-on-failure',
},
projects: [
{
name: 'chromium',
use: { ...devices['Desktop Chrome'] },
},
],
})