@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/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) {