23 lines
960 B
Markdown
23 lines
960 B
Markdown
# E2E specs — deferred
|
|
|
|
### Excluded
|
|
|
|
The three upstream Playwright specs at
|
|
`/mnt/s/web/suaveplan/packages/react/react-auth-whitelabel/e2e/{login-form,register-form,password-reset-form}.spec.ts`
|
|
were not ported in the initial migration. They rely on a running Storybook
|
|
instance at `/iframe.html?id=components-loginform--default&viewMode=story`
|
|
and on Playwright wiring that has not yet landed in Suaveplan.
|
|
Once `@suaveplan/storybook-test-utils` (referenced in the enterprise plan
|
|
§4 as a soft dep) ships and `playwright.config.ts` is wired at the repo
|
|
root for the React stack, port the three specs verbatim — every selector
|
|
already matches the JSX output (labels, `role="alert"`, button
|
|
names are identical to upstream because the `useTranslation()` default
|
|
values are byte-identical).
|
|
|
|
Manual smoke coverage in the interim:
|
|
|
|
```
|
|
bun run --filter=@suaveplan/react-auth-whitelabel build-storybook
|
|
# then open the served bundle and walk every story
|
|
```
|