@forgebook/testing 0.1.9 → 0.2.1
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 +25 -0
- package/dist/bin/forgebook-heights/forgebook-heights.d.mts +0 -1
- package/dist/bin/forgebook-heights/forgebook-heights.mjs +0 -1
- package/dist/bin/forgebook-heights/measureHeights.d.ts +0 -1
- package/dist/bin/forgebook-heights/measureHeights.js +2 -2
- package/dist/bin/forgebook-heights/measureHeights.types.d.ts +0 -1
- package/dist/bin/forgebook-heights/measureHeights.types.js +0 -1
- package/dist/bin/forgebook-shot/forgebook-shot.d.mts +0 -1
- package/dist/bin/forgebook-shot/forgebook-shot.mjs +0 -1
- package/dist/bin/forgebook-shot/storyShot.d.ts +0 -1
- package/dist/bin/forgebook-shot/storyShot.js +2 -2
- package/dist/bin/forgebook-shot/storyShot.types.d.ts +0 -1
- package/dist/bin/forgebook-shot/storyShot.types.js +0 -1
- package/dist/src/browserTests.d.ts +0 -19
- package/dist/src/browserTests.js +27 -9
- package/dist/src/checkPage.d.ts +16 -0
- package/dist/src/checkPage.js +68 -0
- package/dist/src/checkStories.d.ts +0 -1
- package/dist/src/checkStories.js +11 -7
- package/dist/src/conformance.d.ts +46 -0
- package/dist/src/conformance.js +146 -0
- package/dist/src/deviceShot.d.ts +18 -0
- package/dist/src/deviceShot.js +29 -0
- package/dist/src/diffStories.d.ts +77 -0
- package/dist/src/diffStories.js +251 -0
- package/dist/src/overlays.d.ts +0 -1
- package/dist/src/overlays.js +0 -1
- package/dist/src/playwrightConfig.d.ts +0 -1
- package/dist/src/playwrightConfig.js +8 -3
- package/dist/src/semanticJudge.d.ts +50 -0
- package/dist/src/semanticJudge.js +111 -0
- package/dist/src/serverTests.d.ts +0 -1
- package/dist/src/serverTests.js +51 -39
- package/dist/src/shotStories.d.ts +2 -2
- package/dist/src/shotStories.js +31 -6
- package/dist/src/storyCheck.d.ts +9 -2
- package/dist/src/storyCheck.js +45 -3
- package/dist/src/storyControls.d.ts +0 -1
- package/dist/src/storyControls.js +0 -1
- package/dist/src/storyFiles.d.ts +18 -4
- package/dist/src/storyFiles.js +7 -30
- package/dist/src/storyPages.d.ts +9 -2
- package/dist/src/storyPages.js +12 -4
- package/dist/src/storyTestPlan.d.ts +0 -1
- package/dist/src/storyTestPlan.js +0 -1
- package/dist/src/testViteConfig.d.ts +2 -3
- package/dist/src/testViteConfig.js +4 -4
- package/dist/src/touchWindow.d.ts +0 -1
- package/dist/src/touchWindow.js +0 -1
- package/dist/src/visualBrowser.d.ts +0 -1
- package/dist/src/visualBrowser.js +0 -1
- package/package.json +17 -5
- package/dist/bin/forgebook-heights/forgebook-heights.d.mts.map +0 -1
- package/dist/bin/forgebook-heights/forgebook-heights.mjs.map +0 -1
- package/dist/bin/forgebook-heights/measureHeights.d.ts.map +0 -1
- package/dist/bin/forgebook-heights/measureHeights.js.map +0 -1
- package/dist/bin/forgebook-heights/measureHeights.types.d.ts.map +0 -1
- package/dist/bin/forgebook-heights/measureHeights.types.js.map +0 -1
- package/dist/bin/forgebook-shot/forgebook-shot.d.mts.map +0 -1
- package/dist/bin/forgebook-shot/forgebook-shot.mjs.map +0 -1
- package/dist/bin/forgebook-shot/storyShot.d.ts.map +0 -1
- package/dist/bin/forgebook-shot/storyShot.js.map +0 -1
- package/dist/bin/forgebook-shot/storyShot.types.d.ts.map +0 -1
- package/dist/bin/forgebook-shot/storyShot.types.js.map +0 -1
- package/dist/src/browserTests.d.ts.map +0 -1
- package/dist/src/browserTests.js.map +0 -1
- package/dist/src/checkStories.d.ts.map +0 -1
- package/dist/src/checkStories.js.map +0 -1
- package/dist/src/overlays.d.ts.map +0 -1
- package/dist/src/overlays.js.map +0 -1
- package/dist/src/playwrightConfig.d.ts.map +0 -1
- package/dist/src/playwrightConfig.js.map +0 -1
- package/dist/src/serverTests.d.ts.map +0 -1
- package/dist/src/serverTests.js.map +0 -1
- package/dist/src/shotStories.d.ts.map +0 -1
- package/dist/src/shotStories.js.map +0 -1
- package/dist/src/storyCheck.d.ts.map +0 -1
- package/dist/src/storyCheck.js.map +0 -1
- package/dist/src/storyControls.d.ts.map +0 -1
- package/dist/src/storyControls.js.map +0 -1
- package/dist/src/storyFiles.d.ts.map +0 -1
- package/dist/src/storyFiles.js.map +0 -1
- package/dist/src/storyPages.d.ts.map +0 -1
- package/dist/src/storyPages.js.map +0 -1
- package/dist/src/storyTestPlan.d.ts.map +0 -1
- package/dist/src/storyTestPlan.js.map +0 -1
- package/dist/src/testViteConfig.d.ts.map +0 -1
- package/dist/src/testViteConfig.js.map +0 -1
- package/dist/src/touchWindow.d.ts.map +0 -1
- package/dist/src/touchWindow.js.map +0 -1
- package/dist/src/visualBrowser.d.ts.map +0 -1
- package/dist/src/visualBrowser.js.map +0 -1
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { StoryShotReport, StoryShotRequest } from "forgebook/story-check";
|
|
2
2
|
import { type StoryPage } from "./storyPages.ts";
|
|
3
3
|
/**
|
|
4
|
-
* A picture's file name: the story's id and the view's name, each kept to letters, digits and hyphens.
|
|
4
|
+
* A picture's file name: the story's id and the view's name, each kept to letters, digits and hyphens. Letters of any
|
|
5
|
+
* script count, as an id keeps them: two stories whose ids differ only there would otherwise share one picture.
|
|
5
6
|
*
|
|
6
7
|
* @param storyPage - the story and the view.
|
|
7
8
|
*/
|
|
@@ -13,4 +14,3 @@ export declare const shotName: (storyPage: Pick<StoryPage, "story" | "name">) =>
|
|
|
13
14
|
* @returns one picture per story and view, in the request's order.
|
|
14
15
|
*/
|
|
15
16
|
export declare const shotStories: (request: StoryShotRequest) => Promise<StoryShotReport>;
|
|
16
|
-
//# sourceMappingURL=shotStories.d.ts.map
|
package/dist/src/shotStories.js
CHANGED
|
@@ -7,20 +7,34 @@
|
|
|
7
7
|
* Loaded from the project by the command only when it runs, as the check is. A story is pictured at its start (its
|
|
8
8
|
* clock held, animations off), so the same story in the same view gives the same picture. A frame that never says it
|
|
9
9
|
* is ready is pictured as it is, so the picture shows what is wrong. The file's name is the story's id and the view's,
|
|
10
|
-
* so the pictures of several views sit side by side.
|
|
10
|
+
* so the pictures of several views sit side by side. A view that names a device (`iphone-16`) is pictured in it, framed
|
|
11
|
+
* (`deviceShot.ts`); no other view is.
|
|
11
12
|
*
|
|
12
13
|
* @module
|
|
13
14
|
*/
|
|
14
15
|
import { mkdirSync } from "node:fs";
|
|
15
16
|
import { join } from "node:path";
|
|
17
|
+
import { schemeOf } from "forgebook/view-state";
|
|
18
|
+
import { framedShot } from "./deviceShot.js";
|
|
16
19
|
import { eachStoryPage, openedStory } from "./storyPages.js";
|
|
20
|
+
/** A text with no hyphens at its ends; a loop, since a regular expression slows on a long run of them. */
|
|
21
|
+
const trimmedHyphens = (text) => {
|
|
22
|
+
let start = 0;
|
|
23
|
+
let end = text.length;
|
|
24
|
+
while (start < end && text[start] === "-")
|
|
25
|
+
start += 1;
|
|
26
|
+
while (end > start && text[end - 1] === "-")
|
|
27
|
+
end -= 1;
|
|
28
|
+
return text.slice(start, end);
|
|
29
|
+
};
|
|
17
30
|
/**
|
|
18
|
-
* A picture's file name: the story's id and the view's name, each kept to letters, digits and hyphens.
|
|
31
|
+
* A picture's file name: the story's id and the view's name, each kept to letters, digits and hyphens. Letters of any
|
|
32
|
+
* script count, as an id keeps them: two stories whose ids differ only there would otherwise share one picture.
|
|
19
33
|
*
|
|
20
34
|
* @param storyPage - the story and the view.
|
|
21
35
|
*/
|
|
22
36
|
export const shotName = (storyPage) => {
|
|
23
|
-
const safe = (text) => text.replace(/[
|
|
37
|
+
const safe = (text) => trimmedHyphens(text.replace(/[^\p{L}\p{N}-]+/gu, "-"));
|
|
24
38
|
return `${safe(storyPage.story.id)}--${safe(storyPage.name) || "default"}.png`;
|
|
25
39
|
};
|
|
26
40
|
/**
|
|
@@ -32,8 +46,14 @@ export const shotName = (storyPage) => {
|
|
|
32
46
|
export const shotStories = async (request) => {
|
|
33
47
|
mkdirSync(request.outDir, { recursive: true });
|
|
34
48
|
const shots = await eachStoryPage(request, async (page, storyPage) => {
|
|
35
|
-
await openedStory(page, storyPage);
|
|
49
|
+
const status = await openedStory(page, storyPage);
|
|
36
50
|
const file = join(request.outDir, shotName(storyPage));
|
|
51
|
+
if (storyPage.device !== undefined) {
|
|
52
|
+
// a story's scheme of `system` is pictured light, as the held window has no system to follow
|
|
53
|
+
const scheme = schemeOf(storyPage.view, request.switches) === "dark" ? "dark" : "light";
|
|
54
|
+
await framedShot(page, storyPage.device, storyPage.isEdgeToEdge, scheme, file);
|
|
55
|
+
return { storyId: storyPage.story.id, view: storyPage.name, frame: storyPage.frame, file };
|
|
56
|
+
}
|
|
37
57
|
// the story at its own height, not the window's: the body's, as the shell sizes a frame
|
|
38
58
|
const size = await page.evaluate(() => ({
|
|
39
59
|
width: document.documentElement.clientWidth,
|
|
@@ -45,8 +65,13 @@ export const shotStories = async (request) => {
|
|
|
45
65
|
clip: { x: 0, y: 0, ...size },
|
|
46
66
|
animations: "disabled"
|
|
47
67
|
});
|
|
48
|
-
return {
|
|
68
|
+
return {
|
|
69
|
+
storyId: storyPage.story.id,
|
|
70
|
+
view: storyPage.name,
|
|
71
|
+
frame: storyPage.frame,
|
|
72
|
+
file,
|
|
73
|
+
...(status === "ready" ? {} : { status })
|
|
74
|
+
};
|
|
49
75
|
});
|
|
50
76
|
return { schema: 1, shots };
|
|
51
77
|
};
|
|
52
|
-
//# sourceMappingURL=shotStories.js.map
|
package/dist/src/storyCheck.d.ts
CHANGED
|
@@ -19,8 +19,9 @@ export declare const axeProblems: (page: Page, a11y: A11ySettings) => Promise<St
|
|
|
19
19
|
* The elements that spill out of their parents.
|
|
20
20
|
*
|
|
21
21
|
* @param page - the story's frame page, ready.
|
|
22
|
+
* @param root - the element to look inside; a story's frame by default.
|
|
22
23
|
*/
|
|
23
|
-
export declare const spillProblems: (page: Page) => Promise<StoryProblem[]>;
|
|
24
|
+
export declare const spillProblems: (page: Page, root?: string) => Promise<StoryProblem[]>;
|
|
24
25
|
/**
|
|
25
26
|
* The overlays the story leaves open past its frame; none in a view where they are not checked.
|
|
26
27
|
*
|
|
@@ -29,10 +30,16 @@ export declare const spillProblems: (page: Page) => Promise<StoryProblem[]>;
|
|
|
29
30
|
* @param sceneHeight - the height the story declares, in CSS px, if any.
|
|
30
31
|
*/
|
|
31
32
|
export declare const overlayProblems: (page: Page, isChecked: boolean, sceneHeight: number | undefined) => Promise<StoryProblem[]>;
|
|
33
|
+
/**
|
|
34
|
+
* What a modal does wrong with the keyboard: what an axe run and a screenshot do not show. It moves the focus inside when
|
|
35
|
+
* it opens, and Tab stays inside. Last of a page's checks, since it presses keys.
|
|
36
|
+
*
|
|
37
|
+
* @param page - the page, ready; a page with no open modal has nothing to check.
|
|
38
|
+
*/
|
|
39
|
+
export declare const focusProblems: (page: Page) => Promise<StoryProblem[]>;
|
|
32
40
|
/**
|
|
33
41
|
* The page's errors as problems.
|
|
34
42
|
*
|
|
35
43
|
* @param errors - the errors `watchedErrors` collected.
|
|
36
44
|
*/
|
|
37
45
|
export declare const errorProblems: (errors: readonly string[]) => StoryProblem[];
|
|
38
|
-
//# sourceMappingURL=storyCheck.d.ts.map
|
package/dist/src/storyCheck.js
CHANGED
|
@@ -50,9 +50,10 @@ export const axeProblems = async (page, a11y) => {
|
|
|
50
50
|
* The elements that spill out of their parents.
|
|
51
51
|
*
|
|
52
52
|
* @param page - the story's frame page, ready.
|
|
53
|
+
* @param root - the element to look inside; a story's frame by default.
|
|
53
54
|
*/
|
|
54
|
-
export const spillProblems = async (page) => {
|
|
55
|
-
const spills = await page.evaluate(findSpills,
|
|
55
|
+
export const spillProblems = async (page, root = ".forgebook-frame") => {
|
|
56
|
+
const spills = await page.evaluate(findSpills, root);
|
|
56
57
|
return spills.map((spill) => ({
|
|
57
58
|
kind: "spill",
|
|
58
59
|
element: spill.element,
|
|
@@ -76,10 +77,51 @@ export const overlayProblems = async (page, isChecked, sceneHeight) => {
|
|
|
76
77
|
message: `${overlay.element} ends ${overlay.by}px below the frame's ${overlay.frameHeight}px: declare parameters.height`
|
|
77
78
|
}));
|
|
78
79
|
};
|
|
80
|
+
/** A modal, in a document: what a keyboard has to stay inside of. */
|
|
81
|
+
const MODAL = 'dialog[open], [role="dialog"][aria-modal="true"], [role="alertdialog"][aria-modal="true"]';
|
|
82
|
+
/** Whether the focus is inside the modal, as the page sees it. */
|
|
83
|
+
const isFocusInside = (page) => page.evaluate((selector) => document.querySelector(selector)?.contains(document.activeElement) === true, MODAL);
|
|
84
|
+
/**
|
|
85
|
+
* Whether the focus reached the page behind the modal. On `body` it is not: a native modal lets Tab go on to the browser's
|
|
86
|
+
* own controls, which is how it works, and the page behind stays out of reach.
|
|
87
|
+
*/
|
|
88
|
+
const isFocusBehind = (page) => page.evaluate((selector) => {
|
|
89
|
+
const active = document.activeElement;
|
|
90
|
+
return active !== document.body && document.querySelector(selector)?.contains(active) === false;
|
|
91
|
+
}, MODAL);
|
|
92
|
+
/**
|
|
93
|
+
* What a modal does wrong with the keyboard: what an axe run and a screenshot do not show. It moves the focus inside when
|
|
94
|
+
* it opens, and Tab stays inside. Last of a page's checks, since it presses keys.
|
|
95
|
+
*
|
|
96
|
+
* @param page - the page, ready; a page with no open modal has nothing to check.
|
|
97
|
+
*/
|
|
98
|
+
export const focusProblems = async (page) => {
|
|
99
|
+
const stops = await page.evaluate((selector) => document
|
|
100
|
+
.querySelector(selector)
|
|
101
|
+
?.querySelectorAll("a[href], button, input, select, textarea, [tabindex]").length, MODAL);
|
|
102
|
+
if (stops === undefined)
|
|
103
|
+
return [];
|
|
104
|
+
if (stops === 0) {
|
|
105
|
+
return [
|
|
106
|
+
{ kind: "focus", message: "The modal holds nothing to focus: a keyboard cannot reach it or leave it" }
|
|
107
|
+
];
|
|
108
|
+
}
|
|
109
|
+
if (!(await isFocusInside(page))) {
|
|
110
|
+
return [{ kind: "focus", message: "The modal did not move the focus inside when it opened" }];
|
|
111
|
+
}
|
|
112
|
+
for (let press = 0; press <= stops; press += 1) {
|
|
113
|
+
await page.keyboard.press("Tab");
|
|
114
|
+
if (await isFocusBehind(page)) {
|
|
115
|
+
return [
|
|
116
|
+
{ kind: "focus", message: "Tab leaves the modal: the focus has to stay inside while it is open" }
|
|
117
|
+
];
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
return [];
|
|
121
|
+
};
|
|
79
122
|
/**
|
|
80
123
|
* The page's errors as problems.
|
|
81
124
|
*
|
|
82
125
|
* @param errors - the errors `watchedErrors` collected.
|
|
83
126
|
*/
|
|
84
127
|
export const errorProblems = (errors) => errors.map((message) => ({ kind: "error", message }));
|
|
85
|
-
//# sourceMappingURL=storyCheck.js.map
|
|
@@ -21,4 +21,3 @@ import type { LoadedStory } from "forgebook/story-module";
|
|
|
21
21
|
* @returns why the panel would show controls that do nothing, or hide ones that work.
|
|
22
22
|
*/
|
|
23
23
|
export declare const storyControlsProblem: (story: LoadedStory) => string | undefined;
|
|
24
|
-
//# sourceMappingURL=storyControls.d.ts.map
|
package/dist/src/storyFiles.d.ts
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A package's story files and their index, read from the disk: what a test runner that does not go through Vite
|
|
3
|
+
* (Playwright) needs to declare one test per story.
|
|
4
|
+
*
|
|
5
|
+
* @remarks
|
|
6
|
+
* A `StorySource` names its files with `?forgebook-files` imports, which only the catalogue's Vite plugin answers; this
|
|
7
|
+
* reads the same files from the same patterns, with the plugin's static index. A package keeps the two lists equal with
|
|
8
|
+
* `storyFilesMismatch`, run in Vitest, which goes through Vite.
|
|
9
|
+
*
|
|
10
|
+
* @module
|
|
11
|
+
*/
|
|
1
12
|
import type { StorySource } from "@forgebook/story-format/source";
|
|
2
13
|
/** Where a package's story files are. */
|
|
3
14
|
export type StoryFilesOptions = {
|
|
@@ -7,20 +18,24 @@ export type StoryFilesOptions = {
|
|
|
7
18
|
readonly name: string;
|
|
8
19
|
/** The folder the patterns are relative to: the folder of the module that declares the source. */
|
|
9
20
|
readonly root: string;
|
|
10
|
-
/**
|
|
21
|
+
/**
|
|
22
|
+
* The same patterns as the source's `?forgebook-files` imports, relative to `root` (`../src/**\/*.stories.tsx`), or
|
|
23
|
+
* the catalogue's `stories`: a `!` pattern leaves out what it matches from what the others list.
|
|
24
|
+
*/
|
|
11
25
|
readonly patterns: readonly string[];
|
|
12
26
|
};
|
|
13
27
|
/**
|
|
14
|
-
* The story files the patterns
|
|
28
|
+
* The story files the patterns list, as the source's keys (`./x` or `../x`, relative to `root`), each once, sorted.
|
|
15
29
|
*
|
|
16
30
|
* @param options - where the files are.
|
|
31
|
+
* @throws When every pattern is a `!` one: they leave files out, and nothing lists any.
|
|
17
32
|
*/
|
|
18
33
|
export declare const storyFiles: (options: StoryFilesOptions) => string[];
|
|
19
34
|
/**
|
|
20
35
|
* A source with its index read from the disk and no loaders: enough for the story tree, the ids and the tests.
|
|
21
36
|
*
|
|
22
37
|
* @param options - where the files are.
|
|
23
|
-
* @throws When a story file cannot be indexed.
|
|
38
|
+
* @throws When a story file cannot be indexed, or every pattern is a `!` one.
|
|
24
39
|
*/
|
|
25
40
|
export declare const indexedSource: (options: StoryFilesOptions) => StorySource;
|
|
26
41
|
/**
|
|
@@ -31,4 +46,3 @@ export declare const indexedSource: (options: StoryFilesOptions) => StorySource;
|
|
|
31
46
|
* @returns the files only one side lists; empty when they match.
|
|
32
47
|
*/
|
|
33
48
|
export declare const storyFilesMismatch: (options: StoryFilesOptions, source: StorySource) => string[];
|
|
34
|
-
//# sourceMappingURL=storyFiles.d.ts.map
|
package/dist/src/storyFiles.js
CHANGED
|
@@ -1,44 +1,22 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A package's story files and their index, read from the disk: what a test runner that does not go through Vite
|
|
3
|
-
* (Playwright) needs to declare one test per story.
|
|
4
|
-
*
|
|
5
|
-
* @remarks
|
|
6
|
-
* A `StorySource` names its files with `?forgebook-files` imports, which only the catalogue's Vite plugin answers; this
|
|
7
|
-
* reads the same files from the same patterns, with the plugin's static index. A package keeps the two lists equal with
|
|
8
|
-
* `storyFilesMismatch`, run in Vitest, which goes through Vite.
|
|
9
|
-
*
|
|
10
|
-
* @module
|
|
11
|
-
*/
|
|
12
|
-
import { readFileSync } from "node:fs";
|
|
13
|
-
import { join } from "node:path";
|
|
14
1
|
import { sourceFiles } from "forgebook/source-files";
|
|
15
|
-
import {
|
|
16
|
-
import { indexStoryFile } from "forgebook/vite/index-story-file";
|
|
17
|
-
import { storyFileKeys } from "forgebook/vite/story-files-module";
|
|
2
|
+
import { indexedStoryFiles, storyFileKeys } from "forgebook/vite/story-files-module";
|
|
18
3
|
/**
|
|
19
|
-
* The story files the patterns
|
|
4
|
+
* The story files the patterns list, as the source's keys (`./x` or `../x`, relative to `root`), each once, sorted.
|
|
20
5
|
*
|
|
21
6
|
* @param options - where the files are.
|
|
7
|
+
* @throws When every pattern is a `!` one: they leave files out, and nothing lists any.
|
|
22
8
|
*/
|
|
23
9
|
export const storyFiles = (options) => storyFileKeys(options.root, options.patterns);
|
|
24
10
|
/**
|
|
25
11
|
* A source with its index read from the disk and no loaders: enough for the story tree, the ids and the tests.
|
|
26
12
|
*
|
|
27
13
|
* @param options - where the files are.
|
|
28
|
-
* @throws When a story file cannot be indexed.
|
|
14
|
+
* @throws When a story file cannot be indexed, or every pattern is a `!` one.
|
|
29
15
|
*/
|
|
30
16
|
export const indexedSource = (options) => {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
const pattern = options.patterns.find((candidate) => storyFileKeys(options.root, [candidate]).includes(file));
|
|
35
|
-
const title = pattern === undefined ? undefined : autoTitle(patternBase(pattern), file);
|
|
36
|
-
const text = readFileSync(join(options.root, file), "utf8");
|
|
37
|
-
const entry = indexStoryFile(file, text, title === undefined ? {} : { autoTitle: title });
|
|
38
|
-
if (typeof entry === "string")
|
|
39
|
-
throw new Error(entry);
|
|
40
|
-
index[file] = entry;
|
|
41
|
-
}
|
|
17
|
+
// indexed as the plugin indexes them: a file's title from the first pattern that lists it
|
|
18
|
+
const files = indexedStoryFiles(options.root, options.patterns, () => undefined);
|
|
19
|
+
const index = Object.fromEntries(files.map((file) => [file.key, file.index]));
|
|
42
20
|
return {
|
|
43
21
|
id: options.sourceId,
|
|
44
22
|
name: options.name,
|
|
@@ -63,4 +41,3 @@ export const storyFilesMismatch = (options, source) => {
|
|
|
63
41
|
...[...fromSource].filter((file) => !fromPatterns.has(file)).map((file) => `only in the source: ${file}`)
|
|
64
42
|
];
|
|
65
43
|
};
|
|
66
|
-
//# sourceMappingURL=storyFiles.js.map
|
package/dist/src/storyPages.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The stories a check or a picture run asks for, opened as the catalogue's browser tests open them: each story in each
|
|
3
3
|
* view (or every variant the tests check), its clock held, on its page's own colour, the window as wide as the view's
|
|
4
|
-
* width, one browser for the run and a context of its own per page.
|
|
4
|
+
* width (a device's viewport when the view names one), one browser for the run and a context of its own per page.
|
|
5
5
|
*
|
|
6
6
|
* @remarks
|
|
7
7
|
* Shared by `checkStories.ts` and `shotStories.ts`, which `forgebook check` and `forgebook shot` load from the project.
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* @module
|
|
12
12
|
*/
|
|
13
13
|
import { type Page } from "@playwright/test";
|
|
14
|
+
import { type NamedDevice } from "forgebook/device-picture";
|
|
14
15
|
import type { StoryCheckRequest, StoryCheckStory } from "forgebook/story-check";
|
|
15
16
|
import { type ViewState } from "forgebook/view-state";
|
|
16
17
|
/** How long a frame may take to say it is ready, in ms. */
|
|
@@ -25,6 +26,13 @@ export type StoryPage = {
|
|
|
25
26
|
readonly view: ViewState;
|
|
26
27
|
/** The window's width, when the view sets one. */
|
|
27
28
|
readonly width: number | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* The device the view names (`forgebook.device=iphone-16`): the window takes its viewport and the picture its frame. A
|
|
31
|
+
* story's own default device never counts, so the tests and the pictures stay unframed unless asked.
|
|
32
|
+
*/
|
|
33
|
+
readonly device: NamedDevice | undefined;
|
|
34
|
+
/** Whether the story draws edge to edge in that device: the whole screen, told the safe areas; inside them otherwise. */
|
|
35
|
+
readonly isEdgeToEdge: boolean;
|
|
28
36
|
/** The frame's address in that view, its clock held. */
|
|
29
37
|
readonly frame: string;
|
|
30
38
|
};
|
|
@@ -52,4 +60,3 @@ export declare const openedStory: (page: Page, storyPage: StoryPage) => Promise<
|
|
|
52
60
|
* @returns the answers, in the request's order.
|
|
53
61
|
*/
|
|
54
62
|
export declare const eachStoryPage: <TResult>(request: StoryCheckRequest, visit: (page: Page, storyPage: StoryPage) => Promise<TResult>) => Promise<TResult[]>;
|
|
55
|
-
//# sourceMappingURL=storyPages.d.ts.map
|
package/dist/src/storyPages.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The stories a check or a picture run asks for, opened as the catalogue's browser tests open them: each story in each
|
|
3
3
|
* view (or every variant the tests check), its clock held, on its page's own colour, the window as wide as the view's
|
|
4
|
-
* width, one browser for the run and a context of its own per page.
|
|
4
|
+
* width (a device's viewport when the view names one), one browser for the run and a context of its own per page.
|
|
5
5
|
*
|
|
6
6
|
* @remarks
|
|
7
7
|
* Shared by `checkStories.ts` and `shotStories.ts`, which `forgebook check` and `forgebook shot` load from the project.
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import { chromium } from "@playwright/test";
|
|
14
14
|
import { catalogueSettings } from "forgebook/catalogue";
|
|
15
|
+
import { deviceFrameAddress, deviceViewport, namedDevice } from "forgebook/device-picture";
|
|
15
16
|
import { STATUS_ATTRIBUTE } from "forgebook/frame-status";
|
|
16
17
|
import { heldClockAddress } from "forgebook/story-clock";
|
|
17
18
|
import { defaultView, frameAddress, parseView } from "forgebook/view-state";
|
|
@@ -55,12 +56,17 @@ export const storyPagesOf = (request) => {
|
|
|
55
56
|
: views;
|
|
56
57
|
return request.stories.flatMap((story) => (story.isLogic === true ? logicViews : views).map(({ name, view, width }) => {
|
|
57
58
|
const shown = { ...view, backdrop: "plain" };
|
|
59
|
+
const device = namedDevice(view);
|
|
60
|
+
const isEdgeToEdge = story.isEdgeToEdge === true;
|
|
61
|
+
const frame = heldClockAddress(frameAddress(request.frameUrl, story.id, shown, request.switches));
|
|
58
62
|
return {
|
|
59
63
|
story,
|
|
60
64
|
name,
|
|
61
65
|
view: shown,
|
|
62
66
|
width,
|
|
63
|
-
|
|
67
|
+
device,
|
|
68
|
+
isEdgeToEdge,
|
|
69
|
+
frame: device === undefined ? frame : deviceFrameAddress(frame, device, isEdgeToEdge)
|
|
64
70
|
};
|
|
65
71
|
}));
|
|
66
72
|
};
|
|
@@ -71,7 +77,10 @@ export const storyPagesOf = (request) => {
|
|
|
71
77
|
* @param storyPage - the story and the view.
|
|
72
78
|
*/
|
|
73
79
|
export const openedStory = async (page, storyPage) => {
|
|
74
|
-
|
|
80
|
+
const screen = storyPage.device === undefined ? undefined : deviceViewport(storyPage.device, storyPage.isEdgeToEdge);
|
|
81
|
+
await page.setViewportSize(screen === undefined
|
|
82
|
+
? { width: storyPage.width ?? WINDOW.width, height: WINDOW.height }
|
|
83
|
+
: { width: screen.width, height: screen.height });
|
|
75
84
|
await page.goto(storyPage.frame);
|
|
76
85
|
try {
|
|
77
86
|
await page.waitForFunction((attribute) => ["ready", "error"].includes(document.documentElement.getAttribute(attribute) ?? ""), STATUS_ATTRIBUTE, { timeout: READY_MS });
|
|
@@ -108,4 +117,3 @@ export const eachStoryPage = async (request, visit) => {
|
|
|
108
117
|
await browser.close();
|
|
109
118
|
}
|
|
110
119
|
};
|
|
111
|
-
//# sourceMappingURL=storyPages.js.map
|
|
@@ -42,4 +42,3 @@ export declare const hasLookChecks: (story: {
|
|
|
42
42
|
* @param isScreenshot - whether the run compares reference images instead of running the checks.
|
|
43
43
|
*/
|
|
44
44
|
export declare const plannedStoryTests: (stories: readonly TreeStory[], variants: readonly StoryVariant[], isScreenshot: boolean) => PlannedStoryTest[];
|
|
45
|
-
//# sourceMappingURL=storyTestPlan.d.ts.map
|
|
@@ -18,4 +18,3 @@ export const plannedStoryTests = (stories, variants, isScreenshot) => stories.fl
|
|
|
18
18
|
return variants.map((variant) => ({ story, variant, hasLookChecks: true }));
|
|
19
19
|
return isScreenshot ? [] : [{ story, variant: LOGIC_VARIANT, hasLookChecks: false }];
|
|
20
20
|
});
|
|
21
|
-
//# sourceMappingURL=storyTestPlan.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The Vite config of a package's test instance of the frame page: the catalogue's plugin
|
|
3
|
-
* container's browser asks for.
|
|
2
|
+
* The Vite config of a package's test instance of the frame page: the catalogue's plugin, the framework's own (Solid's
|
|
3
|
+
* compiles the stories' JSX) and the host name the container's browser asks for.
|
|
4
4
|
*
|
|
5
5
|
* @remarks
|
|
6
6
|
* Published (`forgebook/testing/vite`). The package's `vite.config.ts` beside its specs exports it.
|
|
@@ -18,4 +18,3 @@ import type { UserConfig } from "vite";
|
|
|
18
18
|
* @param framework - the framework the stories are written for (`react()` of `@forgebook/react/vite`).
|
|
19
19
|
*/
|
|
20
20
|
export declare const storyTestViteConfig: (dir: string, framework: FrameworkAdapter) => UserConfig;
|
|
21
|
-
//# sourceMappingURL=testViteConfig.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The Vite config of a package's test instance of the frame page: the catalogue's plugin
|
|
3
|
-
* container's browser asks for.
|
|
2
|
+
* The Vite config of a package's test instance of the frame page: the catalogue's plugin, the framework's own (Solid's
|
|
3
|
+
* compiles the stories' JSX) and the host name the container's browser asks for.
|
|
4
4
|
*
|
|
5
5
|
* @remarks
|
|
6
6
|
* Published (`forgebook/testing/vite`). The package's `vite.config.ts` beside its specs exports it.
|
|
@@ -19,8 +19,8 @@ import { forgebookPlugin } from "forgebook/vite";
|
|
|
19
19
|
*/
|
|
20
20
|
export const storyTestViteConfig = (dir, framework) => ({
|
|
21
21
|
root: dir,
|
|
22
|
-
|
|
22
|
+
// Vite waits for a plugin given as a promise: the framework's are loaded when the server starts
|
|
23
|
+
plugins: [forgebookPlugin({ framework }), framework.vitePlugins?.().then((plugins) => [...plugins])],
|
|
23
24
|
// the visual tests' browser runs in a container and asks for the host by this name
|
|
24
25
|
server: { allowedHosts: ["host.docker.internal"] }
|
|
25
26
|
});
|
|
26
|
-
//# sourceMappingURL=testViteConfig.js.map
|
package/dist/src/touchWindow.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forgebook/testing",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.1",
|
|
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": {
|
|
@@ -55,6 +55,18 @@
|
|
|
55
55
|
"types": "./dist/src/checkStories.d.ts",
|
|
56
56
|
"default": "./dist/src/checkStories.js"
|
|
57
57
|
},
|
|
58
|
+
"./check-page": {
|
|
59
|
+
"types": "./dist/src/checkPage.d.ts",
|
|
60
|
+
"default": "./dist/src/checkPage.js"
|
|
61
|
+
},
|
|
62
|
+
"./conformance": {
|
|
63
|
+
"types": "./dist/src/conformance.d.ts",
|
|
64
|
+
"default": "./dist/src/conformance.js"
|
|
65
|
+
},
|
|
66
|
+
"./diff": {
|
|
67
|
+
"types": "./dist/src/diffStories.d.ts",
|
|
68
|
+
"default": "./dist/src/diffStories.js"
|
|
69
|
+
},
|
|
58
70
|
"./shot": {
|
|
59
71
|
"types": "./dist/src/shotStories.d.ts",
|
|
60
72
|
"default": "./dist/src/shotStories.js"
|
|
@@ -68,13 +80,13 @@
|
|
|
68
80
|
"dependencies": {
|
|
69
81
|
"@axe-core/playwright": "4.14.0",
|
|
70
82
|
"@ensiria/cli-kit": "^0.1.1",
|
|
71
|
-
"@forgebook/story-format": "0.1
|
|
83
|
+
"@forgebook/story-format": "0.2.1"
|
|
72
84
|
},
|
|
73
85
|
"peerDependencies": {
|
|
74
86
|
"@playwright/test": "^1.64.0",
|
|
75
87
|
"vite": "^8.0.0",
|
|
76
88
|
"vitest": "^5.0.0",
|
|
77
|
-
"forgebook": "^0.
|
|
89
|
+
"forgebook": "^0.3.0"
|
|
78
90
|
},
|
|
79
91
|
"devDependencies": {
|
|
80
92
|
"@playwright/test": "1.64.1",
|
|
@@ -83,9 +95,9 @@
|
|
|
83
95
|
"react": "19.3.0",
|
|
84
96
|
"vite": "8.3.5",
|
|
85
97
|
"vitest": "5.0.5",
|
|
86
|
-
"@forgebook/tools": "0.0.0",
|
|
87
98
|
"@forgebook/typescript-config": "0.0.0",
|
|
88
|
-
"forgebook": "0.
|
|
99
|
+
"@forgebook/tools": "0.0.0",
|
|
100
|
+
"forgebook": "0.3.0"
|
|
89
101
|
},
|
|
90
102
|
"publishConfig": {
|
|
91
103
|
"access": "public"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"forgebook-heights.d.mts","sourceRoot":"","sources":["../../../bin/forgebook-heights/forgebook-heights.mts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"forgebook-heights.mjs","sourceRoot":"","sources":["../../../bin/forgebook-heights/forgebook-heights.mts"],"names":[],"mappings":";AACA;;;;;;;;;GASG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAChF,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAExD,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,aAAa,EAAE,WAAW,E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C,CAAC;YACjC,OAAO,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC,CAAC;QACtD,CAAC,CAAC,CACH,CAAC;QACF,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC;IACnD,CAAC;YAAS,CAAC;QACT,MAAM,OAAO,CAAC,KAAK,EAAE,CAAC;IACxB,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"measureHeights.types.d.ts","sourceRoot":"","sources":["../../../bin/forgebook-heights/measureHeights.types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,0CAA0C;AAC1C,MAAM,MAAM,aAAa,GAAG;IAC1B,sBAAsB;IACtB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,yDAAyD;IACzD,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,wCAAwC;AACxC,MAAM,MAAM,aAAa,GAAG;IAC1B,4CAA4C;IAC5C,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,yCAAyC;IACzC,QAAQ,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC;IACnC,0CAA0C;IAC1C,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,8BAA8B;IAC9B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,kDAAkD;IAClD,QAAQ,CAAC,QAAQ,EAAE,SAAS,aAAa,EAAE,CAAC;CAC7C,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"measureHeights.types.js","sourceRoot":"","sources":["../../../bin/forgebook-heights/measureHeights.types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"forgebook-shot.d.mts","sourceRoot":"","sources":["../../../bin/forgebook-shot/forgebook-shot.mts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"forgebook-shot.mjs","sourceRoot":"","sources":["../../../bin/forgebook-shot/forgebook-shot.mts"],"names":[],"mappings":";AACA;;;;;;;;;;GAUG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAEhF,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAG1C,0CAA0C;AAC1C,MAAM,OAAO,GAAG,gBAAgB,CAAC;AAEjC,MAAM,YAAY,CAAC;IACjB,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,mFAAmF;IAC5F,IAAI,EAAE,OAAO;IACb,IAAI,EAAE,IAAI;IACV,WAAW,EACT,mXAAmX;IACrX,OAAO,EAAE;QACP,SAAS,EAAE;YACT,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,wBAAwB;YACjC,SAAS,EAAE,KAAK;YAChB,GAAG,EAAE,eAAe;YACpB,WAAW,EAAE,kCAAkC;SAChD;QACD,KAAK,EAAE;YACL,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;YACd,SAAS,EAAE,IAAI;YACf,WAAW,EAAE,yFAAyF;SACvG;QACD,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;YACX,SAAS,EAAE,OAAO;YAClB,WAAW,EAAE,oFAAoF;SAClG;QACD,KAAK,EAAE;YACL,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,MAAM;YACf,SAAS,EAAE,IAAI;YACf,WAAW,EAAE,kCAAkC;SAChD;QACD,GAAG,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,sCAAsC,EAAE;QA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ts","sourceRoot":"","sources":["../../../bin/forgebook-shot/storyShot.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAc,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAElE,wCAAwC;AACxC,MAAM,MAAM,WAAW,GAAG;IACxB,0DAA0D;IAC1D,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,0DAA0D;IAC1D,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,qGAAqG;IACrG,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,kDAAkD;IAClD,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,mDAAmD;IACnD,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,kDAAkD;IAClD,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IACzB,6CAA6C;IAC7C,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,WAAW,cAAe,MAAM,SAAS,MAAM,QAAQ,MAAM,KAAG,MAEpE,CAAC;AAEV;;;;;GAKG;AACH,eAAO,MAAM,QAAQ,YAAmB,WAAW,KAAG,OAAO,CAAC,SAAS,CA0DtE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"storyShot.js","sourceRoot":"","sources":["../../../bin/forgebook-shot/storyShot.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAsBtD;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,WAAW,G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OAAO,GAAG,OAAO,GAAG,SAAS,CAAC;AAEvD,qCAAqC;AACrC,MAAM,MAAM,SAAS,GAAG;IACtB,sBAAsB;IACtB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,2CAA2C;IAC3C,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,2BAA2B;IAC3B,QAAQ,CAAC,MAAM,EAAE,UAAU,CAAC;IAC5B,4DAA4D;IAC5D,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,gEAAgE;IAChE,QAAQ,CAAC,IAAI,EAAE;QAAE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IACnE,gDAAgD;IAChD,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IAC7B,4CAA4C;IAC5C,QAAQ,CAAC,aAAa,EAAE,SAAS,MAAM,EAAE,CAAC;IAC1C,uEAAuE;IACvE,QAAQ,CAAC,UAAU,CAAC,EAAE,SAAS,SAAS,EAAE,CAAC;CAC5C,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"storyShot.types.js","sourceRoot":"","sources":["../../../bin/forgebook-shot/storyShot.types.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"browserTests.d.ts","sourceRoot":"","sources":["../../src/browserTests.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,EAAU,KAAK,IAAI,EAAQ,MAAM,kBAAkB,CAAC;AAC3D,OAAO,EAAqB,KAAK,cAAc,EAAqB,MAAM,qBAAqB,CAAC;AAKhG,OAAO,EAAoC,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACvF,OAAO,EAA6B,KAAK,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAIjF,OAAO,EAAiB,KAAK,iBAAiB,EAAE,MAA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