Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
fix(e2e): derive the live-home exclusion from the specs, so npm test can pass again
nirholas4e0a9971f49e
diff --git a/playwright.config.js b/playwright.config.jsindex d123999df..34d77b779 100644--- a/playwright.config.js+++ b/playwright.config.js@@ -1,4 +1,7 @@import { defineConfig } from '@playwright/test';+import { readdirSync, readFileSync } from 'node:fs';+import path from 'node:path';+import { fileURLToPath } from 'node:url';// Playwright config for the /club smoke. Drives a real Chromium against the// Vite dev server. Kept separate from Vitest (which only globs *.test.js) by@@ -9,6 +12,27 @@ import { defineConfig } from '@playwright/test';// on a CI box). The first test sets a 180s test timeout; we mirror that on// the webServer health check so playwright doesn't kill the server before// the cold transform finishes and bring down the next two tests with it.+const E2E_DIR = path.join(path.dirname(fileURLToPath(import.meta.url)), 'tests', 'e2e');++/**+ * The live home specs, read from the specs themselves rather than listed here.+ *+ * The rule above is exact: importing ./home-support.js is what makes a spec need+ * the real stack. A hand-kept list is the same rule written a second time, and+ * it drifted twice. home-lifecycle and home-plan landed as live journeys, were+ * never added, and ran under this config with no house to reach: journey 1 died+ * on "Could not reach http://127.0.0.1:39611" and the plan page found none of+ * its quota rows. Three failures that read like product bugs, in a stage that+ * therefore could not pass for anyone.+ */+function liveHomeSpecs() {+ return readdirSync(E2E_DIR)+ .filter((f) => f.endsWith('.spec.js'))+ .filter((f) => /from '\.\/home-support/.test(readFileSync(path.join(E2E_DIR, f), 'utf8')))+ .map((f) => `**/${f}`)+ .sort();+}+export default defineConfig({testDir: 'tests/e2e',// The home lane's live journeys (the specs that import ./home-support.js)@@ -17,14 +41,7 @@ export default defineConfig({// config they have no stack to read and die on the first sign-in, so they// stay out of the general run. The stub-driven home specs (home-connect,// home-whose-fault) need no stack and still run here.- testIgnore: [- '**/home-a11y.spec.js',- '**/home-confirmation.spec.js',- '**/home-connect-live.spec.js',- '**/home-control.spec.js',- '**/home-floorplan.spec.js',- '**/home-scene.spec.js',- ],+ testIgnore: liveHomeSpecs(),// 300s, not 120s: the a11y floor spec runs axe over every top-30 page, and// axe's colour-contrast pass is O(rendered nodes). /marketplace renders a// ~77-card grid and legitimately takes ~4.3 min against the dev server