@owlmeans/test-ui 0.1.20-alpha.0 → 0.1.20-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -87,7 +87,7 @@ This package ships embedded agent skills under `agent-meta/`. After installing y
87
87
  your project's skill store (`.agents/skills/`):
88
88
 
89
89
  ```sh
90
- npx @owlmeans/agent-skills@0.1.20-alpha.0
90
+ npx @owlmeans/agent-skills@^0.1.19
91
91
  ```
92
92
 
93
93
  The embedded files are version-matched to this package release. Do not edit them
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 3,
3
3
  "package": "@owlmeans/test-ui",
4
- "version": "0.1.20-alpha.0",
5
- "generatedAt": "2026-11-03T05:44:27.308Z",
4
+ "version": "0.1.20-rc.0",
5
+ "generatedAt": "2026-11-03T15:22:30.467Z",
6
6
  "canonicalRepo": "https://github.com/owlmeans/common",
7
7
  "entries": [
8
8
  {
@@ -6,7 +6,7 @@ description: Category-D component-level acceptance tests for OwlMeans Common UI
6
6
 
7
7
  # UI Acceptance Tests — Category D (bun test + Playwright as a library)
8
8
 
9
- **Install:** `"@owlmeans/test-ui": "0.1.20-alpha.0"` in `devDependencies`
9
+ **Install:** `"@owlmeans/test-ui": "^0.1.20-rc.0"` in `devDependencies`
10
10
 
11
11
  `@owlmeans/test-ui` depends on `playwright`, so the browser library arrives with it; add
12
12
  `playwright` to `devDependencies` as well when a spec imports a launcher itself. The Vite harness
@@ -321,16 +321,19 @@ showing a working login form the entire time. Any new helper that calls `page.go
321
321
  screen when an assertion timed out; `.loginViaSupervisorForm` takes a `screenshotDir` that captures
322
322
  the filled form just before submit.
323
323
 
324
- ## The consent dialog blocks the login form, and the failure blames the button
324
+ ## An unanswered consent gates the login form, and the failure blames the button
325
325
 
326
- An OwlMeans app asks for cookie consent **before** it will start an authentication flow, and the
327
- surface — the bar on its transparent overlay, or the preferences window — offers no dismissal: a
328
- decision is what the gate is waiting for. Until it is
329
- answered the overlay intercepts pointer events, so a login form renders, resolves, reports itself
330
- `visible, enabled and stable`, and still cannot be clicked. Playwright retries for the full timeout
331
- and then reports `click: Timeout … waiting for getByTestId('supervisor-submit')`, naming the
332
- button. Nothing is wrong with the button; read the `subtree intercepts pointer events` line, which
333
- names `[data-consent-dialog]`.
326
+ An OwlMeans app asks for cookie consent **before** it will start an authentication flow. The first
327
+ ask is the bar, which blocks nothing — the page is usable and the bar simply stays — so a spec that
328
+ never answers it clicks a login control and meets the gate instead: the sign-in precondition
329
+ (`@owlmeans/client-iam`) refuses the click and raises the preferences WINDOW, a modal over a
330
+ dimmed overlay that offers no dismissal. From then on the overlay intercepts pointer events, so a
331
+ login form renders, resolves, reports itself `visible, enabled and stable`, and still cannot be
332
+ clicked. Playwright retries for the full timeout and then reports `click: Timeout … waiting for
333
+ getByTestId('supervisor-submit')`, naming the button. Nothing is wrong with the button; read the
334
+ `subtree intercepts pointer events` line, which names `[data-consent-dialog]`. (A bar that is still
335
+ up is not in the way of anything — and a window that was not asked for is a sign the spec skipped
336
+ the answer.)
334
337
 
335
338
  `makePageHelper(page).loginViaSupervisorForm` and `.loginViaEmailForm` therefore call `.acceptConsent()` after navigating. `.acceptConsent` is
336
339
  public for specs that drive their own login: it waits for the consent store to SETTLE — never while
@@ -366,7 +369,9 @@ pick. Both also default `marketingConsent` (their own option, not `.answerMarket
366
369
  (root, carrying `data-state="loading"` while its status read is outstanding and `"ready"` once it can
367
370
  render), `[data-marketing-consent-terms]` (the Terms checkbox, Terms mode only, with `data-version`),
368
371
  `[data-marketing-consent-terms-error]` (Terms record failed — the person stays and retries),
369
- `[data-marketing-consent-all]` (select-all, never ticks Terms), `[data-marketing-consent-item="<key>"]`
372
+ `[data-marketing-consent-all]` (select-all — exactly one per page; the step's closing copy above the
373
+ buttons is `[data-marketing-consent-all-end]` — and in Terms mode it ticks the Terms box with the
374
+ consents, in required-only mode only the Terms box), `[data-marketing-consent-item="<key>"]`
370
375
  (per-consent), `[data-marketing-consent-save]`, `[data-marketing-consent-skip]` (shown whenever the
371
376
  step is optional-only — i.e. `!loading && !terms.needed` — not only after a failed save),
372
377
  `[data-marketing-consent-skip-note]`, `[data-marketing-consent-signout]` (shown while a Terms box or
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@owlmeans/test-ui",
3
- "version": "0.1.20-alpha.0",
3
+ "version": "0.1.20-rc.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -24,13 +24,13 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "@owlmeans/auth": "^0.1.19",
27
- "@owlmeans/auth-common": "0.1.20-alpha.0",
28
- "@owlmeans/auth-email": "0.1.20-alpha.0",
29
- "@owlmeans/basic-envelope": "0.1.20-alpha.0",
27
+ "@owlmeans/auth-common": "^0.1.19",
28
+ "@owlmeans/auth-email": "^0.1.19",
29
+ "@owlmeans/basic-envelope": "^0.1.19",
30
30
  "@owlmeans/basic-ids": "^0.1.19",
31
- "@owlmeans/basic-keys": "0.1.20-alpha.0",
31
+ "@owlmeans/basic-keys": "^0.1.19",
32
32
  "@owlmeans/test": "^0.1.19",
33
- "@owlmeans/test-auth": "0.1.20-alpha.0",
33
+ "@owlmeans/test-auth": "^0.1.19",
34
34
  "playwright": "^1.64.1"
35
35
  },
36
36
  "peerDependencies": {