@sap-ux/ui5-test-writer 1.1.0 → 1.1.2

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.
@@ -481,7 +481,9 @@ function writeJourneyFiles(appFeatures, writeContext, isStandalone, hasJourneyRu
481
481
  * @param dotFileExtension - file extension ('.ts' or '.js')
482
482
  */
483
483
  function writePageObject(pageConfig, rootTemplateDirPath, testOutDirPath, fs, dotFileExtension) {
484
- fs.copyTpl(join(rootTemplateDirPath, 'integration', 'pages', `${pageConfig.template}${dotFileExtension}`), join(testOutDirPath, 'integration', 'pages', `${pageConfig.targetKey}${dotFileExtension}`), pageConfig, undefined, {
484
+ // FPM has no .ts template; force .js regardless of the configured extension
485
+ const ext = pageConfig.template === 'FPM' ? DotFileExtension.JS : dotFileExtension;
486
+ fs.copyTpl(join(rootTemplateDirPath, 'integration', 'pages', `${pageConfig.template}${ext}`), join(testOutDirPath, 'integration', 'pages', `${pageConfig.targetKey}${ext}`), pageConfig, undefined, {
485
487
  globOptions: { dot: true }
486
488
  });
487
489
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sap-ux/ui5-test-writer",
3
3
  "description": "SAP UI5 tests writer",
4
- "version": "1.1.0",
4
+ "version": "1.1.2",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/SAP/open-ux-tools.git",
@@ -28,11 +28,11 @@
28
28
  "@sap/ux-specification": "1.144.0",
29
29
  "@sap-ux/edmx-parser": "0.10.0",
30
30
  "@sap-ux/annotation-converter": "0.10.21",
31
- "@sap-ux/ui5-application-writer": "2.0.3",
32
31
  "@sap-ux/logger": "1.0.1",
33
- "@sap-ux/fiori-generator-shared": "1.0.9",
32
+ "@sap-ux/ui5-application-writer": "2.0.3",
33
+ "@sap-ux/fiori-generator-shared": "1.0.10",
34
34
  "@sap-ux/project-access": "2.1.2",
35
- "@sap-ux/preview-middleware": "1.0.14"
35
+ "@sap-ux/preview-middleware": "1.0.15"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@jest/globals": "30.3.0",