fix(frontend): restore chief center command UI parity

This commit is contained in:
2026-08-02 05:10:35 +00:00
parent 43ec211ff8
commit 4e1058ae86
8 changed files with 1009 additions and 130 deletions
@@ -0,0 +1,22 @@
import { dirname, resolve } from 'node:path';
import { fileURLToPath } from 'node:url';
import { defineConfig } from '@playwright/test';
const repositoryRoot = resolve(dirname(fileURLToPath(import.meta.url)), '../../..');
const frontendUrl = process.env.CHIEF_CENTER_LIVE_FRONTEND_URL ?? 'http://127.0.0.1:15160/hwe/';
export default defineConfig({
testDir: '.',
testMatch: ['chiefCenterLive.spec.ts'],
fullyParallel: false,
workers: 1,
timeout: 90_000,
expect: { timeout: 15_000 },
reporter: [['list']],
outputDir: resolve(repositoryRoot, 'test-results/chief-center-live'),
use: {
baseURL: frontendUrl,
trace: 'retain-on-failure',
screenshot: 'only-on-failure',
},
});