@sap-ux/ui5-test-writer 1.10.3 → 1.10.6

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.10.3",
4
+ "version": "1.10.6",
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.5",
32
32
  "@sap-ux/logger": "1.0.3",
33
33
  "@sap-ux/fiori-generator-shared": "1.2.15",
34
- "@sap-ux/preview-middleware": "1.2.12",
35
- "@sap-ux/project-access": "2.2.0"
34
+ "@sap-ux/project-access": "2.2.0",
35
+ "@sap-ux/preview-middleware": "1.2.13"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@jest/globals": "30.4.1",
@@ -10,7 +10,7 @@
10
10
  data-sap-ui-theme="<%= ui5Theme %>"
11
11
  data-sap-ui-resource-roots='{
12
12
  "<%= appId %>": "../../",
13
- "integration": "./"
13
+ "<%= appId %>.test": "../"
14
14
  }'
15
15
  data-sap-ui-animation-mode="none"
16
16
  data-sap-ui-compat-version="edge"
@@ -8,7 +8,7 @@
8
8
  src="../../resources/sap-ui-core.js"
9
9
  data-sap-ui-resource-roots='{
10
10
  "<%= appIdWithSlash %>": "../../",
11
- "unit": "."
11
+ "<%= appIdWithSlash %>.test": "../"
12
12
  }'
13
13
  data-sap-ui-async="true"
14
14
  data-sap-ui-compat-version="edge">
@@ -2,7 +2,7 @@
2
2
  QUnit.config.autostart = false;
3
3
 
4
4
  sap.ui.require([
5
- "unit/AllTests"
5
+ "<%= appIdWithSlash %>/test/unit/AllTests"
6
6
  ], function () {
7
7
  "use strict";
8
8
 
@@ -10,13 +10,13 @@
10
10
  data-sap-ui-theme="<%= ui5Theme %>"
11
11
  data-sap-ui-resourceroots='{
12
12
  "<%= appId %>": "../../",
13
- "integration": "./"
13
+ "<%= appId %>.test": "../"
14
14
  }'
15
15
  data-sap-ui-animation="false"
16
16
  data-sap-ui-compatVersion="edge"
17
17
  data-sap-ui-async="true"
18
18
  data-sap-ui-preload="async"
19
- data-sap-ui-oninit="module:integration/opaTests.qunit">
19
+ data-sap-ui-oninit="module:<%= appId %>/test/integration/opaTests.qunit">
20
20
  </script>
21
21
  <link rel="stylesheet" type="text/css" href="../../resources/sap/ui/thirdparty/qunit-2.css">
22
22
  <script src="../../resources/sap/ui/thirdparty/qunit-2.js"></script>
@@ -7,11 +7,11 @@
7
7
  id="sap-ui-bootstrap"
8
8
  src="../../resources/sap-ui-core.js"
9
9
  data-sap-ui-resourceroots='{
10
- "<%= appIdWithSlash %>": "../../",
11
- "unit": "."
10
+ "<%= appId %>": "../../",
11
+ "<%= appId %>.test": "../"
12
12
  }'
13
13
  data-sap-ui-async="true"
14
- data-sap-ui-oninit="module:unit/unitTests.qunit">
14
+ data-sap-ui-oninit="module:<%= appIdWithSlash %>/test/unit/unitTests.qunit">
15
15
  </script>
16
16
  <link rel="stylesheet" type="text/css" href="../../resources/sap/ui/thirdparty/qunit-2.css">
17
17
  <script src="../../resources/sap/ui/thirdparty/qunit-2.js"></script>
@@ -4,7 +4,7 @@ QUnit.config.autostart = false;
4
4
 
5
5
  // import all your QUnit tests here
6
6
  void Promise.all([
7
- import("unit/controller/<%= viewName %>Page.controller")
7
+ import("<%= appIdWithSlash %>/test/unit/controller/<%= viewName %>Page.controller")
8
8
  ]).then(() => {
9
9
  QUnit.start();
10
10
  });
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  "use strict";
23
23
 
24
24
  function journey() {
25
- QUnit.module("FPM journey");
25
+ QUnit.module("<%- name %> Journey");
26
26
 
27
27
  opaTest("Start application", function (Given, When, Then) {
28
28
  Given.iStartMyApp();
@@ -20,7 +20,7 @@ import type { Given, When, Then } from "./types/OpaJourneyTypes.gen";
20
20
  import runner from "./pages/JourneyRunner";
21
21
 
22
22
  function journey() {
23
- QUnit.module("FPM journey");
23
+ QUnit.module("<%- name %> Journey");
24
24
 
25
25
  opaTest("Start application", function (Given: Given, _When: When, Then: Then) {
26
26
  Given.iStartMyApp();
@@ -8,7 +8,8 @@
8
8
  src="../../resources/sap-ui-core.js"
9
9
  data-sap-ui-theme='sap_fiori_3'
10
10
  data-sap-ui-resourceroots='{
11
- "<%- appID %>": "../../"
11
+ "<%- appID %>": "../../",
12
+ "<%- appID %>.test": "../"
12
13
  }'
13
14
  data-sap-ui-animation="false"
14
15
  data-sap-ui-compatVersion="edge"
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  "use strict";
23
23
 
24
24
  function journey() {
25
- QUnit.module("FPM journey");
25
+ QUnit.module("<%- name %> Journey");
26
26
 
27
27
  opaTest("Start application", function (Given, When, Then) {
28
28
  Given.iStartMyApp();
@@ -20,7 +20,7 @@ import type { Given, When, Then } from "./types/OpaJourneyTypes.gen";
20
20
  import runner from "./pages/JourneyRunner";
21
21
 
22
22
  function journey() {
23
- QUnit.module("FPM journey");
23
+ QUnit.module("<%- name %> Journey");
24
24
 
25
25
  opaTest("Start application", function (Given: Given, _When: When, Then: Then) {
26
26
  Given.iStartMyApp();
@@ -8,7 +8,8 @@
8
8
  src="../../resources/sap-ui-core.js"
9
9
  data-sap-ui-theme='sap_fiori_3'
10
10
  data-sap-ui-resourceroots='{
11
- "<%- appID %>": "../../"
11
+ "<%- appID %>": "../../",
12
+ "<%- appID %>.test": "../"
12
13
  }'
13
14
  data-sap-ui-animation="false"
14
15
  data-sap-ui-compatVersion="edge"
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  "use strict";
23
23
 
24
24
  function journey() {
25
- QUnit.module("FPM journey");
25
+ QUnit.module("<%- name %> Journey");
26
26
 
27
27
  opaTest("Start application", function (Given, When, Then) {
28
28
  Given.iStartMyApp();
@@ -20,7 +20,7 @@ import type { Given, When, Then } from "./types/OpaJourneyTypes.gen";
20
20
  import runner from "./pages/JourneyRunner";
21
21
 
22
22
  function journey() {
23
- QUnit.module("FPM journey");
23
+ QUnit.module("<%- name %> Journey");
24
24
 
25
25
  opaTest("Start application", function (Given: Given, _When: When, Then: Then) {
26
26
  Given.iStartMyApp();
@@ -8,7 +8,8 @@
8
8
  src="../../resources/sap-ui-core.js"
9
9
  data-sap-ui-theme='sap_fiori_3'
10
10
  data-sap-ui-resourceroots='{
11
- "<%- appID %>": "../../"
11
+ "<%- appID %>": "../../",
12
+ "<%- appID %>.test": "../"
12
13
  }'
13
14
  data-sap-ui-animation="false"
14
15
  data-sap-ui-compatVersion="edge"