Initial Commit
This commit is contained in:
22
packages/ui/react/react-auth-whitelabel/e2e/README.md
Normal file
22
packages/ui/react/react-auth-whitelabel/e2e/README.md
Normal file
@@ -0,0 +1,22 @@
|
||||
# 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
|
||||
```
|
||||
Reference in New Issue
Block a user