Files
id/apps/web/playwright.config.ts
zeekayandHanzo Dev d2bfa1d46a Sign in opens on the email field, with every other way in under it
The page now reads, on every brand: Sign in, Email or username, Password,
Continue, Send me a code instead, then "or", then Google, GitHub, Wallet and
Phone, each drawn only when the application can complete it, then Forgot
password? and the footer. PROVIDER_ORDER puts `form` first and the rule
follows the form, so login, signup and device approval share the one column.

The "New here?" / "Create account" block is gone, along with the sentences
that pointed at it (the refusal note and the unlinked-wallet message). /signup
stays: hanzo.app's signup=true and hanzo.chat's /signup/<client> still land
there. Server sign-up rules are unchanged.

apps/web/e2e drives the built export in Chromium on hanzo.id and lux.id at
1440 and 390 and asserts that order and the absence of any registration
control; hanzo.yml runs it as a fourth gate.

Co-authored-by: Hanzo Dev <[email protected]>
2026-09-23 16:28:40 -07:00

18 lines
605 B
TypeScript

import { defineConfig } from '@playwright/test'
// The built export, driven in Chromium. Each spec answers the page's requests on
// its identity host from `dist/` — the bytes the site lane publishes — so
// `pnpm --filter @hanzo/id-web build` comes first.
export default defineConfig({
testDir: 'e2e',
outputDir: 'test-results',
fullyParallel: true,
forbidOnly: true,
reporter: 'list',
use: { browserName: 'chromium' },
projects: [
{ name: 'desktop', use: { viewport: { width: 1440, height: 900 } } },
{ name: 'phone', use: { viewport: { width: 390, height: 844 } } },
],
})