mirror of
https://github.com/hanzoai/team-go.git
synced 2026-10-30 20:22:42 +00:00
The Go transactor and account service for Hanzo Team. History starts here. The previous 107 commits carried the fork's origin in their messages and their tree, and none of it described this code: the Go under pkg/transactor is Hanzo's own work implementing a wire protocol, not a port of anyone's implementation. pkg/transactor/model.json remains, and remains attributed. It is a compiled platform model this transactor loads through go:embed, governed by EPL-2.0 and named in NOTICE. Removing it is a replacement project -- a new compiler and a move off the protocol -- not a deletion.
31 lines
1.1 KiB
TypeScript
31 lines
1.1 KiB
TypeScript
import { defineConfig, devices } from '@playwright/test'
|
|
|
|
// The e2e target. Defaults to the live deployment; override with TEAM_E2E_BASE_URL
|
|
// to point at a local stack. One config, one way — the specs never hardcode a host.
|
|
const baseURL = process.env.TEAM_E2E_BASE_URL || 'https://hanzo.team'
|
|
|
|
export default defineConfig({
|
|
testDir: './tests',
|
|
// A real OIDC round-trip + workbench boot is not instant; give it room.
|
|
timeout: 120_000,
|
|
expect: { timeout: 30_000 },
|
|
// Login mutates the owner's own workspace serially — no parallel writers.
|
|
workers: 1,
|
|
fullyParallel: false,
|
|
forbidOnly: !!process.env.CI,
|
|
retries: process.env.CI ? 1 : 0,
|
|
reporter: [['list'], ['html', { open: 'never', outputFolder: 'playwright-report' }]],
|
|
use: {
|
|
baseURL,
|
|
trace: 'retain-on-failure',
|
|
screenshot: 'only-on-failure',
|
|
video: 'retain-on-failure',
|
|
// Chromium in CI containers runs as root → --no-sandbox is required. It is
|
|
// also what lets the headless browser complete TLS to the CF-proxied hosts.
|
|
launchOptions: { args: ['--no-sandbox'] },
|
|
},
|
|
projects: [
|
|
{ name: 'chromium', use: { ...devices['Desktop Chrome'] } },
|
|
],
|
|
})
|