~ knotless Search/
↑↓ move↵ open⇧↵ all results

chadtmiller.com/hud

A remote MCP server that shows atproto records as interactive UI inside MCP Apps hosts

0
0
32 lines · 1.1 KB Raw History
// The workspace used as people use it, against a real server: signed in
// through the reference PDS's own pages, its tiles read from the accounts'
// repositories, an agent's tile added over MCP, a canvas shared.
//
//   just e2e    the world (setup.mjs), then the flows
//
// The flows go in order in one worker, as each goes on from where the one
// before left the world.

import { defineConfig } from '@playwright/test';
import { join } from 'node:path';
import { root } from './world.mjs';

export default defineConfig({
	testDir: '.',
	// The memory scenario (`just memory`) alone with HUD_MEMORY set; never in `just e2e`.
	testMatch: process.env.HUD_MEMORY ? 'memory.spec.mjs' : '*.spec.mjs',
	testIgnore: process.env.HUD_MEMORY ? [] : ['memory.spec.mjs'],
	globalSetup: './setup.mjs',
	outputDir: join(root, 'target/e2e/results'),
	workers: 1,
	timeout: 60_000,
	expect: { timeout: 15_000 },
	reporter: [['list']],
	use: {
		browserName: 'chromium',
		viewport: { width: 1280, height: 800 },
		locale: 'en-US',
		trace: 'retain-on-failure',
		screenshot: 'only-on-failure',
	},
});