@immense/vue-pom-generator 1.0.117 → 1.0.119

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
@@ -667,6 +667,46 @@ What it is not:
667
667
  - a magic auto-discovery system that wires every helper into every page
668
668
  - a replacement for `attachments`
669
669
 
670
+ ### Registering custom POMs as fixtures (`customPoms.fixtures`)
671
+
672
+ Handwritten page-level POMs can be injected like generated ones. List their class names in `customPoms.fixtures`:
673
+
674
+ ```ts
675
+ generation: {
676
+ playwright: {
677
+ fixtures: true,
678
+ customPoms: {
679
+ dir: "tests/playwright/pom/custom",
680
+ fixtures: ["SettingsPanel"],
681
+ },
682
+ },
683
+ },
684
+ ```
685
+
686
+ ```ts
687
+ // tests/playwright/pom/custom/SettingsPanel.ts
688
+ import type { Page } from "@playwright/test";
689
+
690
+ export class SettingsPanel {
691
+ constructor(private readonly page: Page) {}
692
+
693
+ async open() {
694
+ await this.page.getByRole("button", { name: "Settings" }).click();
695
+ }
696
+ }
697
+
698
+ // any spec
699
+ test("opens settings", async ({ settingsPanel }) => {
700
+ await settingsPanel.open();
701
+ });
702
+ ```
703
+
704
+ - each listed class must live in `<dir>/<ClassName>.ts` and be constructible as `new ClassName(page)`
705
+ - the fixture name follows the generated convention (`SettingsPanel` → `settingsPanel`), with the same per-test lifecycle
706
+ - the fixture is typed on `PomFixtures` (and `CustomPomFixtures`), so specs get autocomplete
707
+ - generation fails when a listed class has no file, is listed twice, when its fixture name collides with a generated or built-in fixture, or when `fixtures` is disabled
708
+ - helpers that are not listed (for example attachment helpers) are not registered
709
+
670
710
  ### `pom/overrides`
671
711
 
672
712
  Default convention: sibling `overrides/` next to `customPoms.dir`
@@ -995,13 +1035,14 @@ export { expect };
995
1035
  ```
996
1036
 
997
1037
  The module also exports the fixture types (`PomFixtures`, `GeneratedPageFixtures`,
998
- `GeneratedComponentFixtures`, `PlaywrightOptions`, `PomFactory`) and re-exports `expect`
999
- for convenience.
1038
+ `GeneratedComponentFixtures`, `PlaywrightOptions`, `PomFactory`, plus `CustomPomFixtures`
1039
+ when `customPoms.fixtures` is set) and re-exports `expect` for convenience.
1000
1040
 
1001
1041
  What it gives you:
1002
1042
 
1003
1043
  - lower-camel-case fixtures for views (`UserListPage` → `userListPage`)
1004
1044
  - lower-camel-case fixtures for component classes too
1045
+ - lower-camel-case fixtures for handwritten classes listed in `customPoms.fixtures`
1005
1046
  - `pomFactory.create(Ctor)` for ad-hoc page-object construction inside tests
1006
1047
  - an `animation` option that wires the generated runtime's pointer settings
1007
1048
  - per-page `renderers` overrides so you can keep the simple default callout or swap in a custom pointer / callout overlay implementation such as the bundled `floating-ui-callout.ts` renderer
@@ -1015,7 +1056,29 @@ Current caveats:
1015
1056
  - generic wrapper-only component fallbacks whose best standalone name is just their wrapper class are skipped so parent views/components keep the more meaningful handler-derived API
1016
1057
  - an override class still needs a `new (page)`-compatible constructor because that is what fixtures call
1017
1058
 
1018
- By default the runtime uses a simple red fallback bubble. The example below uses the optional floating-ui renderer so the callout can auto-place around nearby UI and point back to the target with an arrow.
1059
+ By default the runtime uses a simple red fallback bubble. Generated page objects are constructed without renderer options, so to restyle every callout in the process, register a default renderer once (for example in the module that builds your shared `test`). It applies to generated and handwritten page objects alike. A per-instance `renderers.callout` still wins, and `setDefaultCalloutRenderer(undefined)` restores the built-in bubble.
1060
+
1061
+ ```ts
1062
+ // tests/playwright/test-base.ts
1063
+ import { setDefaultCalloutRenderer, type CalloutRenderer } from "@immense/vue-pom-generator/playwright/runtime";
1064
+
1065
+ const brandCallout: CalloutRenderer = {
1066
+ async show(page, { targetBox, text }) {
1067
+ await page.evaluate(({ box, label }) => {
1068
+ const el = document.getElementById("my-callout") ?? document.body.appendChild(Object.assign(document.createElement("div"), { id: "my-callout" }));
1069
+ el.textContent = label;
1070
+ el.setAttribute("style", `position:fixed;z-index:2147483647;pointer-events:none;left:${box.x}px;top:${box.y + box.height + 8}px;padding:8px 12px;background:#1d4ed8;color:#fff;border-radius:6px;`);
1071
+ }, { box: targetBox, label: text });
1072
+ },
1073
+ async hide(page) {
1074
+ await page.evaluate(() => document.getElementById("my-callout")?.remove());
1075
+ },
1076
+ };
1077
+
1078
+ setDefaultCalloutRenderer(brandCallout);
1079
+ ```
1080
+
1081
+ The example below uses the optional floating-ui renderer so the callout can auto-place around nearby UI and point back to the target with an arrow.
1019
1082
 
1020
1083
  Example floating-ui callout sequence captured from the Playwright fixture coverage:
1021
1084
 
package/RELEASE_NOTES.md CHANGED
@@ -1,29 +1,49 @@
1
+ PR search worked. Now let me verify the tag contents and what v1.0.118 included, to reconcile the
2
+ compare range with the window.
3
+
1
4
  Highlights
2
5
 
3
- - The runtime annotator can now submit captured annotations at runtime, not just collect them (#84)
4
- - New submission capability is exported from the package entry point for consumer apps
5
- - New dedicated test suite (tests/annotator-submit.test.ts, ~250 lines) covers the submission flow
6
- - README updated with documentation for the new workflow
6
+ - Handwritten POM classes in customPoms.dir can now be registered as Playwright fixtures via the
7
+ new opt-in generation.playwright.customPoms.fixtures list — inject them in specs just like generated
8
+ fixtures (test("opens settings", async ({ settingsPanel }) => ...)) (#86)
9
+ - Custom fixtures follow the same naming and lifecycle rules as generated ones: SettingsPanel →
10
+ settingsPanel, with a fresh instance per test
11
+ - New exported CustomPomFixtures type on PomFixtures gives specs autocomplete for custom fixtures
12
+ - Generation fails fast with clear errors for misconfiguration; when the option is unset, generated
13
+ output is unchanged (byte-identical fixtures.g.ts verified)
7
14
 
8
15
  Changes
9
16
 
10
- Annotator runtime
17
+ Fixtures
11
18
 
12
- - Add runtime annotation submission to the annotator client (plugin/runtime/annotator/client.ts)
13
- - Extend annotator formatting helpers to support the submission payload
14
- (plugin/runtime/annotator/format.ts)
19
+ - Added opt-in fixtures list under playwright.customPoms; each listed class (sourced from
20
+ customPoms.dir) is registered alongside generated page/component fixtures and built with new
21
+ ClassName(page) (plugin/types.ts, plugin/resolved-generation-options.ts,
22
+ plugin/create-vue-pom-generator-plugins.ts, plugin/internal/build-plugin.ts,
23
+ plugin/internal/dev-plugin.ts, class-generation/index.ts)
24
+ - Unlisted helpers in customPoms.dir are not registered — attachment helpers that take (page,
25
+ owner) can't be built from page alone
26
+ - Fail-fast errors for: a class listed more than once, a listed class with no file, a fixture name
27
+ colliding with a built-in, generated, or other custom fixture (the message names the conflicting
28
+ owner), and fixtures disabled
15
29
 
16
- Package surface & docs
30
+ Docs
17
31
 
18
- - Export the new annotation submission API from index.ts
19
- - Document runtime annotation submission in the README
32
+ - README documents the new customPoms.fixtures option and usage
20
33
 
21
34
  Pull Requests Included
22
35
 
23
- - ]8;id=md-1blrlc6;https://github.com/immense/vue-pom-generator/pull/84#84 — feat(annotator): add runtime annotation submission]8;;]8;; by @darrenator[bot]]8;;
36
+ - ]8;id=md-1b1sdy8;https://github.com/immense/vue-pom-generator/pull/86#86]8;;]8;; — feat(fixtures): register configured custom POMs as Playwright fixtures (@dkattan)]8;;
37
+
38
+ Only #86 falls within the v1.0.118..HEAD compare range (9 files, +273/−36); other PRs in the merge
39
+ window were already shipped in prior releases.
24
40
 
25
41
  Testing
26
42
 
27
- - New tests/annotator-submit.test.ts adds broad coverage for the runtime submission path; no other
28
- test changes reported.
43
+ - tests/generated-tsc.test.ts: runs tsc on a spec-style file using PomFixtures.settingsPanel,
44
+ asserts unlisted helpers are rejected via @ts-expect-error, and covers all fail-fast error cases
45
+ (duplicate listing, missing file, reserved/colliding names with owner in the message, fixtures off)
46
+ - tests/generate-vue-poms.test.ts: end-to-end coverage through the public plugin option
47
+ - Local runs: npm run lint -- --max-warnings 0, npm run typecheck, npm run knip, npm test (519
48
+ passed), and npm run build all passed
29
49
 
@@ -7,6 +7,10 @@ import { Callout } from "./callout";
7
7
  import type { CalloutRenderer } from "./callout";
8
8
  import { Pointer, type AfterPointerClick, type AfterPointerClickInfo, type PointerRenderer } from "./pointer";
9
9
 
10
+ // Part of the public `playwright/runtime` entry, whose source is this file.
11
+ export { setDefaultCalloutRenderer } from "./callout";
12
+ export type { CalloutRenderer, CalloutRenderRequest } from "./callout";
13
+
10
14
  const POM_ACTIVE_ACTION_REGISTRY = Symbol.for("@immense/vue-pom-generator.active-action-registry");
11
15
  const CHECKABLE_CONTROL_SELECTOR = 'input[type="checkbox"], input[type="radio"]';
12
16
 
@@ -312,6 +312,22 @@ const __pw_default_callout_renderer__: CalloutRenderer = {
312
312
 
313
313
  export const simpleCalloutRenderer = __pw_default_callout_renderer__;
314
314
 
315
+ // Kept on globalThis so the package's runtime entry and the runtime copied next to the
316
+ // generated POMs share one default, whichever copy the setter is imported from.
317
+ const DEFAULT_CALLOUT_RENDERER = Symbol.for("@immense/vue-pom-generator.default-callout-renderer");
318
+
319
+ type DefaultCalloutRendererGlobal = typeof globalThis & { [DEFAULT_CALLOUT_RENDERER]?: CalloutRenderer };
320
+
321
+ /**
322
+ * Sets the process-wide callout renderer used by every `Callout` (and therefore every
323
+ * `BasePage`, generated or handwritten) constructed without a per-instance `renderer`.
324
+ * Call it before page objects are created, e.g. at module load of the project's shared
325
+ * `test` module. Pass `undefined` to restore the built-in callout.
326
+ */
327
+ export function setDefaultCalloutRenderer(renderer: CalloutRenderer | undefined): void {
328
+ (globalThis as DefaultCalloutRendererGlobal)[DEFAULT_CALLOUT_RENDERER] = renderer;
329
+ }
330
+
315
331
  export class Callout {
316
332
  private readonly page: PwPage;
317
333
  private readonly extraOverlayIds: string[];
@@ -320,7 +336,9 @@ export class Callout {
320
336
  public constructor(page: PwPage, options?: CalloutOptions) {
321
337
  this.page = page;
322
338
  this.extraOverlayIds = options?.extraOverlayIds ?? [];
323
- this.renderer = options?.renderer ?? __pw_default_callout_renderer__;
339
+ this.renderer = options?.renderer
340
+ ?? (globalThis as DefaultCalloutRendererGlobal)[DEFAULT_CALLOUT_RENDERER]
341
+ ?? __pw_default_callout_renderer__;
324
342
  }
325
343
 
326
344
  private toLocator(target: ElementTarget): PwLocator {
@@ -800,6 +800,12 @@ export interface GenerateFilesOptions {
800
800
  */
801
801
  customPomImportNameCollisionBehavior?: "error" | "alias";
802
802
 
803
+ /**
804
+ * Handwritten POM classes (by file/export name under customPomDir) to register as
805
+ * Playwright fixtures next to the generated ones. Requires `generateFixtures`.
806
+ */
807
+ customPomFixtures?: string[];
808
+
803
809
  /**
804
810
  * Handwritten POM helper attachments. These helpers are assumed to be present in the
805
811
  * aggregated output (e.g. via `tests/playwright/pom/custom/*.ts` inlining), but we only attach them to
@@ -893,6 +899,7 @@ export async function generateFiles(
893
899
  requireCustomPomDir,
894
900
  customPomImportAliases,
895
901
  customPomImportNameCollisionBehavior = "error",
902
+ customPomFixtures = [],
896
903
  testIdAttribute,
897
904
  emitLanguages: emitLanguagesOverride,
898
905
  typescriptOutputStructure = "aggregated",
@@ -965,6 +972,7 @@ export async function generateFiles(
965
972
  pomOutDir: outDir,
966
973
  projectRoot,
967
974
  customPomDir,
975
+ customPomFixtures,
968
976
  elementMetadata,
969
977
  testIdAttribute,
970
978
  });
@@ -1872,13 +1880,20 @@ function maybeGenerateFixtureRegistry(
1872
1880
  pomOutDir: string;
1873
1881
  projectRoot?: string;
1874
1882
  customPomDir?: string;
1883
+ customPomFixtures: string[];
1875
1884
  elementMetadata: Map<string, Map<string, ElementMetadata>>;
1876
1885
  testIdAttribute?: string;
1877
1886
  },
1878
1887
  ): GeneratedFileOutput[] {
1879
- const { generateFixtures, pomOutDir } = options;
1880
- if (!generateFixtures)
1888
+ const { generateFixtures, pomOutDir, customPomFixtures } = options;
1889
+ if (!generateFixtures) {
1890
+ if (customPomFixtures.length > 0) {
1891
+ throw new VuePomGeneratorError(
1892
+ "generation.playwright.customPoms.fixtures requires generation.playwright.fixtures to be enabled.",
1893
+ );
1894
+ }
1881
1895
  return [];
1896
+ }
1882
1897
 
1883
1898
  // generateFixtures accepts:
1884
1899
  // - true: enable fixtures with defaults
@@ -1973,6 +1988,45 @@ function maybeGenerateFixtureRegistry(
1973
1988
  ctorExpression: fixtureCtorExpression(name),
1974
1989
  }));
1975
1990
 
1991
+ // Fixture name -> what already owns it, so collision errors can name the source.
1992
+ const takenFixtureNames = new Map<string, string>([
1993
+ ...[...reservedPlaywrightFixtureNames, "pomSetup", "pomFactory", "pomDiagnosticsSetup"]
1994
+ .map(name => [name, "a built-in Playwright or vue-pom-generator fixture"] as const),
1995
+ ...fixtureClassNames.map(name => [lowerFirst(name), `the generated fixture for "${name}"`] as const),
1996
+ ]);
1997
+ const customCtorEntries = customPomFixtures.map((className, index) => {
1998
+ if (customPomFixtures.indexOf(className) !== index) {
1999
+ throw new VuePomGeneratorError(
2000
+ `Custom POM fixture class "${className}" is listed more than once in generation.playwright.customPoms.fixtures.\n`
2001
+ + "Remove the duplicate entry.",
2002
+ );
2003
+ }
2004
+ const filePath = path.join(customPomDirAbs, `${className}.ts`);
2005
+ if (!fs.existsSync(filePath)) {
2006
+ throw new VuePomGeneratorError(
2007
+ `Custom POM fixture class "${className}" was not found.\n`
2008
+ + `Expected file: ${filePath}\n`
2009
+ + `Add the file or remove "${className}" from generation.playwright.customPoms.fixtures.`,
2010
+ );
2011
+ }
2012
+ const fixtureName = lowerFirst(className);
2013
+ const existingOwner = takenFixtureNames.get(fixtureName);
2014
+ if (existingOwner) {
2015
+ throw new VuePomGeneratorError(
2016
+ `Custom POM fixture "${fixtureName}" (from "${className}") collides with ${existingOwner}.\n`
2017
+ + `Rename the class or remove it from generation.playwright.customPoms.fixtures.`,
2018
+ );
2019
+ }
2020
+ takenFixtureNames.set(fixtureName, `the custom POM fixture for "${className}"`);
2021
+ return {
2022
+ className,
2023
+ fixtureName,
2024
+ ctorExpression: `${className}Custom`,
2025
+ importSpecifier: stripExtension(toPosixRelativePath(fixtureOutDirAbs, filePath)),
2026
+ };
2027
+ });
2028
+ const hasCustomFixtures = customCtorEntries.length > 0;
2029
+
1976
2030
  const fixturesContent = renderSourceFile(fixtureFileName, (sourceFile) => {
1977
2031
  sourceFile.addStatements("/** Generated Playwright fixtures (typed page objects). */");
1978
2032
 
@@ -2019,6 +2073,12 @@ function maybeGenerateFixtureRegistry(
2019
2073
  namedImports: [{ name: entry.className, alias: entry.localIdentifier }],
2020
2074
  });
2021
2075
  }
2076
+ for (const entry of customCtorEntries) {
2077
+ addNamedImport(sourceFile, {
2078
+ moduleSpecifier: entry.importSpecifier,
2079
+ namedImports: [{ name: entry.className, alias: entry.ctorExpression }],
2080
+ });
2081
+ }
2022
2082
 
2023
2083
  sourceFile.addInterface({
2024
2084
  isExported: true,
@@ -2060,36 +2120,27 @@ function maybeGenerateFixtureRegistry(
2060
2120
  type: "{ pomDiagnosticsSetup: void }",
2061
2121
  });
2062
2122
 
2063
- sourceFile.addVariableStatement({
2064
- declarationKind: VariableDeclarationKind.Const,
2065
- declarations: [{
2066
- name: "pageCtors",
2067
- initializer: (writer) => {
2068
- writer.write("{").newLine();
2069
- writer.indent(() => {
2070
- for (const entry of pageCtorEntries) {
2071
- writer.writeLine(`${entry.fixtureName}: ${entry.ctorExpression},`);
2072
- }
2073
- });
2074
- writer.write("} as const");
2075
- },
2076
- }],
2077
- });
2078
- sourceFile.addVariableStatement({
2079
- declarationKind: VariableDeclarationKind.Const,
2080
- declarations: [{
2081
- name: "componentCtors",
2082
- initializer: (writer) => {
2083
- writer.write("{").newLine();
2084
- writer.indent(() => {
2085
- for (const entry of componentCtorEntries) {
2086
- writer.writeLine(`${entry.fixtureName}: ${entry.ctorExpression},`);
2087
- }
2088
- });
2089
- writer.write("} as const");
2090
- },
2091
- }],
2092
- });
2123
+ const addCtorMap = (name: string, entries: ReadonlyArray<{ fixtureName: string; ctorExpression: string }>) => {
2124
+ sourceFile.addVariableStatement({
2125
+ declarationKind: VariableDeclarationKind.Const,
2126
+ declarations: [{
2127
+ name,
2128
+ initializer: (writer) => {
2129
+ writer.write("{").newLine();
2130
+ writer.indent(() => {
2131
+ for (const entry of entries) {
2132
+ writer.writeLine(`${entry.fixtureName}: ${entry.ctorExpression},`);
2133
+ }
2134
+ });
2135
+ writer.write("} as const");
2136
+ },
2137
+ }],
2138
+ });
2139
+ };
2140
+ addCtorMap("pageCtors", pageCtorEntries);
2141
+ addCtorMap("componentCtors", componentCtorEntries);
2142
+ if (hasCustomFixtures)
2143
+ addCtorMap("customCtors", customCtorEntries);
2093
2144
 
2094
2145
  sourceFile.addTypeAlias({
2095
2146
  isExported: true,
@@ -2101,14 +2152,23 @@ function maybeGenerateFixtureRegistry(
2101
2152
  name: "GeneratedComponentFixtures",
2102
2153
  type: "{ [K in keyof typeof componentCtors]: InstanceType<(typeof componentCtors)[K]> }",
2103
2154
  });
2155
+ if (hasCustomFixtures) {
2156
+ sourceFile.addTypeAlias({
2157
+ isExported: true,
2158
+ name: "CustomPomFixtures",
2159
+ type: "{ [K in keyof typeof customCtors]: InstanceType<(typeof customCtors)[K]> }",
2160
+ });
2161
+ }
2104
2162
  sourceFile.addTypeAlias({
2105
2163
  isExported: true,
2106
2164
  name: "PomFixtures",
2107
2165
  docs: [{
2108
2166
  description: "Every fixture contributed by the generator: the `animation` option, the internal\n"
2109
- + "`pomSetup`/`pomFactory` fixtures, and one fixture per generated page/component POM.",
2167
+ + "`pomSetup`/`pomFactory` fixtures, and one fixture per generated page/component POM"
2168
+ + (hasCustomFixtures ? "\nand per configured custom POM." : "."),
2110
2169
  }],
2111
- type: "PlaywrightOptions & PomSetupFixture & PomFactoryFixture & PomDiagnosticsSetupFixture & GeneratedPageFixtures & GeneratedComponentFixtures",
2170
+ type: "PlaywrightOptions & PomSetupFixture & PomFactoryFixture & PomDiagnosticsSetupFixture & GeneratedPageFixtures & GeneratedComponentFixtures"
2171
+ + (hasCustomFixtures ? " & CustomPomFixtures" : ""),
2112
2172
  });
2113
2173
 
2114
2174
  sourceFile.addFunction({
@@ -2203,6 +2263,8 @@ function maybeGenerateFixtureRegistry(
2203
2263
  writer.writeLine("},");
2204
2264
  writer.writeLine("...createPomFixtures(pageCtors),");
2205
2265
  writer.writeLine("...createPomFixtures(componentCtors),");
2266
+ if (hasCustomFixtures)
2267
+ writer.writeLine("...createPomFixtures(customCtors),");
2206
2268
  });
2207
2269
  writer.write(") as TestType<TTestArgs & PomFixtures, TWorkerArgs>;");
2208
2270
  },
@@ -2,6 +2,8 @@ import type { Locator, Page } from "playwright";
2
2
  import type { BasePageScreenshotOptions, PwLocator, PwPage } from "./playwright-types";
3
3
  import type { CalloutRenderer } from "./callout";
4
4
  import { type AfterPointerClick, type PointerRenderer } from "./pointer";
5
+ export { setDefaultCalloutRenderer } from "./callout";
6
+ export type { CalloutRenderer, CalloutRenderRequest } from "./callout";
5
7
  /**
6
8
  * A chainable, thenable wrapper around a page object.
7
9
  *
@@ -192,5 +194,4 @@ export declare class BasePage {
192
194
  */
193
195
  protected selectByTestId(testId: string, value: string): Promise<void>;
194
196
  }
195
- export {};
196
197
  //# sourceMappingURL=base-page.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"base-page.d.ts","sourceRoot":"","sources":["../../class-generation/base-page.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,KAAK,EAAE,yBAAyB,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAKvF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AACjD,OAAO,EAAW,KAAK,iBAAiB,EAA8B,KAAK,eAAe,EAAE,MAAM,WAAW,CAAC;AAiC9G;;;;;;;;GAQG;AACH;;;GAGG;AACH,KAAK,UAAU,CAAC,CAAC,EAAE,KAAK,SAAS,MAAM,IAAI;KACxC,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC,KAAK,MAAM,EAAE,GACzD,CAAC,SAAS,aAAa,GAAG,kBAAkB,GAAG,YAAY,GAC3D,CAAC,GAAG,IAAI,EAAE,CAAC,KAAK,WAAW,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,GACxC,CAAC,GAAG,IAAI,EAAE,CAAC,K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AC;CAG7E"}
@@ -51,6 +51,13 @@ export declare function measureCalloutBubble(text: string): {
51
51
  bubbleWidth: number;
52
52
  };
53
53
  export declare const simpleCalloutRenderer: CalloutRenderer;
54
+ /**
55
+ * Sets the process-wide callout renderer used by every `Callout` (and therefore every
56
+ * `BasePage`, generated or handwritten) constructed without a per-instance `renderer`.
57
+ * Call it before page objects are created, e.g. at module load of the project's shared
58
+ * `test` module. Pass `undefined` to restore the built-in callout.
59
+ */
60
+ export declare function setDefaultCalloutRenderer(renderer: CalloutRenderer | undefined): void;
54
61
  export declare class Callout {
55
62
  private readonly page;
56
63
  private readonly extraOverlayIds;
@@ -1 +1 @@
1
- {"version":3,"file":"callout.d.ts","sourceRoot":"","sources":["../../class-generation/callout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAE5D,eAAO,MAAM,mBAAmB;;;;CAItB,CAAC;AAEX,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;CAexB,CAAC;AAEX,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,SAAS,CAAC;AAE/C,MAAM,WAAW,gBAAgB;IAChC,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,kBAAkB;IAClC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,gBAAgB,CAAC;CAC7B;AAED,MAAM,WAAW,oBAAoB;IACpC,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,MAAM,EAAE,aAAa,CAAC;IACtB,SAAS,EAAE,gBAAgB,CAAC;IAC5B,IAAI,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,eAAe;IAC/B,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IAC/B,IAAI,EAAE,CAAC,IAAI,EAA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IAAI,CAAC;IAIrB,cAAc,CAC1B,MAAM,EAAE,aAAa,EACrB,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,kBAAkB,GAC1B,OAAO,CAAC,IAAI,CAAC;CAuChB"}
@@ -86,6 +86,11 @@ export interface GenerateFilesOptions {
86
86
  * - "alias": auto-alias colliding custom imports (e.g. PersonListPage -> PersonListPageCustom)
87
87
  */
88
88
  customPomImportNameCollisionBehavior?: "error" | "alias";
89
+ /**
90
+ * Handwritten POM classes (by file/export name under customPomDir) to register as
91
+ * Playwright fixtures next to the generated ones. Requires `generateFixtures`.
92
+ */
93
+ customPomFixtures?: string[];
89
94
  /**
90
95
  * Handwritten POM helper attachments. These helpers are assumed to be present in the
91
96
  * aggregated output (e.g. via `tests/playwright/pom/custom/*.ts` inlining), but we only attach them to
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../class-generation/index.ts"],"names":[],"mappings":"AAUA,OAAO,EAAkC,oCAAoC,EAAE,MAAM,sBAAsB,CAAC;AAE5G,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAuB7D,OAAO,EAeL,KAAK,qBAAqB,EAC3B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,sBAAsB,EASvB,MAAM,UAAU,CAAC;AAuBlB,OAAO,EAAE,oCAAoC,EAAE,CAAC;AA2ChD,UAAU,cAAc;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,UAAU,UAAU;IAClB,+FAA+F;IAC/F,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,cAAc,EAAE,CAAC;IACzB,KAAK,EAAE,MAAM,EAAE,CAAC;CACjB;AAED,UAAU,SAAS;IACjB,sEAAsE;IACtE,QAAQ,EAAE,MAAM,CAAC;IACjB,mFAAmF;IACnF,MAAM,EAAE,UAAU,EA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