@immense/vue-pom-generator 1.0.98 → 1.0.99
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 +3 -1
- package/RELEASE_NOTES.md +45 -21
- package/class-generation/base-page.ts +13 -7
- package/dist/class-generation/base-page.d.ts.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/dist/playwright/runtime.cjs +10 -6
- package/dist/playwright/runtime.cjs.map +1 -1
- package/dist/playwright/runtime.mjs +10 -6
- package/dist/playwright/runtime.mjs.map +1 -1
- package/dist/utils.d.ts.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -790,7 +790,9 @@ own standalone fixture is still generated normally.
|
|
|
790
790
|
When `injection.optionKeyAttribute` maps a radio component to `"value"`, its generated
|
|
791
791
|
selection API uses the domain term directly: `selectByValue(value)`. Other configured
|
|
792
792
|
attribute names retain `key` when the HTML attribute name is not a valid public TypeScript
|
|
793
|
-
identifier (for example `data-value`).
|
|
793
|
+
identifier (for example `data-value`). When the template does not expose a finite set of
|
|
794
|
+
values, the generated parameter accepts primitive HTML values (`string | number | boolean |
|
|
795
|
+
bigint`) so domain enums can be passed without string conversion.
|
|
794
796
|
|
|
795
797
|
`data-pom-instance` is generator-owned. Do not author it in Vue templates.
|
|
796
798
|
|
package/RELEASE_NOTES.md
CHANGED
|
@@ -1,41 +1,65 @@
|
|
|
1
|
-
|
|
1
|
+
I'll verify which PRs are actually in the release range and time window before writing the notes.
|
|
2
|
+
|
|
3
|
+
Let me check merge times for the commits in range and verify #61's status.
|
|
4
|
+
|
|
5
|
+
Now I understand the picture. v1.0.98 tag is at commit f495936 (#61 "Clear Knip findings"), so #61
|
|
6
|
+
is excluded. Only #55 and #63 are in v1.0.99. Let me examine the actual diffs to write accurate
|
|
7
|
+
notes.
|
|
8
|
+
|
|
9
|
+
I now have a complete picture. v1.0.99 includes exactly two PRs (#55 and #63); #61 was the v1.0.98
|
|
10
|
+
release commit itself and is excluded. Here are the release notes:
|
|
2
11
|
|
|
3
12
|
Highlights
|
|
4
13
|
|
|
5
|
-
-
|
|
6
|
-
|
|
7
|
-
-
|
|
8
|
-
|
|
14
|
+
- Generated selector methods now accept primitive values (string | number | boolean | bigint) when
|
|
15
|
+
no finite value set is declared, letting domain enums be passed without string conversion (#63)
|
|
16
|
+
- Runtime checkbox/radio activation now targets the nested native control when the test ID lands on
|
|
17
|
+
a component wrapper, fixing activation of Vue checkable components (#55)
|
|
18
|
+
- Keyboard Space activation follows the same nested-control target so wrapper-only elements no
|
|
19
|
+
longer intercept the action (#55)
|
|
20
|
+
- README updated to document the primitive selector value behavior (#63)
|
|
9
21
|
|
|
10
22
|
Changes
|
|
11
23
|
|
|
12
|
-
|
|
24
|
+
Selector type generation
|
|
13
25
|
|
|
14
|
-
-
|
|
26
|
+
- Widened generated selector parameter types from string to string | number | boolean | bigint for
|
|
27
|
+
non-key selectors whose templates expose no finite value set (utils.ts)
|
|
28
|
+
- applyResolvedDataTestId now resolves selectorParameterName before computing the key type so the
|
|
29
|
+
widened union is applied consistently
|
|
15
30
|
|
|
16
|
-
|
|
31
|
+
Runtime activation
|
|
17
32
|
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
-
|
|
33
|
+
- Added CHECKABLE_CONTROL_SELECTOR constant covering input[type="checkbox"] and input[type="radio"]
|
|
34
|
+
(class-generation/base-page.ts)
|
|
35
|
+
- When preferAssociatedLabel is set, BasePage.clickTestId now locates the nested native checkable
|
|
36
|
+
control inside the wrapper and uses it as the click target instead of the wrapper element
|
|
37
|
+
- Keyboard activation (Space) and cursor animation now target the nested control rather than the
|
|
38
|
+
wrapper
|
|
21
39
|
|
|
22
|
-
|
|
40
|
+
Documentation
|
|
23
41
|
|
|
24
|
-
-
|
|
25
|
-
|
|
42
|
+
- README: documented that templates without a finite value set accept primitive HTML values so
|
|
43
|
+
domain enums can be passed directly
|
|
26
44
|
|
|
27
|
-
|
|
45
|
+
Breaking Changes
|
|
28
46
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
- package.json / package-lock.json — updated entry-point wiring
|
|
47
|
+
None. The selector type change widens string to a superset union, and the runtime activation fix
|
|
48
|
+
corrects behavior without altering the generated POM API surface.
|
|
32
49
|
|
|
33
50
|
Pull Requests Included
|
|
34
51
|
|
|
35
|
-
-
|
|
52
|
+
- ]8;id=md-cy57tx;https://github.com/immense/vue-pom-generator/pull/63#63 Fix primitive selector value types]8;;
|
|
53
|
+
- ]8;id=md-1f8vu20;https://github.com/immense/vue-pom-generator/pull/55#55 fix(runtime): activate nested checkbox controls]8;;
|
|
36
54
|
|
|
37
55
|
Testing
|
|
38
56
|
|
|
39
|
-
|
|
40
|
-
|
|
57
|
+
- Added parametrized tests for nested checkbox and radio label-click activation, verifying the
|
|
58
|
+
wrapper is not clicked (tests/broad/class-generation-base-page-ts.test.ts)
|
|
59
|
+
- Added a keyboard-activation test for nested checkboxes with invisible associated labels
|
|
60
|
+
- Updated selector type tests to expect string | number | boolean | bigint
|
|
61
|
+
(tests/transform.test.ts)
|
|
62
|
+
- Updated semantic component instance tests to exercise numeric radio values end-to-end, including
|
|
63
|
+
a typecheck consumer file that compiles selectByValue(3)
|
|
64
|
+
(tests/semantic-component-instances.test.ts)
|
|
41
65
|
|
|
@@ -8,6 +8,7 @@ import type { CalloutRenderer } from "./callout";
|
|
|
8
8
|
import { Pointer, type AfterPointerClick, type AfterPointerClickInfo, type PointerRenderer } from "./pointer";
|
|
9
9
|
|
|
10
10
|
const POM_ACTIVE_ACTION_REGISTRY = Symbol.for("@immense/vue-pom-generator.active-action-registry");
|
|
11
|
+
const CHECKABLE_CONTROL_SELECTOR = 'input[type="checkbox"], input[type="radio"]';
|
|
11
12
|
|
|
12
13
|
interface PomActiveActionRecord {
|
|
13
14
|
componentName?: string;
|
|
@@ -621,8 +622,16 @@ export class BasePage {
|
|
|
621
622
|
let clickTarget = locator;
|
|
622
623
|
let activateWithKeyboard = false;
|
|
623
624
|
if (action?.preferAssociatedLabel) {
|
|
624
|
-
|
|
625
|
-
|
|
625
|
+
// Vue components commonly consume an `id` prop while fallthrough attributes such as
|
|
626
|
+
// `data-testid` land on the component's root wrapper. Prefer the nested native control
|
|
627
|
+
// when present so generated checkbox actions activate the control instead of its wrapper.
|
|
628
|
+
const testIdSelector = this.selectorForTestId(testId);
|
|
629
|
+
const control = this.describeLocator(this.page.locator([
|
|
630
|
+
`${testIdSelector}:is(${CHECKABLE_CONTROL_SELECTOR})`,
|
|
631
|
+
`${testIdSelector} :is(${CHECKABLE_CONTROL_SELECTOR})`,
|
|
632
|
+
].join(", ")), description).first();
|
|
633
|
+
clickTarget = control;
|
|
634
|
+
const controlId = await control.getAttribute("id");
|
|
626
635
|
if (controlId) {
|
|
627
636
|
// Bootstrap custom controls often use an empty label whose painted ::before/::after
|
|
628
637
|
// pseudo-elements intercept the pointer. Playwright's visible filter can exclude that
|
|
@@ -641,14 +650,11 @@ export class BasePage {
|
|
|
641
650
|
}
|
|
642
651
|
}
|
|
643
652
|
}
|
|
644
|
-
else {
|
|
645
|
-
clickTarget = visibleControl;
|
|
646
|
-
}
|
|
647
653
|
}
|
|
648
654
|
const afterClick = this.getAfterPointerClick(wait);
|
|
649
655
|
if (activateWithKeyboard) {
|
|
650
|
-
await this.pointer.animateCursorToElement(
|
|
651
|
-
await
|
|
656
|
+
await this.pointer.animateCursorToElement(clickTarget, false, 200, annotationText);
|
|
657
|
+
await clickTarget.press("Space");
|
|
652
658
|
if (afterClick) {
|
|
653
659
|
await afterClick({ testId, instrumented: true });
|
|
654
660
|
}
|
|
@@ -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,SAAS,E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,CAAC,OAAO,CAAC;IAInE;;;;OAIG;cACa,eAAe,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;IAIvE;;;;;;OAMG;cACa,aAAa,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAI5F;;;OAGG;cACa,aAAa,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAM5D;;;;OAIG;cACa,cAAc,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAG7E"}
|
package/dist/index.cjs
CHANGED
|
@@ -3052,9 +3052,10 @@ Fix: either (1) include ${bestKeyPreservePlaceholder} in your :${attrLabel} temp
|
|
|
3052
3052
|
}
|
|
3053
3053
|
}
|
|
3054
3054
|
}
|
|
3055
|
+
const selectorParameterName = args.selectorParameterName?.trim() || "key";
|
|
3055
3056
|
const getKeyTypeFromValues = (values) => {
|
|
3056
3057
|
if (!values || values.length === 0) {
|
|
3057
|
-
return "string";
|
|
3058
|
+
return selectorParameterName === "key" ? "string" : "string | number | boolean | bigint";
|
|
3058
3059
|
}
|
|
3059
3060
|
return values.map((v) => JSON.stringify(v)).join(" | ");
|
|
3060
3061
|
};
|
|
@@ -3079,7 +3080,6 @@ Fix: either (1) include ${bestKeyPreservePlaceholder} in your :${attrLabel} temp
|
|
|
3079
3080
|
};
|
|
3080
3081
|
const normalizedRole = normalizeNativeRole(args.nativeRole) ?? "button";
|
|
3081
3082
|
const targetPageObjectModelClass = entryOverrides.targetPageObjectModelClass;
|
|
3082
|
-
const selectorParameterName = args.selectorParameterName?.trim() || "key";
|
|
3083
3083
|
const pomKeyPattern = dataTestId.kind === "template" ? toPomKeyPattern(dataTestId, selectorParameterName) : null;
|
|
3084
3084
|
const formattedDataTestIdForPom = dataTestId.kind === "template" ? pomKeyPattern.formatted : dataTestId.value;
|
|
3085
3085
|
const selectorPatternKind = dataTestId.kind === "template" ? "parameterized" : "static";
|