mirror of
https://github.com/hanzoai/build.git
synced 2026-10-23 02:18:08 +00:00
There is no popup. hanzo.id answers an authorize from a session it already holds with a code and no screen, so a person signed in anywhere Hanzo signs people in is signed in here by a bounce; anyone else signs in there and is returned to the address they asked for (app/enter.ts). The page signs in as hanzo-app, the Hanzo App's client, and stops publishing to hanzo.build, which redirects to the same place on hanzo.ai/dev. What New holds unsent waits in this tab across the trip, words carried as ?q= among it, and a draft sent while signed out is sent once its person is in. The visitor's page (the product header over New, and the pitch) goes: no host draws the builder for a visitor. The specs of what the builder draws for nobody run under the mount harness, whose host now signs in.
19 lines
495 B
TypeScript
19 lines
495 B
TypeScript
import { defineConfig } from '@playwright/test'
|
|
|
|
/**
|
|
* The page, driven in a browser. `pnpm site` checks the dev server on :3200;
|
|
* `SITE=<origin> pnpm site` checks another. Screenshots of every screen land in
|
|
* test-results/.
|
|
*/
|
|
export default defineConfig({
|
|
testDir: 'src/e2e',
|
|
testMatch: '*.spec.ts',
|
|
timeout: 60_000,
|
|
reporter: 'list',
|
|
use: {
|
|
baseURL: process.env.SITE || 'http://localhost:3200',
|
|
viewport: { width: 1440, height: 900 },
|
|
colorScheme: 'dark',
|
|
},
|
|
})
|