@forgebook/testing 0.1.0 → 0.1.2

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
@@ -12,7 +12,7 @@ tests:
12
12
  renders, and its controls checked against its args.
13
13
 
14
14
  **Requirements:** `forgebook` · Vite 8 · `@playwright/test` 1.64+ · Vitest 5 ·
15
- [MIT licence](https://github.com/Ensiria/forgebook/blob/develop/packages/testing/LICENSE)
15
+ [MIT licence](https://github.com/ensiria/forgebook/blob/develop/packages/testing/LICENSE)
16
16
 
17
17
  ```sh
18
18
  npm install --save-dev @forgebook/testing @playwright/test vitest
@@ -27,4 +27,4 @@ npm install --save-dev @forgebook/testing @playwright/test vitest
27
27
  | `forgebook-shot` | Opens one story of a running catalogue and reports it with a picture |
28
28
 
29
29
  Each module's TSDoc describes its setup; a step-by-step guide is still to be written. More:
30
- [Forgebook's README](https://github.com/Ensiria/forgebook/blob/develop/packages/forgebook/README.md).
30
+ [Forgebook's README](https://github.com/ensiria/forgebook/blob/develop/packages/forgebook/README.md).
@@ -3,7 +3,7 @@
3
3
  * opens every story's frame and measures it at each width.
4
4
  *
5
5
  * @remarks
6
- * The frame page is the one the catalogue's stage opens (D-56, D-69), and its height is read as the frame reports it to
6
+ * The frame page is the one the catalogue's stage opens, and its height is read as the frame reports it to
7
7
  * the shell (the body's own height), so a measured height is the one the stage would get. A story loads once at the
8
8
  * first width and is then resized through the others: a reload per width would multiply the run by them. `--serve`
9
9
  * serves a built catalogue with Vite's preview server, where a frame loads in one request per chunk instead of the
@@ -3,7 +3,7 @@
3
3
  * opens every story's frame and measures it at each width.
4
4
  *
5
5
  * @remarks
6
- * The frame page is the one the catalogue's stage opens (D-56, D-69), and its height is read as the frame reports it to
6
+ * The frame page is the one the catalogue's stage opens, and its height is read as the frame reports it to
7
7
  * the shell (the body's own height), so a measured height is the one the stage would get. A story loads once at the
8
8
  * first width and is then resized through the others: a reload per width would multiply the run by them. `--serve`
9
9
  * serves a built catalogue with Vite's preview server, where a frame loads in one request per chunk instead of the
@@ -3,7 +3,7 @@
3
3
  * waits for its story and reports.
4
4
  *
5
5
  * @remarks
6
- * The frame page is the address the catalogue and the generated tests open (D-56, D-69): what an agent sees is what a
6
+ * The frame page is the address the catalogue and the generated tests open: what an agent sees is what a
7
7
  * person sees in the stage. `shotAddress` is pure; `takeShot` drives Chromium through Playwright.
8
8
  *
9
9
  * @module
@@ -1,13 +1,13 @@
1
1
  /**
2
2
  * One Playwright test per story and variant, on the catalogue's frame pages: the address the catalogue shows is the
3
- * address the tests open (D-56, D-69).
3
+ * address the tests open.
4
4
  *
5
5
  * @remarks
6
6
  * Each test opens the frame for a story in a variant (the theme, the contrast, the style sheets), waits for the
7
- * frame to say the story is shown (`data-forgebook-status`), its story clock held at its start (D-504), and fails on an error in the console or the page, or on
7
+ * frame to say the story is shown (`data-forgebook-status`), its story clock held at its start, and fails on an error in the console or the page, or on
8
8
  * an axe violation of WCAG 2.2 A and AA, on an element that spills out of its parent (`spills.ts`: what overlaps a
9
9
  * neighbour when the story is narrower than it was drawn for), on an overlay its play leaves open past the frame the
10
- * catalogue would give it (`overlays.ts`: the story then declares `parameters.height`, D-469), or on the source's own
10
+ * catalogue would give it (`overlays.ts`: the story then declares `parameters.height`), or on the source's own
11
11
  * `check`. The variants include a
12
12
  * narrow frame, as wide as the catalogue's stage beside the props panel. With `screenshot` it compares the frame with its reference image instead,
13
13
  * for the visual tests, which run in the Playwright container so fonts and rendering are the same everywhere.
@@ -100,8 +100,8 @@ export const storyBrowserTests = (options) => {
100
100
  });
101
101
  if (variant.width !== undefined)
102
102
  await page.setViewportSize({ width: variant.width, height: 800 });
103
- // a Live story is checked and pictured at its start: its clock held, so its image never changes (D-504);
104
- // always on its page's own colour, whatever a variant names: a backdrop is for looking (D-644, D-653)
103
+ // a Live story is checked and pictured at its start: its clock held, so its image never changes;
104
+ // always on its page's own colour, whatever a variant names: a backdrop is for looking
105
105
  const view = {
106
106
  ...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AG,SAAS,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;6BAC/C,OAAO,EAAE,CAAC;wBACb,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,GAAG,SAAS,CAAC,EAAE,KAAK,SAAS,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;wBACxF,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,UAAU,EAAE,kBAAkB,CAAC,CAAC;wBACnE,MAAM,CACJ,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,GAAG,KAAK,CAAC,OAAO,kBAAkB,KAAK,CAAC,MAAM,OAAO,KAAK,CAAC,EAAE,IAAI,CAAC,CACzF,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;wBACd,MAAM,KAAK,EAAE,CAAC,IAAI,CAAC,CAAC;wBACpB,wEAAwE;wBACxE,MAAM,CAAC,MAAM,eAAe,CAAC,IAAI,EAAE,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;wBACvE,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;oBAC7B,CAAC,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;QACH,CAAC,CAAC,CAAC;IACL,CAAC;AACH,CAAC,CAAC"}
@@ -1,13 +1,13 @@
1
1
  /**
2
2
  * The overlays a story leaves open past its frame: what a frame as tall as the story would cut or push to the other
3
- * side, so the story needs `parameters.height` (D-469).
3
+ * side, so the story needs `parameters.height`.
4
4
  *
5
5
  * @remarks
6
6
  * The catalogue sizes a story's frame to its document's body, and the window of the frame is the overlays' window;
7
7
  * the tests open the frame in a window taller than that, where an overlay opened near the story's foot still fits. So
8
8
  * after the play an overlay is measured against the frame the shell would give it: the body's height, or the height
9
9
  * the story declares when that is more. Without knowing
10
- * the library (D-67), an overlay is any element with `position: fixed` that shows (a box, not hidden, not
10
+ * the library, an overlay is any element with `position: fixed` that shows (a box, not hidden, not
11
11
  * transparent) and whose box ends more than a pixel below the body. A fixed element placed against the window rather
12
12
  * than against what opened it (a full-window layer, a toast region pinned to the window's foot, a drawer) is told
13
13
  * apart by covering the window's whole height, or by growing the window: it moves or grows with it, an anchored
@@ -3,7 +3,7 @@
3
3
  * visual tests in the Playwright container's browser, both on the package's own test instance of the frame page.
4
4
  *
5
5
  * @remarks
6
- * Published (`forgebook/testing/playwright`; D-167). The package keeps a folder with its specs
6
+ * Published (`forgebook/testing/playwright`). The package keeps a folder with its specs
7
7
  * (`stories.spec.ts`, `visual.spec.ts`), its frame page (`frame.html`), the Vite config that serves it
8
8
  * (`vite.config.ts`, from `storyTestViteConfig`) and the visual tests' global setup (`visualBrowser.ts`, from
9
9
  * `startVisualBrowser`); each package names its own ports, so two packages' tests run side by side. In CI the visual
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * One Vitest test per story: the framework renders it to a string without errors (`renderToString` of its renderer),
3
- * so no component reads `window` or `document` while rendering (D-71), and its controls tell the truth
3
+ * so no component reads `window` or `document` while rendering, and its controls tell the truth
4
4
  * (`storyControlsProblem`).
5
5
  *
6
6
  * @remarks
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * One Vitest test per story: the framework renders it to a string without errors (`renderToString` of its renderer),
3
- * so no component reads `window` or `document` while rendering (D-71), and its controls tell the truth
3
+ * so no component reads `window` or `document` while rendering, and its controls tell the truth
4
4
  * (`storyControlsProblem`).
5
5
  *
6
6
  * @remarks
@@ -49,7 +49,7 @@ export const storyServerTests = (source, options) => {
49
49
  // the stories' own texts: what the catalogue shows when no language is chosen
50
50
  const texts = source.texts?.[BASE_LANGUAGE] ?? {};
51
51
  const args = withStoryTexts(loaded.args, storyTextOf(texts));
52
- // a Live story renders at its start, as the frame's tests picture it (D-504)
52
+ // a Live story renders at its start, as the frame's tests picture it
53
53
  const clock = heldFrameClock(loaded.clockStart ?? 0);
54
54
  // the loaders and set-ups run as in the frame, so a story drawn from what they load renders here too
55
55
  const identity = { id: story.id, name: story.name, title: component.title };
@@ -1 +1 @@
1
- {"version":3,"file":"serverTests.js","sourceRoot":"","sources":["../../src/serverTests.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAGH,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAwB,cAAc,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACtG,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACtE,OAAO,EAAE,SAAS,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AACvE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAEzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAyB1D;;;;;GAKG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,MAAmB,EAAE,OAAgC,EAAQ,EAAE;IAC9F,MAAM,MAAM,GAA+B;QACzC,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE;QACvC,GAAG,CAAC,OAAO,CAAC,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;KACtD,CAAC;IACF,MAAM,OAAO,GAAG,cAAc,CAAC,CAAC,OAAO,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC;IAC1E,SAAS,CAAC,KAAK,IAAI,EAAE;QACnB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,CAAC,SAAS,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;iCAC1D;gCACD,OAAO,EAAE,EAAE;gCACX,MAAM,EAAE,QAAQ,CAAC,MAAM;6BACxB,CAAC,CAAC;wBACL,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,EAAE,CAAC;oBACnB,CAAC;4BAAS,CAAC;wBACT,MAAM,QAAQ,CAAC,OAAO,EAAE,CAAC;oBAC3B,CAAC;oBACD,IAAI,CAAC,KAAK,EAAE,CAAC,IAAI,CAAC,CAAC;gBACrB,CAAC,CAAC,CAAC;gBACH,EAAE,CAAC,GAAG,KAAK,CAAC,IAAI,gCAAgC,EAAE,KAAK,IAAI,EAAE;oBAC3D,MAAM,IAAI,GAAG,WAAW,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;oBACzD,IAAI,IAAI,KAAK,SAAS;wBAAE,MAAM,IAAI,KAAK,CAAC,iBAAiB,SAAS,CAAC,IAAI,EAAE,CAAC,CAAC;oBAC3E,MAAM,MAAM,GAAG,SAAS,CAAC,MAAM,IAAI,EAAE,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;oBACzD,IAAI,OAAO,MAAM,KAAK,QAAQ;wBAAE,MAAM,IAAI,KAAK,CAAC,MAAM,CAAC,CAAC;oBACxD,MAAM,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAC,CAAC,aAAa,EAAE,CAAC;gBACvD,CAAC,CAAC,CAAC;YACL,CAAC;QACH,CAAC,CAAC,CAAC;IACL,CAAC;AACH,CAAC,CAAC"}
@@ -3,7 +3,7 @@
3
3
  * container's browser asks for.
4
4
  *
5
5
  * @remarks
6
- * Published (`forgebook/testing/vite`; D-167). The package's `vite.config.ts` beside its specs exports it.
6
+ * Published (`forgebook/testing/vite`). The package's `vite.config.ts` beside its specs exports it.
7
7
  * Vite serves files up to its workspace root (the monorepo's, or the package's alone), which covers the package's
8
8
  * sources, the libraries it builds on and this kit's fonts.
9
9
  *
@@ -3,7 +3,7 @@
3
3
  * container's browser asks for.
4
4
  *
5
5
  * @remarks
6
- * Published (`forgebook/testing/vite`; D-167). The package's `vite.config.ts` beside its specs exports it.
6
+ * Published (`forgebook/testing/vite`). The package's `vite.config.ts` beside its specs exports it.
7
7
  * Vite serves files up to its workspace root (the monorepo's, or the package's alone), which covers the package's
8
8
  * sources, the libraries it builds on and this kit's fonts.
9
9
  *
@@ -3,7 +3,7 @@
3
3
  * are the same as in CI, where the tests run inside that image.
4
4
  *
5
5
  * @remarks
6
- * Published (`forgebook/testing/visual-browser`; D-167). A package's `visualBrowser.ts` beside its specs
6
+ * Published (`forgebook/testing/visual-browser`). A package's `visualBrowser.ts` beside its specs
7
7
  * exports a global setup that calls `startVisualBrowser` with its own port and container name and returns the
8
8
  * teardown. Needs Docker (OrbStack or Docker Desktop).
9
9
  *
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@forgebook/testing",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Tests from a package's stories: each story and variant in the browser with axe, spills and overlays, screenshots, and each story rendered on the server.",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
8
- "url": "git+https://github.com/Ensiria/forgebook.git",
8
+ "url": "git+https://github.com/ensiria/forgebook.git",
9
9
  "directory": "packages/testing"
10
10
  },
11
11
  "type": "module",
@@ -56,13 +56,13 @@
56
56
  "dependencies": {
57
57
  "@axe-core/playwright": "4.14.0",
58
58
  "@ensiria/cli-kit": "^0.1.1",
59
- "@forgebook/story-format": "0.1.0"
59
+ "@forgebook/story-format": "0.1.2"
60
60
  },
61
61
  "peerDependencies": {
62
62
  "@playwright/test": "^1.64.0",
63
63
  "vite": "^8.0.0",
64
64
  "vitest": "^5.0.0",
65
- "forgebook": "^0.1.0"
65
+ "forgebook": "^0.1.2"
66
66
  },
67
67
  "devDependencies": {
68
68
  "@playwright/test": "1.64.1",
@@ -73,7 +73,7 @@
73
73
  "vitest": "5.0.5",
74
74
  "@forgebook/tools": "0.0.0",
75
75
  "@forgebook/typescript-config": "0.0.0",
76
- "forgebook": "0.1.0"
76
+ "forgebook": "0.1.2"
77
77
  },
78
78
  "publishConfig": {
79
79
  "access": "public"