mirror of
https://github.com/zhu1090093659/dsh-web.git
synced 2026-09-28 06:13:45 +08:00
The aggregate bundle now mounts the external npm plugin dsh-better-sidebar (external rows section in aggregate.yml) and disables the aionui-panel row by default in the bundle only (config patch enabled:false; standalone installs keep their default-on behavior, the settings card stays available). - scripts/aggregate.mjs: support optional rows (external insert rows) and patches (top-level config/disable patches) manifest sections; --check and aggregate.test.mjs updated (insert rows only are namespaced/unique). - packages/dsh-web-ui-all: aggregate.yml rows/patches, generated cordis.patch.yml, dependency dsh-better-sidebar@^0.13.0. - pnpm-workspace.yaml: minimumReleaseAgeExclude dsh-better-sidebar; allowBuilds node-pty. - Docs: web-ui-all / aionui-panel / root READMEs (bilingual), publish-prep release order, AGENTS.md layout note. - CI: plugin-mount job + scripts/e2e-mount.sh + tests/e2e/mount.e2e.ts (mount smoke: better-sidebar attached, aionui columns absent, no crash markers); playwright config and devDependency.
21 lines
655 B
TypeScript
21 lines
655 B
TypeScript
import { defineConfig } from '@playwright/test'
|
|
|
|
/**
|
|
* Headless-render lane config for the aggregate-bundle mount smoke
|
|
* (`scripts/e2e-mount.sh` + `tests/e2e/mount.e2e.ts`). The server is booted
|
|
* by the shell script; the spec only loads the page against `DSH_E2E_URL`.
|
|
* Serial by design: one scratch DSH instance per run.
|
|
*/
|
|
export default defineConfig({
|
|
testDir: 'tests/e2e',
|
|
// The mount lane files are named *.e2e.ts (mirroring the better-sidebar
|
|
// repo convention) — outside Playwright's default *.test.* match.
|
|
testMatch: '**/*.e2e.ts',
|
|
timeout: 60_000,
|
|
workers: 1,
|
|
reporter: [['list']],
|
|
use: {
|
|
headless: true,
|
|
},
|
|
})
|