fc644ecd6e
Reemplaza el scaffold del echobot por la plataforma completa de bots traida desde ~/DataProyects/Github/agents_and_robots tras la operacion Matrix-out: los bots ya no hablan por Matrix sino por el bus unibus (modelo todo-rooms + E2E via shell/transportunibus sobre github.com/enmanuel/unibus/pkg/client). - go.mod: replace de unibus -> ../unibus y de fn-registry -> ../../../.. (paths relativos reajustados a la nueva ubicacion dentro de fn_registry). - app.md: bump a 0.2.0, descripcion + arquitectura + comandos + gotchas reales. - modulo Go conservado como github.com/enmanuel/agents (sin reescribir imports). agents_and_robots queda archivado como museo de la era Matrix.
40 lines
927 B
TypeScript
40 lines
927 B
TypeScript
import { defineConfig, devices } from "@playwright/test";
|
|
import * as dotenv from "dotenv";
|
|
import * as path from "path";
|
|
|
|
dotenv.config({ path: path.resolve(__dirname, ".env") });
|
|
|
|
export default defineConfig({
|
|
testDir: "./tests",
|
|
fullyParallel: false,
|
|
forbidOnly: !!process.env.CI,
|
|
retries: process.env.CI ? 1 : 0,
|
|
workers: 1,
|
|
reporter: "list",
|
|
|
|
// LLMs son lentos — timeouts generosos
|
|
timeout: 60_000,
|
|
expect: { timeout: 30_000 },
|
|
|
|
use: {
|
|
baseURL: process.env.ELEMENT_URL || "http://localhost:8080",
|
|
headless: true,
|
|
screenshot: "on",
|
|
trace: "retain-on-failure",
|
|
video: "retain-on-failure",
|
|
actionTimeout: 30_000,
|
|
// NO usamos storageState — usamos persistent context para preservar IndexedDB
|
|
},
|
|
|
|
outputDir: "./test-results",
|
|
|
|
globalSetup: "./global-setup.ts",
|
|
|
|
projects: [
|
|
{
|
|
name: "chromium",
|
|
use: { ...devices["Desktop Chrome"] },
|
|
},
|
|
],
|
|
});
|