Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

670 B
Raw Blame
import { fileURLToPath } from 'node:url';
import { defineConfig } from '@playwright/test';
import base from './playwright.config';

const webDirectory = fileURLToPath(new URL('../../../../', import.meta.url));
const port = Number(process.env.ATTACHMENT_BROWSER_PORT ?? 3071);
export default defineConfig({
  ...base,
  testMatch: 'attachments.browser.e2e.ts',
  testIgnore: [],
  use: { ...base.use, baseURL: `http://127.0.0.1:${port}` },
  webServer: {
    command: `bunx vite --config src/features/block-agent/browser-test/attachments.vite.config.ts --port ${port}`,
    cwd: webDirectory,
    url: `http://127.0.0.1:${port}`,
    reuseExistingServer: false,
  },
});