@applitools/eyes-images 4.23.7 → 4.23.9
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 +109 -0
- package/package.json +3 -5
- package/types/index.d.ts +13 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,114 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [4.23.9](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-images@4.23.8...js/eyes-images@4.23.9) (2023-07-05)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Dependencies
|
|
7
|
+
|
|
8
|
+
* @applitools/eyes bumped from 1.5.0 to 1.5.1
|
|
9
|
+
#### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* fixed issue with getResults log appearing in console when file handler configured ([56b75c2](https://github.com/applitools/eyes.sdk.javascript1/commit/56b75c2185906c1581980985816a000c14000ac3))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
#### Reverts
|
|
15
|
+
|
|
16
|
+
* revert removal of `nmgOptions` api ([b8d03c7](https://github.com/applitools/eyes.sdk.javascript1/commit/b8d03c77e8243397ecca233e46d56f7437d16df4))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
* @applitools/core bumped from 3.4.0 to 3.5.0
|
|
21
|
+
#### Features
|
|
22
|
+
|
|
23
|
+
* added auto applitools lib detection ([#1707](https://github.com/applitools/eyes.sdk.javascript1/issues/1707)) ([7d439b5](https://github.com/applitools/eyes.sdk.javascript1/commit/7d439b52af55f3b0596c9d35d6ba85c717448023))
|
|
24
|
+
* support dns caching ([#1680](https://github.com/applitools/eyes.sdk.javascript1/issues/1680)) ([9bbff34](https://github.com/applitools/eyes.sdk.javascript1/commit/9bbff34f50c9d18758b55a6bcb45571ca1148180))
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
#### Bug Fixes
|
|
28
|
+
|
|
29
|
+
* some fix ([660a137](https://github.com/applitools/eyes.sdk.javascript1/commit/660a1376a49dd28f8f399690502cd3d1f77665fa))
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
* @applitools/core-base bumped from 1.2.1 to 1.3.0
|
|
34
|
+
#### Features
|
|
35
|
+
|
|
36
|
+
* support dns caching ([#1680](https://github.com/applitools/eyes.sdk.javascript1/issues/1680)) ([9bbff34](https://github.com/applitools/eyes.sdk.javascript1/commit/9bbff34f50c9d18758b55a6bcb45571ca1148180))
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
* @applitools/req bumped from 1.3.3 to 1.4.0
|
|
41
|
+
#### Features
|
|
42
|
+
|
|
43
|
+
* support dns caching ([#1680](https://github.com/applitools/eyes.sdk.javascript1/issues/1680)) ([9bbff34](https://github.com/applitools/eyes.sdk.javascript1/commit/9bbff34f50c9d18758b55a6bcb45571ca1148180))
|
|
44
|
+
* @applitools/driver bumped from 1.12.4 to 1.13.0
|
|
45
|
+
#### Features
|
|
46
|
+
|
|
47
|
+
* added auto applitools lib detection ([#1707](https://github.com/applitools/eyes.sdk.javascript1/issues/1707)) ([7d439b5](https://github.com/applitools/eyes.sdk.javascript1/commit/7d439b52af55f3b0596c9d35d6ba85c717448023))
|
|
48
|
+
* @applitools/ec-client bumped from 1.5.0 to 1.6.0
|
|
49
|
+
#### Features
|
|
50
|
+
|
|
51
|
+
* added support of regional execution cloud servers ([#1711](https://github.com/applitools/eyes.sdk.javascript1/issues/1711)) ([2e26c69](https://github.com/applitools/eyes.sdk.javascript1/commit/2e26c6944bb15f6121fb37c1dba95aba162c1f6a))
|
|
52
|
+
* support dns caching ([#1680](https://github.com/applitools/eyes.sdk.javascript1/issues/1680)) ([9bbff34](https://github.com/applitools/eyes.sdk.javascript1/commit/9bbff34f50c9d18758b55a6bcb45571ca1148180))
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
#### Bug Fixes
|
|
56
|
+
|
|
57
|
+
* fixed auto tunnel cleanup after unexpected end of the process ([3c1ad08](https://github.com/applitools/eyes.sdk.javascript1/commit/3c1ad0837d2d3560becc6d89370aa878becb3270))
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
* @applitools/tunnel-client bumped from 0.1.1 to 1.0.0
|
|
62
|
+
#### Features
|
|
63
|
+
|
|
64
|
+
* added binaries and made them available in jfrog ([92033fe](https://github.com/applitools/eyes.sdk.javascript1/commit/92033fed7edc58bbc4a4e37269068418fe3afc3d))
|
|
65
|
+
* release as 1.0.0 ([93bf312](https://github.com/applitools/eyes.sdk.javascript1/commit/93bf31205b07d19bc2cb4f50b974c7bad0f49cea))
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
* @applitools/ufg-client bumped from 1.2.22 to 1.3.0
|
|
70
|
+
#### Features
|
|
71
|
+
|
|
72
|
+
* support dns caching ([#1680](https://github.com/applitools/eyes.sdk.javascript1/issues/1680)) ([9bbff34](https://github.com/applitools/eyes.sdk.javascript1/commit/9bbff34f50c9d18758b55a6bcb45571ca1148180))
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
* @applitools/spec-driver-webdriver bumped from 1.0.36 to 1.0.37
|
|
77
|
+
|
|
78
|
+
* @applitools/nml-client bumped from 1.5.0 to 1.5.1
|
|
79
|
+
|
|
80
|
+
* @applitools/screenshoter bumped from 3.8.1 to 3.8.2
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
## [4.23.8](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-images@4.23.7...js/eyes-images@4.23.8) (2023-06-29)
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
### Dependencies
|
|
87
|
+
|
|
88
|
+
* @applitools/eyes bumped from 1.4.1 to 1.5.0
|
|
89
|
+
#### Features
|
|
90
|
+
|
|
91
|
+
* added a new mode for taking native app screenshots ([#1682](https://github.com/applitools/eyes.sdk.javascript1/issues/1682)) ([0ab7d96](https://github.com/applitools/eyes.sdk.javascript1/commit/0ab7d96164c89ec65b87654fb271d4404bbf70e5))
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
* @applitools/core bumped from 3.3.1 to 3.4.0
|
|
96
|
+
#### Features
|
|
97
|
+
|
|
98
|
+
* added a new mode for taking native app screenshots ([#1682](https://github.com/applitools/eyes.sdk.javascript1/issues/1682)) ([0ab7d96](https://github.com/applitools/eyes.sdk.javascript1/commit/0ab7d96164c89ec65b87654fb271d4404bbf70e5))
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
#### Bug Fixes
|
|
102
|
+
|
|
103
|
+
* apply default scrolling mode ([f35aba4](https://github.com/applitools/eyes.sdk.javascript1/commit/f35aba454a344c8f0cf787afa2120ce57d91e307))
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
* @applitools/nml-client bumped from 1.4.0 to 1.5.0
|
|
108
|
+
#### Features
|
|
109
|
+
|
|
110
|
+
* added a new mode for taking native app screenshots ([#1682](https://github.com/applitools/eyes.sdk.javascript1/issues/1682)) ([0ab7d96](https://github.com/applitools/eyes.sdk.javascript1/commit/0ab7d96164c89ec65b87654fb271d4404bbf70e5))
|
|
111
|
+
|
|
3
112
|
## [4.23.7](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-images@4.23.6...js/eyes-images@4.23.7) (2023-06-28)
|
|
4
113
|
|
|
5
114
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/eyes-images",
|
|
3
|
-
"version": "4.23.
|
|
3
|
+
"version": "4.23.9",
|
|
4
4
|
"description": "The simplest implementation of Applitools Eyes SDK, uploads images for validation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eyes-images",
|
|
@@ -45,12 +45,10 @@
|
|
|
45
45
|
"build": "run --top-level tspc --project ./tsconfig.build.json",
|
|
46
46
|
"generate:tests": "coverage-tests generate ./test/coverage/config.js --name 'eyes-images' --meta-path './logs'",
|
|
47
47
|
"test": "yarn test:coverage",
|
|
48
|
-
"test:coverage": "yarn generate:tests && APPLITOOLS_BATCH_NAME='JS Coverage Tests: eyes-images' APPLITOOLS_BATCH_ID=$(uuidgen) MOCHA_GROUP=coverage run --top-level mocha './test/generic/*.spec.js' --parallel --jobs ${MOCHA_JOBS:-15}"
|
|
49
|
-
"report": "bongo report --name 'js_images' --group 'images' --result-path './logs' --meta-path './logs'"
|
|
48
|
+
"test:coverage": "yarn generate:tests && APPLITOOLS_BATCH_NAME='JS Coverage Tests: eyes-images' APPLITOOLS_BATCH_ID=$(uuidgen) MOCHA_GROUP=coverage run --top-level mocha './test/generic/*.spec.js' --parallel --jobs ${MOCHA_JOBS:-15}"
|
|
50
49
|
},
|
|
51
|
-
"notificationName": "js_images",
|
|
52
50
|
"dependencies": {
|
|
53
|
-
"@applitools/eyes": "1.
|
|
51
|
+
"@applitools/eyes": "1.5.1"
|
|
54
52
|
},
|
|
55
53
|
"devDependencies": {
|
|
56
54
|
"@applitools/api-extractor": "^1.2.21",
|
package/types/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export class Eyes {
|
|
2
2
|
static getExecutionCloudUrl(config?: undefined | ConfigurationPlain): Promise<string>;
|
|
3
3
|
static setViewportSize(driver: unknown, size: RectangleSizePlain): Promise<void>;
|
|
4
|
+
static setMobileCapabilities<TCapabilities extends Record<string, any>>(capabilities: TCapabilities, config?: undefined | ConfigurationPlain): TCapabilities;
|
|
4
5
|
constructor(runner?: undefined | EyesRunner, config?: undefined | ConfigurationPlain);
|
|
5
6
|
constructor(config?: undefined | ConfigurationPlain);
|
|
6
7
|
get logger(): Logger;
|
|
@@ -27,6 +28,7 @@ export class Eyes {
|
|
|
27
28
|
off(event: string): void;
|
|
28
29
|
off(handler: (...args: Array<any>) => any): void;
|
|
29
30
|
getExecutionCloudUrl(): Promise<string>;
|
|
31
|
+
setMobileCapabilities<TCapabilities extends Record<string, any>>(capabilities: TCapabilities): TCapabilities;
|
|
30
32
|
open(driver: never, config?: undefined | ConfigurationPlain): Promise<never>;
|
|
31
33
|
open(driver: never, appName?: undefined | string, testName?: undefined | string, viewportSize?: undefined | RectangleSizePlain, sessionType?: undefined | SessionTypePlain): Promise<never>;
|
|
32
34
|
open(config?: undefined | ConfigurationPlain): Promise<void>;
|
|
@@ -497,8 +499,8 @@ export type CheckSettingsAutomationPlain = CheckSettingsImagePlain & {
|
|
|
497
499
|
layoutBreakpoints?: undefined | boolean | Array<number> | { breakpoints: boolean | Array<number>; reload?: undefined | boolean; };
|
|
498
500
|
visualGridOptions?: undefined | { [key: string]: any; };
|
|
499
501
|
nmgOptions?: undefined | { [key: string]: any; };
|
|
502
|
+
useSystemScreenshot?: undefined | boolean;
|
|
500
503
|
hooks?: undefined | { beforeCaptureScreenshot: string; };
|
|
501
|
-
renderId?: undefined | string;
|
|
502
504
|
timeout?: undefined | number;
|
|
503
505
|
waitBeforeCapture?: undefined | number;
|
|
504
506
|
lazyLoad?: undefined | boolean | { scrollLength?: undefined | number; waitingTime?: undefined | number; maxAmountToScroll?: undefined | number; };
|
|
@@ -526,11 +528,11 @@ export class CheckSettingsAutomation {
|
|
|
526
528
|
webHook(script: string): CheckSettingsAutomation;
|
|
527
529
|
ufgOption(key: string, value: any): CheckSettingsAutomation;
|
|
528
530
|
ufgOptions(options: { [key: string]: any; }): CheckSettingsAutomation;
|
|
529
|
-
visualGridOption(key: string, value: any): CheckSettingsAutomation;
|
|
530
|
-
visualGridOptions(options: { [key: string]: any; }): CheckSettingsAutomation;
|
|
531
531
|
nmgOption(key: string, value: any): CheckSettingsAutomation;
|
|
532
532
|
nmgOptions(options: { [key: string]: any; }): CheckSettingsAutomation;
|
|
533
|
-
|
|
533
|
+
visualGridOption(key: string, value: any): CheckSettingsAutomation;
|
|
534
|
+
visualGridOptions(options: { [key: string]: any; }): CheckSettingsAutomation;
|
|
535
|
+
useSystemScreenshot(useSystemScreenshot: boolean): CheckSettingsAutomation;
|
|
534
536
|
timeout(timeout: number): CheckSettingsAutomation;
|
|
535
537
|
waitBeforeCapture(waitBeforeCapture: number): CheckSettingsAutomation;
|
|
536
538
|
lazyLoad(options?: undefined | boolean): CheckSettingsAutomation;
|
|
@@ -1655,7 +1657,13 @@ export class TestResults implements Required<TestResultsPlain> {
|
|
|
1655
1657
|
get url(): string;
|
|
1656
1658
|
getUrl(): string;
|
|
1657
1659
|
setUrl(_url: string): void;
|
|
1658
|
-
get server(): {
|
|
1660
|
+
get server(): {
|
|
1661
|
+
serverUrl: string;
|
|
1662
|
+
apiKey: string;
|
|
1663
|
+
agentId?: undefined | string;
|
|
1664
|
+
proxy?: undefined | { url: string; username?: undefined | string; password?: undefined | string; };
|
|
1665
|
+
useDnsCache?: undefined | boolean;
|
|
1666
|
+
};
|
|
1659
1667
|
get keepIfDuplicate(): boolean;
|
|
1660
1668
|
isPassed(): boolean;
|
|
1661
1669
|
delete(): Promise<void>;
|