@sap-ux/ui5-test-writer 1.7.0 → 1.7.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.
@@ -95,10 +95,9 @@ export declare function getListReportPage(applicationModel: ApplicationModel): P
95
95
  * Retrieves all FPM Custom Page definitions from the given application model.
96
96
  *
97
97
  * @param applicationModel - The application model containing page definitions.
98
- * @param log - optional logger instance
99
98
  * @returns An array of FPM Custom Page definitions.
100
99
  */
101
- export declare function getFPMPage(applicationModel: ApplicationModel, log?: Logger): PageWithModelV4 | null;
100
+ export declare function getFPMPage(applicationModel: ApplicationModel): PageWithModelV4 | null;
102
101
  /**
103
102
  * Gets FPM features from the page model using ux-specification.
104
103
  *
@@ -42,7 +42,7 @@ export async function getAppFeatures(basePath, fs, log, metadata, manifest) {
42
42
  }
43
43
  listReportPage = appModel?.applicationModel ? getListReportPage(appModel.applicationModel) : listReportPage;
44
44
  objectPages = appModel?.applicationModel ? getObjectPages(appModel.applicationModel) : objectPages;
45
- fpmPage = appModel?.applicationModel ? getFPMPage(appModel.applicationModel, log) : fpmPage;
45
+ fpmPage = appModel?.applicationModel ? getFPMPage(appModel.applicationModel) : fpmPage;
46
46
  }
47
47
  catch (error) {
48
48
  log?.warn('Error analyzing project model using specification. No dynamic tests will be generated. Error: ' +
@@ -59,9 +59,7 @@ export async function getAppFeatures(basePath, fs, log, metadata, manifest) {
59
59
  featureData.listReport = getListReportFeatures(listReportPage, log, projectMetadata, manifest);
60
60
  }
61
61
  if (objectPages) {
62
- log?.warn('Extracting Object Page features from application model');
63
62
  featureData.objectPages = await getObjectPageFeatures(objectPages, listReportPage?.name, log, projectMetadata, manifest);
64
- log?.warn('objectPages features extracted: ' + JSON.stringify(featureData.objectPages));
65
63
  }
66
64
  if (fpmPage) {
67
65
  featureData.fpm = getFPMFeatures(fpmPage, log);
@@ -113,13 +111,11 @@ export function getListReportPage(applicationModel) {
113
111
  * Retrieves all FPM Custom Page definitions from the given application model.
114
112
  *
115
113
  * @param applicationModel - The application model containing page definitions.
116
- * @param log - optional logger instance
117
114
  * @returns An array of FPM Custom Page definitions.
118
115
  */
119
- export function getFPMPage(applicationModel, log) {
116
+ export function getFPMPage(applicationModel) {
120
117
  for (const pageKey in applicationModel.pages) {
121
118
  const page = applicationModel.pages[pageKey];
122
- log?.warn('pageType:' + page.pageType);
123
119
  if (page.pageType === PageTypeV4.FPMCustomPage) {
124
120
  page.name = pageKey; // store page key as name for later identification
125
121
  return page;
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.7.0",
4
+ "version": "1.7.2",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/SAP/open-ux-tools.git",
@@ -27,12 +27,12 @@
27
27
  "mem-fs-editor": "9.4.0",
28
28
  "@sap/ux-specification": "1.144.5",
29
29
  "@sap-ux/edmx-parser": "0.10.0",
30
- "@sap-ux/annotation-converter": "0.10.21",
30
+ "@sap-ux/annotation-converter": "0.10.22",
31
31
  "@sap-ux/ui5-application-writer": "2.1.3",
32
32
  "@sap-ux/logger": "1.0.3",
33
33
  "@sap-ux/fiori-generator-shared": "1.2.6",
34
34
  "@sap-ux/project-access": "2.1.10",
35
- "@sap-ux/preview-middleware": "1.2.0"
35
+ "@sap-ux/preview-middleware": "1.2.1"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@jest/globals": "30.4.1",
@@ -42,7 +42,7 @@
42
42
  "@types/mem-fs-editor": "7.0.1",
43
43
  "rimraf": "6.1.3",
44
44
  "fs-extra": "11.3.6",
45
- "@sap-ux/vocabularies-types": "0.15.0",
45
+ "@sap-ux/vocabularies-types": "0.16.0",
46
46
  "@sap-ux/jest-file-matchers": "1.0.2"
47
47
  },
48
48
  "engines": {