@sap-ux/ui5-test-writer 1.2.15 → 1.2.17

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/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.2.15",
4
+ "version": "1.2.17",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/SAP/open-ux-tools.git",
@@ -31,8 +31,8 @@
31
31
  "@sap-ux/ui5-application-writer": "2.1.0",
32
32
  "@sap-ux/logger": "1.0.3",
33
33
  "@sap-ux/fiori-generator-shared": "1.0.20",
34
- "@sap-ux/preview-middleware": "1.0.38",
35
- "@sap-ux/project-access": "2.1.6"
34
+ "@sap-ux/project-access": "2.1.6",
35
+ "@sap-ux/preview-middleware": "1.0.39"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@jest/globals": "30.4.1",
@@ -18,7 +18,7 @@
18
18
  sap.ui.define(['sap/fe/test/TemplatePage'], function(TemplatePage) {
19
19
  'use strict';
20
20
 
21
- var CustomPageDefinitions = {
21
+ const CustomPageDefinitions = {
22
22
  actions: {},
23
23
  assertions: {}
24
24
  };
@@ -4,7 +4,7 @@ sap.ui.define([
4
4
  <% } %>], function (JourneyRunner<% if (pages.length > 0) { %>, <%- pages.map(function(page) {return page.targetKey + "Generated";}).join(', ') %><% } %>) {
5
5
  'use strict';
6
6
 
7
- var runner = new JourneyRunner({
7
+ const runner = new JourneyRunner({
8
8
  launchUrl: sap.ui.require.toUrl('<%- appPath %>') + '/<%- htmlTarget %>',
9
9
  pages: {<% if (pages.length > 0) { %>
10
10
  <%- pages.map((page) => {return '\t\t\tonThe' + page.targetKey + 'Generated: ' + page.targetKey + "Generated"}).join(',\n')%>
@@ -18,7 +18,7 @@
18
18
  sap.ui.define(['sap/fe/test/ListReport'], function(ListReport) {
19
19
  'use strict';
20
20
 
21
- var CustomPageDefinitions = {
21
+ const CustomPageDefinitions = {
22
22
  actions: {},
23
23
  assertions: {}
24
24
  };
@@ -18,7 +18,7 @@
18
18
  sap.ui.define(['sap/fe/test/ObjectPage', 'sap/ui/test/actions/Press'], function(ObjectPage, Press) {
19
19
  'use strict';
20
20
 
21
- var CustomPageDefinitions = {
21
+ const CustomPageDefinitions = {
22
22
  actions: {
23
23
  iPressSectionIconTabFilterButton: function (section) {
24
24
  return this.waitFor({