@owlmeans/test-ui 0.1.18-rc.52 → 0.1.18-rc.54

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
@@ -61,7 +61,7 @@ This package ships embedded agent skills under `agent-meta/`. After installing y
61
61
  your project's skill store (`.agents/skills/`):
62
62
 
63
63
  ```sh
64
- npx @owlmeans/agent-skills@^0.1.18-rc.54
64
+ npx @owlmeans/agent-skills@^0.1.18-rc.56
65
65
  ```
66
66
 
67
67
  The embedded files are version-matched to this package release. Do not edit them
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 2,
3
3
  "package": "@owlmeans/test-ui",
4
- "version": "0.1.18-rc.52",
5
- "generatedAt": "2026-10-15T10:20:01.289Z",
4
+ "version": "0.1.18-rc.54",
5
+ "generatedAt": "2026-10-17T00:00:32.697Z",
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.18-rc.52"` in `devDependencies`
9
+ **Install:** `"@owlmeans/test-ui": "^0.1.18-rc.54"` 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
@@ -264,6 +264,14 @@ See `[[shadcn-web]]` for the full `@` alias contract and `tests/context.ts` patt
264
264
  suite that drives a login or a consent gate. Bun's 5s default is for in-process work, and
265
265
  `bunfig.toml`'s `[test] timeout` is not a way to change it.
266
266
  - **Always `close()` the page and `browserHelper.closeBrowser()` in `afterAll`.** A leaked context blocks the bun process from exiting.
267
+ - **A phone context needs the page's viewport meta.** `newContext({ isMobile: true, hasTouch: true,
268
+ viewport: { width: 375, … } })` lays a page without `<meta name="viewport" content="width=device-width,
269
+ initial-scale=1">` out at 980px and zooms it, so no `max-md:` rule and no `matchMedia('(min-width:
270
+ 768px)')` branch ever sees 375. The harness `index.html` carries the meta; `isMobile` + `hasTouch`
271
+ also make `(pointer: coarse)` match.
272
+ - **Focus comes back a tick after a Radix surface closes.** Its focus scope restores focus in a
273
+ timeout after unmount — wait for it (`page.waitForFunction(() => document.activeElement …)`), never
274
+ assert it right after `waitFor({ state: 'detached' })`.
267
275
  - **Chromium only by default.** Add `firefox` or `webkit` per package only when the feature has documented cross-browser concerns — call `chromium.launch` / `firefox.launch` explicitly in that case.
268
276
 
269
277
  ## `mountComponent` waits for `domcontentloaded`, not `load`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@owlmeans/test-ui",
3
- "version": "0.1.18-rc.52",
3
+ "version": "0.1.18-rc.54",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -23,11 +23,11 @@
23
23
  },
24
24
  "dependencies": {
25
25
  "@owlmeans/auth": "^0.1.18-rc.41",
26
- "@owlmeans/basic-envelope": "^0.1.18-rc.49",
26
+ "@owlmeans/basic-envelope": "^0.1.18-rc.50",
27
27
  "@owlmeans/basic-ids": "^0.1.18-rc.40",
28
- "@owlmeans/basic-keys": "^0.1.18-rc.51",
29
- "@owlmeans/test": "^0.1.18-rc.36",
30
- "@owlmeans/test-auth": "^0.1.18-rc.49",
28
+ "@owlmeans/basic-keys": "^0.1.18-rc.52",
29
+ "@owlmeans/test": "^0.1.18-rc.37",
30
+ "@owlmeans/test-auth": "^0.1.18-rc.50",
31
31
  "playwright": "^1.63.0"
32
32
  },
33
33
  "peerDependencies": {
@@ -43,7 +43,7 @@
43
43
  }
44
44
  },
45
45
  "devDependencies": {
46
- "@owlmeans/dep-config": "^0.1.18-rc.6",
46
+ "@owlmeans/dep-config": "^0.1.18-rc.7",
47
47
  "@types/bun": "^1.4.2",
48
48
  "@types/react": "^19.3.0",
49
49
  "nodemon": "^3.1.14",