@applitools/eyes-playwright 1.13.1 → 1.14.0
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/CHANGELOG.md +12 -0
- package/package.json +13 -32
- package/types/index.d.ts +1520 -1
- package/types/api.d.ts +0 -46
- package/types/spec-driver.d.ts +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,18 @@
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
+
## 1.14.0 - 2023/2/21
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
- Crop screenshot image base on account info
|
|
18
|
+
### Bug fixes
|
|
19
|
+
|
|
20
|
+
## 1.13.2 - 2023/1/20
|
|
21
|
+
|
|
22
|
+
### Features
|
|
23
|
+
### Bug fixes
|
|
24
|
+
- Fixed dependency issue on windows
|
|
25
|
+
|
|
14
26
|
## 1.13.1 - 2023/1/17
|
|
15
27
|
|
|
16
28
|
### Features
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/eyes-playwright",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.14.0",
|
|
4
4
|
"description": "Applitools Eyes SDK for Playwright",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eyes-playwright",
|
|
@@ -37,55 +37,36 @@
|
|
|
37
37
|
"types"
|
|
38
38
|
],
|
|
39
39
|
"scripts": {
|
|
40
|
-
"lint": "eslint '**/*.ts'",
|
|
41
|
-
"build": "ttsc",
|
|
40
|
+
"lint": "node ../../node_modules/.bin/eslint '**/*.ts'",
|
|
41
|
+
"build": "node ../../node_modules/.bin/ttsc --project ./tsconfig.build.json",
|
|
42
42
|
"generate:tests": "coverage-tests generate https://raw.githubusercontent.com/applitools/sdk.coverage.tests/universal-sdk/js/config.js --name 'eyes-playwright'",
|
|
43
43
|
"test": "yarn test:coverage",
|
|
44
44
|
"test:sanity": "echo 'create sanity suite'",
|
|
45
|
-
"test:coverage": "yarn generate:tests && APPLITOOLS_BATCH_NAME='JS Coverage Tests: eyes-playwright' APPLITOOLS_BATCH_ID=$(uuidgen)
|
|
45
|
+
"test:coverage": "yarn generate:tests && APPLITOOLS_BATCH_NAME='JS Coverage Tests: eyes-playwright' APPLITOOLS_BATCH_ID=$(uuidgen) mocha --exit --config .mocharc.cvg.js",
|
|
46
46
|
"report": "coverage-tests report https://raw.githubusercontent.com/applitools/sdk.coverage.tests/master/js/config.js --name 'eyes-playwright'",
|
|
47
47
|
"upgrade:framework": "if [ ! -z $APPLITOOLS_PLAYWRIGHT_VERSION ]; then packagejson=`cat package.json`; yarn upgrade --no-lockfile playwright@$APPLITOOLS_PLAYWRIGHT_VERSION; echo \"$packagejson\" > package.json; fi",
|
|
48
48
|
"deps": "bongo deps",
|
|
49
|
-
"gh:test": "gh workflow run test.yml --ref $(git rev-parse --abbrev-ref HEAD) -f packages='playwright' -f links='types test-utils
|
|
49
|
+
"gh:test": "gh workflow run test.yml --ref $(git rev-parse --abbrev-ref HEAD) -f packages='playwright' -f links='types test-utils eyes-sdk-core visual-grid-client eyes-api spec-driver-playwright utils driver snippets screenshoter'",
|
|
50
50
|
"gh:publish": "gh workflow run publish-playwright.yml --ref $(git rev-parse --abbrev-ref HEAD)",
|
|
51
|
-
"preversion": "bongo preversion --verifyPendingChanges
|
|
51
|
+
"preversion": "bongo preversion --verifyPendingChanges",
|
|
52
52
|
"version": "bongo version --withPendingChanges",
|
|
53
53
|
"postversion": "bongo postversion"
|
|
54
54
|
},
|
|
55
|
-
"husky": {
|
|
56
|
-
"hooks": {
|
|
57
|
-
"pre-push": "yarn bongo lint"
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
55
|
"dependencies": {
|
|
61
|
-
"@applitools/core": "
|
|
62
|
-
"@applitools/eyes-api": "1.
|
|
63
|
-
"@applitools/spec-driver-playwright": "1.3.
|
|
56
|
+
"@applitools/core": "2.3.6",
|
|
57
|
+
"@applitools/eyes-api": "1.13.6",
|
|
58
|
+
"@applitools/spec-driver-playwright": "1.3.10"
|
|
64
59
|
},
|
|
65
60
|
"devDependencies": {
|
|
66
61
|
"@applitools/api-extractor": "1.2.11",
|
|
67
|
-
"@applitools/bongo": "^2.2.
|
|
68
|
-
"@applitools/scripts": "1.2.0",
|
|
62
|
+
"@applitools/bongo": "^2.2.5",
|
|
69
63
|
"@applitools/sdk-coverage-tests": "2.7.10",
|
|
70
|
-
"@applitools/
|
|
71
|
-
"@applitools/test-utils": "1.5.8",
|
|
64
|
+
"@applitools/test-utils": "1.5.12",
|
|
72
65
|
"@types/mocha": "^9.1.1",
|
|
73
66
|
"@types/node": "12",
|
|
74
|
-
"@typescript-eslint/eslint-plugin": "^5.27.0",
|
|
75
|
-
"@typescript-eslint/parser": "^5.27.0",
|
|
76
|
-
"eslint": "^8.16.0",
|
|
77
|
-
"eslint-config-prettier": "^8.5.0",
|
|
78
|
-
"eslint-plugin-mocha-no-only": "^1.1.1",
|
|
79
|
-
"eslint-plugin-node": "^11.1.0",
|
|
80
|
-
"eslint-plugin-prettier": "^4.0.0",
|
|
81
|
-
"husky": "^4.3.7",
|
|
82
67
|
"mocha": "^10.0.0",
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"spec-xunit-file": "0.0.1-3",
|
|
86
|
-
"ts-node": "^10.2.1",
|
|
87
|
-
"ttypescript": "^1.5.13",
|
|
88
|
-
"typescript": "^4.9.3"
|
|
68
|
+
"mocha-multi": "^1.1.7",
|
|
69
|
+
"playwright": "^1.22.2"
|
|
89
70
|
},
|
|
90
71
|
"peerDependencies": {
|
|
91
72
|
"playwright": ">=1.0.0"
|