@sap-ux/ui5-test-writer 1.10.2 → 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 +4 -4
- package/templates/freestyle/webapp/test/1.120.0/integration/opaTests.qunit.html +1 -1
- package/templates/freestyle/webapp/test/1.120.0/unit/unitTests.qunit.html +1 -1
- package/templates/freestyle/webapp/test/1.120.0/unit/unitTests.qunit.js +1 -1
- package/templates/freestyle/webapp/test/1.71.0/integration/opaTests.qunit.html +2 -2
- package/templates/freestyle/webapp/test/1.71.0/unit/unitTests.qunit.html +3 -3
- package/templates/freestyle/webapp/test/1.71.0/unit/unitTests.qunit.ts +1 -1
- package/templates/v4/1.148/integration/FPMJourney.js +1 -1
- package/templates/v4/1.148/integration/FPMJourney.ts +1 -1
- package/templates/v4/1.148/integration/opaTests.qunit.html +2 -1
- package/templates/v4/1.84/integration/FPMJourney.js +1 -1
- package/templates/v4/1.84/integration/FPMJourney.ts +1 -1
- package/templates/v4/1.84/integration/opaTests.qunit.html +2 -1
- package/templates/v4/latest/integration/FPMJourney.js +1 -1
- package/templates/v4/latest/integration/FPMJourney.ts +1 -1
- package/templates/v4/latest/integration/opaTests.qunit.html +2 -1
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.
|
|
4
|
+
"version": "1.10.6",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/SAP/open-ux-tools.git",
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
"@sap-ux/annotation-converter": "0.10.22",
|
|
31
31
|
"@sap-ux/ui5-application-writer": "2.1.5",
|
|
32
32
|
"@sap-ux/logger": "1.0.3",
|
|
33
|
-
"@sap-ux/
|
|
34
|
-
"@sap-ux/
|
|
35
|
-
"@sap-ux/preview-middleware": "1.2.
|
|
33
|
+
"@sap-ux/fiori-generator-shared": "1.2.15",
|
|
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,13 +10,13 @@
|
|
|
10
10
|
data-sap-ui-theme="<%= ui5Theme %>"
|
|
11
11
|
data-sap-ui-resourceroots='{
|
|
12
12
|
"<%= appId %>": "../../",
|
|
13
|
-
"
|
|
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
|
|
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
|
-
"<%=
|
|
11
|
-
"
|
|
10
|
+
"<%= appId %>": "../../",
|
|
11
|
+
"<%= appId %>.test": "../"
|
|
12
12
|
}'
|
|
13
13
|
data-sap-ui-async="true"
|
|
14
|
-
data-sap-ui-oninit="module
|
|
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
|
});
|
|
@@ -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("
|
|
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"
|
|
@@ -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("
|
|
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"
|
|
@@ -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("
|
|
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"
|