@enact/ui-test-utils 0.7.1 → 0.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.
- package/.travis.yml +6 -2
- package/package.json +10 -10
- package/utils/runTest.js +1 -1
package/.travis.yml
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
|
+
dist: focal
|
|
1
2
|
language: node_js
|
|
2
3
|
node_js:
|
|
3
|
-
- "
|
|
4
|
+
- "18"
|
|
5
|
+
before_install:
|
|
6
|
+
- sudo apt-get update
|
|
7
|
+
- sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
|
|
4
8
|
install:
|
|
5
9
|
- npm install
|
|
6
10
|
script:
|
|
7
11
|
- echo -e "\x1b\x5b35;1m*** Linting...\x1b\x5b0m"
|
|
8
|
-
- npm run lint
|
|
12
|
+
- npm run lint -- --report-unused-disable-directives --max-warnings 0
|
|
9
13
|
- echo -e "\x1b\x5b35;1m*** Linting complete...\x1b\x5b0m"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@enact/ui-test-utils",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.2",
|
|
4
4
|
"description": "UI Testing for the Enact framework",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -16,14 +16,14 @@
|
|
|
16
16
|
"access": "public"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@wdio/cli": "
|
|
20
|
-
"@wdio/dot-reporter": "
|
|
21
|
-
"@wdio/local-runner": "
|
|
22
|
-
"@wdio/mocha-framework": "
|
|
23
|
-
"@wdio/selenium-standalone-service": "
|
|
24
|
-
"@wdio/spec-reporter": "
|
|
25
|
-
"@wdio/static-server-service": "
|
|
26
|
-
"@wdio/sync": "
|
|
19
|
+
"@wdio/cli": "7.12.4",
|
|
20
|
+
"@wdio/dot-reporter": "7.10.1",
|
|
21
|
+
"@wdio/local-runner": "7.12.4",
|
|
22
|
+
"@wdio/mocha-framework": "7.12.4",
|
|
23
|
+
"@wdio/selenium-standalone-service": "7.10.1",
|
|
24
|
+
"@wdio/spec-reporter": "7.10.1",
|
|
25
|
+
"@wdio/static-server-service": "7.10.1",
|
|
26
|
+
"@wdio/sync": "7.12.4",
|
|
27
27
|
"chai": "4.3.4",
|
|
28
28
|
"chalk": "^4.1.2",
|
|
29
29
|
"cross-spawn": "^7.0.3",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"readdirp": "^3.6.0",
|
|
37
37
|
"wdio-docker-service": "^3.1.2",
|
|
38
38
|
"wdio-image-comparison-service": "^3.0.0",
|
|
39
|
-
"webdriverio": "
|
|
39
|
+
"webdriverio": "7.12.4"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"babel-eslint": "^10.1.0",
|
package/utils/runTest.js
CHANGED
|
@@ -18,7 +18,7 @@ const runTest = ({concurrency, filter, Page, testName, ...rest}) => {
|
|
|
18
18
|
it('should fetch test cases', function () {
|
|
19
19
|
Page.open('?request');
|
|
20
20
|
let testCases = browser.execute(function () {
|
|
21
|
-
return window.__TEST_DATA;
|
|
21
|
+
return window.__TEST_DATA;
|
|
22
22
|
});
|
|
23
23
|
|
|
24
24
|
expect(testCases).to.be.an('object', 'Test data failed to load');
|