Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
import { fileURLToPath } from 'node:url';
import { defineConfig, devices } from '@playwright/test';
const directory = fileURLToPath(new URL('.', import.meta.url));
const webDirectory = fileURLToPath(new URL('../../../../../', import.meta.url));
export default defineConfig({
testDir: directory,
testMatch: [
'independent-send-recovery.browser.e2e.ts',
'calendar-points.browser.e2e.ts',
'coordinator.browser.e2e.ts',
'parking.browser.e2e.ts',
'cache-wasm-packaging.browser.e2e.ts',
'notification-projection.browser.e2e.ts',
'mail-projection.browser.e2e.ts',
'mail-reconciliation.browser.e2e.ts',
'mail-tabs.browser.e2e.ts',
'query-write-scope.browser.e2e.ts',
'email-participants.browser.e2e.ts',
'search-buckets.browser.e2e.ts',
],
timeout: 90_000,
fullyParallel: false,
workers: 1,
reporter: 'line',
use: {
baseURL: 'http://127.0.0.1:4188',
headless: true,
},
webServer: {
command: `just build-cache-wasm && bunx --bun vite --config ${JSON.stringify(`${directory}/vite.config.ts`)}`,
cwd: webDirectory,
url: 'http://127.0.0.1:4188',
reuseExistingServer: false,
timeout: 180_000,
},
projects: [
{
name: 'chromium',
use: {
...devices['Desktop Chrome'],
launchOptions: {
executablePath: process.env.PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH,
},
},
},
{
name: 'firefox',
use: {
...devices['Desktop Firefox'],
launchOptions: {
executablePath: process.env.PLAYWRIGHT_FIREFOX_EXECUTABLE_PATH,
},
},
},
],
});