@applitools/eyes-cypress 3.27.8 → 3.28.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 +15 -0
- package/index.d.ts +12 -12
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,21 @@
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
+
|
|
15
|
+
## 3.28.0 - 2022/12/28
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
- Support `strictNullChecks` in TypeScript configuration, by wrapping relevant types with NonNullable
|
|
19
|
+
### Bug fixes
|
|
20
|
+
|
|
21
|
+
## 3.27.9 - 2022/12/21
|
|
22
|
+
|
|
23
|
+
### Features
|
|
24
|
+
- Additional internal event logs
|
|
25
|
+
### Bug fixes
|
|
26
|
+
- Handle fake shadowRoot with UFG
|
|
27
|
+
- Handed error during polling in long requests to eyes server
|
|
28
|
+
|
|
14
29
|
## 3.27.8 - 2022/11/19
|
|
15
30
|
|
|
16
31
|
### Features
|
package/index.d.ts
CHANGED
|
@@ -14,28 +14,28 @@ interface CypressCheckSettings extends api.CheckSettingsAutomationPlain<Element,
|
|
|
14
14
|
selector?: Selector
|
|
15
15
|
element?: Element
|
|
16
16
|
|
|
17
|
-
ignore?: MaybeArray<CypressCheckSettings['ignoreRegions'][number] | LegacyRegion>
|
|
18
|
-
layout?: MaybeArray<CypressCheckSettings['layoutRegions'][number] | LegacyRegion>
|
|
19
|
-
content?: MaybeArray<CypressCheckSettings['contentRegions'][number] | LegacyRegion>
|
|
20
|
-
strict?: MaybeArray<CypressCheckSettings['strictRegions'][number] | LegacyRegion>
|
|
21
|
-
floating?: MaybeArray<CypressCheckSettings['floatingRegions'][number] | (({element: Element} | Selector | LegacyRegion) & {maxUpOffset?: number; maxDownOffset?: number; maxLeftOffset?: number; maxRightOffset?: number})>
|
|
22
|
-
accessibility?: MaybeArray<CypressCheckSettings['accessibilityRegions'][number] | (({element: Element} | Selector | LegacyRegion) & {accessibilityType?: api.AccessibilityRegionTypePlain})>
|
|
17
|
+
ignore?: MaybeArray<NonNullable<CypressCheckSettings['ignoreRegions']>[number] | LegacyRegion>
|
|
18
|
+
layout?: MaybeArray<NonNullable<CypressCheckSettings['layoutRegions']>[number] | LegacyRegion>
|
|
19
|
+
content?: MaybeArray<NonNullable<CypressCheckSettings['contentRegions']>[number] | LegacyRegion>
|
|
20
|
+
strict?: MaybeArray<NonNullable<CypressCheckSettings['strictRegions']>[number] | LegacyRegion>
|
|
21
|
+
floating?: MaybeArray<NonNullable<CypressCheckSettings['floatingRegions']>[number] | (({element: Element} | Selector | LegacyRegion) & {maxUpOffset?: number; maxDownOffset?: number; maxLeftOffset?: number; maxRightOffset?: number})>
|
|
22
|
+
accessibility?: MaybeArray<NonNullable<CypressCheckSettings['accessibilityRegions']>[number] | (({element: Element} | Selector | LegacyRegion) & {accessibilityType?: api.AccessibilityRegionTypePlain})>
|
|
23
23
|
scriptHooks?: CypressCheckSettings['hooks']
|
|
24
24
|
ignoreCaret?: boolean
|
|
25
25
|
ignoreDisplacements?: boolean
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
interface CypressEyesConfig extends api.ConfigurationPlain<Element, Selector> {
|
|
29
|
-
browser?: MaybeArray<CypressEyesConfig['browsersInfo'][number] | {deviceName: string; screenOrientation?: api.ScreenOrientationPlain; name?: string}>
|
|
29
|
+
browser?: MaybeArray<NonNullable<CypressEyesConfig['browsersInfo']>[number] | {deviceName: string; screenOrientation?: api.ScreenOrientationPlain; name?: string}>
|
|
30
30
|
|
|
31
|
-
batchId?:
|
|
32
|
-
batchName?:
|
|
33
|
-
batchSequence?:
|
|
34
|
-
notifyOnCompletion?:
|
|
31
|
+
batchId?: NonNullable<CypressEyesConfig['batch']>['id']
|
|
32
|
+
batchName?: NonNullable<CypressEyesConfig['batch']>['name']
|
|
33
|
+
batchSequence?: NonNullable<CypressEyesConfig['batch']>['sequenceName']
|
|
34
|
+
notifyOnCompletion?: NonNullable<CypressEyesConfig['batch']>['notifyOnCompletion']
|
|
35
35
|
|
|
36
36
|
envName?: CypressEyesConfig['environmentName']
|
|
37
37
|
|
|
38
|
-
accessibilitySettings?: CypressEyesConfig['defaultMatchSettings']['accessibilitySettings']
|
|
38
|
+
accessibilitySettings?: NonNullable<CypressEyesConfig['defaultMatchSettings']>['accessibilitySettings']
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
declare global {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/eyes-cypress",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.28.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git://github.com/applitools/eyes.sdk.javascript1.git",
|
|
@@ -56,11 +56,11 @@
|
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@applitools/core": "1.
|
|
60
|
-
"@applitools/eyes-api": "1.
|
|
61
|
-
"@applitools/eyes-universal": "2.
|
|
59
|
+
"@applitools/core": "1.3.6",
|
|
60
|
+
"@applitools/eyes-api": "1.11.5",
|
|
61
|
+
"@applitools/eyes-universal": "2.18.0",
|
|
62
62
|
"@applitools/functional-commons": "1.6.0",
|
|
63
|
-
"@applitools/logger": "1.1.
|
|
63
|
+
"@applitools/logger": "1.1.36",
|
|
64
64
|
"chalk": "3.0.0",
|
|
65
65
|
"semver": "7.3.8",
|
|
66
66
|
"uuid": "8.3.2",
|
|
@@ -70,11 +70,11 @@
|
|
|
70
70
|
"devDependencies": {
|
|
71
71
|
"@applitools/bongo": "^2.2.0",
|
|
72
72
|
"@applitools/scripts": "1.2.0",
|
|
73
|
-
"@applitools/sdk-coverage-tests": "^2.7.
|
|
73
|
+
"@applitools/sdk-coverage-tests": "^2.7.10",
|
|
74
74
|
"@applitools/snaptdout": "1.0.1",
|
|
75
|
-
"@applitools/test-server": "1.1.
|
|
76
|
-
"@applitools/test-utils": "1.5.
|
|
77
|
-
"@applitools/utils": "1.3.
|
|
75
|
+
"@applitools/test-server": "1.1.16",
|
|
76
|
+
"@applitools/test-utils": "1.5.5",
|
|
77
|
+
"@applitools/utils": "1.3.22",
|
|
78
78
|
"@types/node": "12",
|
|
79
79
|
"@types/which": "^2.0.1",
|
|
80
80
|
"@types/ws": "^8.2.2",
|