Fixed splash screen blocking login (set localStorage before navigation), replaced full page reloads with in-page pushState navigation to preserve SPA session, added page-specific content waits for reliable screenshots. Increased Playwright timeout to 60s. Baseline screenshots captured for: login, home, apps, marketplace, cloud, network, web5, settings, chat, federation, credentials, system update. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
24 lines
467 B
TypeScript
24 lines
467 B
TypeScript
import { defineConfig } from '@playwright/test'
|
|
|
|
export default defineConfig({
|
|
testDir: './e2e',
|
|
outputDir: './e2e/test-results',
|
|
timeout: 60_000,
|
|
expect: {
|
|
timeout: 10_000,
|
|
},
|
|
use: {
|
|
baseURL: 'http://192.168.1.228',
|
|
viewport: { width: 1440, height: 900 },
|
|
screenshot: 'only-on-failure',
|
|
trace: 'off',
|
|
ignoreHTTPSErrors: true,
|
|
},
|
|
projects: [
|
|
{
|
|
name: 'chromium',
|
|
use: { browserName: 'chromium' },
|
|
},
|
|
],
|
|
})
|