ui5-test-runner 1.1.3 → 1.1.5
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/README.md +1 -3
- package/package.json +8 -8
- package/src/proxies.js +8 -0
- package/src/reserve.js +2 -0
package/README.md
CHANGED
|
@@ -3,8 +3,6 @@
|
|
|
3
3
|
[](https://github.com/ArnaudBuchholz/ui5-test-runner/actions/workflows/node.js.yml)
|
|
4
4
|
[](https://packagequality.com/#?package=ui5-test-runner)
|
|
5
5
|
[](https://snyk.io/test/github/ArnaudBuchholz/ui5-test-runner?targetFile=package.json)
|
|
6
|
-
[](https://david-dm.org/ArnaudBuchholz/ui5-test-runner)
|
|
7
|
-
[](https://david-dm.org/ArnaudBuchholz/ui5-test-runner?type=dev)
|
|
8
6
|
[](https://www.npmjs.org/package/ui5-test-runner)
|
|
9
7
|
[](https://opensource.org/licenses/MIT)
|
|
10
8
|
[](https://app.fossa.com/projects/git%2Bgithub.com%2FArnaudBuchholz%2Fui5-test-runner?ref=badge_shield)
|
|
@@ -129,7 +127,7 @@ You may also use :
|
|
|
129
127
|
| libs | | Folder(s) containing dependent libraries *(relative to `cwd`)*.<br/>Might be used multiple times, two syntaxes are supported :<ul><li>`-libs:path` adds `path` to the list of libraries, mapped directly under `/resources/`</li><li>`-libs:rel/=path` adds the `path` to the list of libraries, mapped under `/resources/rel/`</li></ul> |
|
|
130
128
|
| cache | `''` | Cache UI5 resources locally in the given folder *(empty to disable)* |
|
|
131
129
|
| webapp | `'webapp'` | base folder of the web application *(relative to `cwd`)* |
|
|
132
|
-
|
|
|
130
|
+
| testsuite | `'test/testsuite.qunit.html'` | path / URL to the testsuite file *(relative to `webapp`)* |
|
|
133
131
|
| pageFilter | `''` | [regexp](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp) to select which pages to execute |
|
|
134
132
|
| pageParams | `''` | Parameters added to each page URL.<br/>For instance : `'sap-ui-theme=sap_belize&sap-ui-debug=true'` |
|
|
135
133
|
| pageTimeout | `0` | Limit the page execution time (ms), fails the page if it takes longer than the timeout (`0` to disable the timeout) |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ui5-test-runner",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.5",
|
|
4
4
|
"description": "Standalone test runner for UI5",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"files": [
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"ui5-test-runner": "./index.js"
|
|
13
13
|
},
|
|
14
14
|
"engines": {
|
|
15
|
-
"node": ">=
|
|
15
|
+
"node": ">=14.0.0"
|
|
16
16
|
},
|
|
17
17
|
"scripts": {
|
|
18
18
|
"lint": "standard --fix",
|
|
@@ -41,13 +41,13 @@
|
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"mime": "^3.0.0",
|
|
43
43
|
"nyc": "^15.1.0",
|
|
44
|
-
"puppeteer": "^
|
|
45
|
-
"reserve": "^1.
|
|
44
|
+
"puppeteer": "^19.2.0",
|
|
45
|
+
"reserve": "^1.15.2"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"jest": "^
|
|
49
|
-
"nock": "^13.2.
|
|
50
|
-
"standard": "^
|
|
48
|
+
"jest": "^29.2.2",
|
|
49
|
+
"nock": "^13.2.9",
|
|
50
|
+
"standard": "^17.0.0"
|
|
51
51
|
},
|
|
52
52
|
"standard": {
|
|
53
53
|
"env": [
|
|
@@ -77,4 +77,4 @@
|
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
|
-
}
|
|
80
|
+
}
|
package/src/proxies.js
ADDED
package/src/reserve.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
const { join } = require('path')
|
|
2
2
|
const cors = require('./cors')
|
|
3
|
+
const proxies = require('./proxies')
|
|
3
4
|
const endpoints = require('./endpoints')
|
|
4
5
|
const { mappings: coverage } = require('./coverage')
|
|
5
6
|
const ui5 = require('./ui5')
|
|
@@ -10,6 +11,7 @@ module.exports = job => check({
|
|
|
10
11
|
port: job.port,
|
|
11
12
|
mappings: [
|
|
12
13
|
cors,
|
|
14
|
+
...proxies(job),
|
|
13
15
|
...endpoints(job),
|
|
14
16
|
...ui5(job),
|
|
15
17
|
...coverage(job), {
|