@immense/vue-pom-generator 1.0.85 → 1.0.86
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/RELEASE_NOTES.md +46 -55
- package/class-generation/base-page.ts +37 -10
- package/class-generation/index.ts +12 -2
- package/class-generation/playwright-types.ts +11 -3
- package/dist/class-generation/base-page.d.ts +24 -7
- package/dist/class-generation/base-page.d.ts.map +1 -1
- package/dist/class-generation/playwright-types.d.ts +9 -2
- package/dist/class-generation/playwright-types.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/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -6834,10 +6834,10 @@ function getConstructor(childrenComponent, componentHierarchyMap, attachmentsFor
|
|
|
6834
6834
|
statements: (writer) => {
|
|
6835
6835
|
writer.writeLine(`super(page, { testIdAttribute: ${JSON.stringify(attr)} });`);
|
|
6836
6836
|
for (const a of attachmentsForThisView) {
|
|
6837
|
-
writer.writeLine(`this.${a.propertyName} = new ${a.className}(page, this);`);
|
|
6837
|
+
writer.writeLine(`this.${a.propertyName} = new ${a.className}(this.page, this);`);
|
|
6838
6838
|
}
|
|
6839
6839
|
for (const w of widgetInstances) {
|
|
6840
|
-
writer.writeLine(`this.${w.propertyName} = new ${w.className}(page, ${JSON.stringify(w.testId)});`);
|
|
6840
|
+
writer.writeLine(`this.${w.propertyName} = new ${w.className}(this.page, ${JSON.stringify(w.testId)});`);
|
|
6841
6841
|
}
|
|
6842
6842
|
childrenComponent.forEach((child) => {
|
|
6843
6843
|
if (componentHierarchyMap.has(child) && componentHierarchyMap.get(child)?.dataTestIdSet.size) {
|