Some checks failed
ci / Validate workspace (push) Successful in 12m32s
landing-page-ci / Validate landing page (push) Successful in 9m41s
landing-page-deploy / Deploy landing page (push) Failing after 5m23s
github-metrics / Generate repository metrics SVG (push) Failing after 2m3s
refresh-contributors-wall / Refresh contributors wall cache bust (push) Failing after 11s
This repository contains the open-design daemon CLI source code, built and packaged at https://helix-mind.ai/cli/open-design/latest.tgz for use by the HelixMind /design slash command. Licenses: Apache-2.0 (root) + MIT (skills/*)
2.3 KiB
2.3 KiB
e2e/AGENTS.md
Follow the root AGENTS.md first. This package owns user-level end-to-end smoke tests and Playwright UI automation only.
Directory layout
specs/: highest-ROI end-to-end smoke tests suitable for PR or release gating. Keep this layer small and expand it only for regressions that justify always-on signal.tests/: broader user-level end-to-end coverage, including Vitest checks that intentionally span app/package/resource boundaries. Add feature-depth scenarios here instead of bloatingspecs/.ui/: flat Playwright UI automation test files only. Keep helpers, resources, and non-Playwright harnesses out of this directory.resources/: declarative resources for e2e suites, such as Playwright UI scenario lists.lib/shared.ts: tiny cross-suite shared helpers only.lib/vitest/: Vitest-specific helpers.lib/playwright/: Playwright-specific fixtures, resource accessors, route helpers, and UI actions.scripts/playwright.ts: Playwright auxiliary subcommands such as artifact cleanup; it must not wrapplaywright test.
Naming and tools
specs/files must be*.spec.ts.tests/files must be*.test.ts.ui/files must be flat*.test.tsPlaywright tests. Do not add subdirectories, TSX, Vitest, jsdom, Testing Library, or React harness tests underui/.- E2E Vitest tests use Node APIs; do not add JSX/TSX, jsdom, or browser-component tests under
specs/ortests/. - Web component/runtime tests belong in
apps/web/tests/, note2e/ui/. - E2E tests may validate cross-app/resource consistency, but must not treat one app's private implementation as a shared helper for another app. Keep test-only helpers local to
e2e/lib/or promote reusable logic to a pure package such aspackages/contracts. - E2E imports may use
@/*forlib/*; keep this alias local to the e2e package.
Commands
Run commands from this directory:
pnpm test specs/mac.spec.ts
pnpm test specs
pnpm test tests
pnpm typecheck
pnpm exec tsx scripts/playwright.ts clean
pnpm exec playwright test -c playwright.config.ts --list
pnpm exec playwright test -c playwright.config.ts
Use a specific file path when validating a single case. Do not add root e2e aliases or extra package scripts for individual cases.