@applitools/eyes-nightwatch 1.25.21 → 1.25.23
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 +115 -0
- package/package.json +5 -5
- package/types/index.d.ts +17 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,120 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.25.23](https://github.com/Applitools-Dev/sdk/compare/js/eyes-nightwatch@1.25.22...js/eyes-nightwatch@1.25.23) (2025-04-17)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Performance Improvements
|
|
7
|
+
|
|
8
|
+
* cachify http agent ([#2466](https://github.com/Applitools-Dev/sdk/issues/2466)) ([bc2f4a1](https://github.com/Applitools-Dev/sdk/commit/bc2f4a1fae3c379f061c9199edf4c5257769fb44))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* @applitools/dom-snapshot bumped to 4.11.18
|
|
14
|
+
#### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* simplify sandbox creation and ensure cleanup after execution ([#2869](https://github.com/Applitools-Dev/sdk/issues/2869)) ([72c5e01](https://github.com/Applitools-Dev/sdk/commit/72c5e01307f6abd83fab365a7e235124caae0694))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
* @applitools/snippets bumped to 2.6.5
|
|
21
|
+
#### Performance Improvements
|
|
22
|
+
|
|
23
|
+
* cachify http agent ([#2466](https://github.com/Applitools-Dev/sdk/issues/2466)) ([bc2f4a1](https://github.com/Applitools-Dev/sdk/commit/bc2f4a1fae3c379f061c9199edf4c5257769fb44))
|
|
24
|
+
* @applitools/driver bumped to 1.21.1
|
|
25
|
+
#### Bug Fixes
|
|
26
|
+
|
|
27
|
+
* executePoll error logging FLD-2870 ([#2890](https://github.com/Applitools-Dev/sdk/issues/2890)) ([a8ff720](https://github.com/Applitools-Dev/sdk/commit/a8ff720efafacabe2023282748a6d8a0f1b3ff73))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
* @applitools/spec-driver-webdriver bumped to 1.2.2
|
|
32
|
+
#### Performance Improvements
|
|
33
|
+
|
|
34
|
+
* cachify http agent ([#2466](https://github.com/Applitools-Dev/sdk/issues/2466)) ([bc2f4a1](https://github.com/Applitools-Dev/sdk/commit/bc2f4a1fae3c379f061c9199edf4c5257769fb44))
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
* @applitools/spec-driver-selenium bumped to 1.5.98
|
|
39
|
+
#### Performance Improvements
|
|
40
|
+
|
|
41
|
+
* cachify http agent ([#2466](https://github.com/Applitools-Dev/sdk/issues/2466)) ([bc2f4a1](https://github.com/Applitools-Dev/sdk/commit/bc2f4a1fae3c379f061c9199edf4c5257769fb44))
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
* @applitools/spec-driver-puppeteer bumped to 1.4.27
|
|
46
|
+
#### Performance Improvements
|
|
47
|
+
|
|
48
|
+
* cachify http agent ([#2466](https://github.com/Applitools-Dev/sdk/issues/2466)) ([bc2f4a1](https://github.com/Applitools-Dev/sdk/commit/bc2f4a1fae3c379f061c9199edf4c5257769fb44))
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
* @applitools/screenshoter bumped to 3.11.1
|
|
53
|
+
#### Performance Improvements
|
|
54
|
+
|
|
55
|
+
* cachify http agent ([#2466](https://github.com/Applitools-Dev/sdk/issues/2466)) ([bc2f4a1](https://github.com/Applitools-Dev/sdk/commit/bc2f4a1fae3c379f061c9199edf4c5257769fb44))
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
* @applitools/nml-client bumped to 1.9.1
|
|
60
|
+
#### Performance Improvements
|
|
61
|
+
|
|
62
|
+
* cachify http agent ([#2466](https://github.com/Applitools-Dev/sdk/issues/2466)) ([bc2f4a1](https://github.com/Applitools-Dev/sdk/commit/bc2f4a1fae3c379f061c9199edf4c5257769fb44))
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
* @applitools/tunnel-client bumped to 1.6.5
|
|
67
|
+
#### Bug Fixes
|
|
68
|
+
|
|
69
|
+
* enhance error messages in tunnel client ([cab26e6](https://github.com/Applitools-Dev/sdk/commit/cab26e6e3d56fa3cbabaa1a9c68de13046b8f57e))
|
|
70
|
+
* @applitools/ufg-client bumped to 1.16.9
|
|
71
|
+
#### Bug Fixes
|
|
72
|
+
|
|
73
|
+
* basic auth protected resources | FLD-2761 | FMRI-120 ([#2444](https://github.com/Applitools-Dev/sdk/issues/2444)) ([b48cf49](https://github.com/Applitools-Dev/sdk/commit/b48cf49dec50bbf1ed2ba111608a48cf09962565))
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
#### Performance Improvements
|
|
77
|
+
|
|
78
|
+
* cachify http agent ([#2466](https://github.com/Applitools-Dev/sdk/issues/2466)) ([bc2f4a1](https://github.com/Applitools-Dev/sdk/commit/bc2f4a1fae3c379f061c9199edf4c5257769fb44))
|
|
79
|
+
* @applitools/ec-client bumped to 1.10.9
|
|
80
|
+
#### Performance Improvements
|
|
81
|
+
|
|
82
|
+
* cachify http agent ([#2466](https://github.com/Applitools-Dev/sdk/issues/2466)) ([bc2f4a1](https://github.com/Applitools-Dev/sdk/commit/bc2f4a1fae3c379f061c9199edf4c5257769fb44))
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
* @applitools/core bumped to 4.37.0
|
|
87
|
+
#### Features
|
|
88
|
+
|
|
89
|
+
* height layout breakpoints ([#2801](https://github.com/Applitools-Dev/sdk/issues/2801)) ([819e241](https://github.com/Applitools-Dev/sdk/commit/819e2418f1fd93220a07dfbcf1157ffcf4995dd7))
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
* @applitools/eyes bumped to 1.34.0
|
|
94
|
+
#### Features
|
|
95
|
+
|
|
96
|
+
* height layout breakpoints ([#2801](https://github.com/Applitools-Dev/sdk/issues/2801)) ([819e241](https://github.com/Applitools-Dev/sdk/commit/819e2418f1fd93220a07dfbcf1157ffcf4995dd7))
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
#### Bug Fixes
|
|
100
|
+
|
|
101
|
+
* add checks for undefined regions in CheckSettings | AD-9042 ([#2868](https://github.com/Applitools-Dev/sdk/issues/2868)) ([0f7c991](https://github.com/Applitools-Dev/sdk/commit/0f7c9913d64e0535ba5ffe632923a3bf440be65f))
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
## [1.25.22](https://github.com/Applitools-Dev/sdk/compare/js/eyes-nightwatch@1.25.21...js/eyes-nightwatch@1.25.22) (2025-04-03)
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
### Dependencies
|
|
110
|
+
|
|
111
|
+
* @applitools/core bumped to 4.35.1
|
|
112
|
+
#### Bug Fixes
|
|
113
|
+
|
|
114
|
+
* dummy ([9b8ffef](https://github.com/Applitools-Dev/sdk/commit/9b8ffef6277015a9073caf50f5dc5741986fbf07))
|
|
115
|
+
* @applitools/eyes bumped to 1.33.2
|
|
116
|
+
|
|
117
|
+
|
|
3
118
|
## [1.25.21](https://github.com/Applitools-Dev/sdk/compare/js/eyes-nightwatch@1.25.20...js/eyes-nightwatch@1.25.21) (2025-03-06)
|
|
4
119
|
|
|
5
120
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/eyes-nightwatch",
|
|
3
|
-
"version": "1.25.
|
|
3
|
+
"version": "1.25.23",
|
|
4
4
|
"description": "Applitools Eyes SDK for Nightwatch.js",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eyes-nightwatch",
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
"up:framework": "echo \"$(jq '.devDependencies.nightwatch = $ENV.APPLITOOLS_FRAMEWORK_VERSION' ./package.json)\" > ./package.json"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@applitools/driver": "1.
|
|
47
|
-
"@applitools/eyes": "1.
|
|
48
|
-
"@applitools/spec-driver-webdriver": "1.
|
|
49
|
-
"@applitools/utils": "1.
|
|
46
|
+
"@applitools/driver": "1.21.1",
|
|
47
|
+
"@applitools/eyes": "1.34.0",
|
|
48
|
+
"@applitools/spec-driver-webdriver": "1.2.2",
|
|
49
|
+
"@applitools/utils": "1.8.0",
|
|
50
50
|
"webdriver": "7.31.1"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
package/types/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export type SpecType = {
|
|
|
7
7
|
element: Element;
|
|
8
8
|
selector: Selector;
|
|
9
9
|
secondary: never;
|
|
10
|
+
userFunction: unknown;
|
|
10
11
|
};
|
|
11
12
|
export class Eyes {
|
|
12
13
|
static setViewportSize: (driver: Driver, viewportSize: RectangleSize) => Promise<void>;
|
|
@@ -265,14 +266,14 @@ export type CheckSettingsAutomationPlain = {
|
|
|
265
266
|
scrollRootElement?: undefined | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; }));
|
|
266
267
|
fully?: undefined | boolean;
|
|
267
268
|
disableBrowserFetching?: undefined | boolean;
|
|
268
|
-
layoutBreakpoints?: undefined | boolean | Array<number> | { breakpoints: boolean | Array<number>; reload?: undefined | boolean; };
|
|
269
|
+
layoutBreakpoints?: undefined | (boolean | Array<number> | { breakpoints: boolean | Array<number>; reload?: undefined | boolean; } | { breakpoints: boolean; heightBreakpoints: boolean; reload?: undefined | boolean; });
|
|
269
270
|
visualGridOptions?: undefined | { [key: string]: any; };
|
|
270
271
|
ufgOptions?: undefined | { [key: string]: any; };
|
|
271
272
|
nmgOptions?: undefined | { [key: string]: any; };
|
|
272
273
|
useSystemScreenshot?: undefined | boolean;
|
|
273
274
|
hooks?: undefined | { beforeCaptureScreenshot: string; };
|
|
274
275
|
timeout?: undefined | number;
|
|
275
|
-
waitBeforeCapture?: undefined | number;
|
|
276
|
+
waitBeforeCapture?: undefined | number | (() => Promise<void>);
|
|
276
277
|
lazyLoad?: undefined | boolean | { scrollLength?: undefined | number; waitingTime?: undefined | number; maxAmountToScroll?: undefined | number; };
|
|
277
278
|
};
|
|
278
279
|
export class CheckSettingsAutomation {
|
|
@@ -294,8 +295,9 @@ export class CheckSettingsAutomation {
|
|
|
294
295
|
fully(fully?: undefined | boolean): CheckSettingsAutomation;
|
|
295
296
|
stitchContent(stitchContent?: undefined | boolean): CheckSettingsAutomation;
|
|
296
297
|
disableBrowserFetching(disableBrowserFetching: boolean): CheckSettingsAutomation;
|
|
297
|
-
layoutBreakpoints(breakpoints
|
|
298
|
-
layoutBreakpoints(breakpoints
|
|
298
|
+
layoutBreakpoints(breakpoints: boolean, heightBreakpoints: boolean, settings?: undefined | { reload?: undefined | boolean; }): CheckSettingsAutomation;
|
|
299
|
+
layoutBreakpoints(breakpoints: boolean, settings?: undefined | { reload?: undefined | boolean; }): CheckSettingsAutomation;
|
|
300
|
+
layoutBreakpoints(breakpoints: Array<number>, settings?: undefined | { reload?: undefined | boolean; }): CheckSettingsAutomation;
|
|
299
301
|
hook(name: string, script: string): CheckSettingsAutomation;
|
|
300
302
|
beforeRenderScreenshotHook(script: string): CheckSettingsAutomation;
|
|
301
303
|
webHook(script: string): CheckSettingsAutomation;
|
|
@@ -308,6 +310,7 @@ export class CheckSettingsAutomation {
|
|
|
308
310
|
useSystemScreenshot(useSystemScreenshot?: undefined | boolean): CheckSettingsAutomation;
|
|
309
311
|
timeout(timeout: number): CheckSettingsAutomation;
|
|
310
312
|
waitBeforeCapture(waitBeforeCapture: number): CheckSettingsAutomation;
|
|
313
|
+
waitBeforeCapture(waitBeforeCapture: (() => Promise<void>)): CheckSettingsAutomation;
|
|
311
314
|
lazyLoad(options?: undefined | boolean): CheckSettingsAutomation;
|
|
312
315
|
lazyLoad(options?: undefined | { scrollLength?: undefined | number; waitingTime?: undefined | number; maxAmountToScroll?: undefined | number; }): CheckSettingsAutomation;
|
|
313
316
|
densityMetrics(options: { scaleRatio?: undefined | number; xdpi?: undefined | number; ydpi?: undefined | number; }): CheckSettingsAutomation;
|
|
@@ -482,6 +485,7 @@ export type ConfigurationPlain = {
|
|
|
482
485
|
enablePatterns?: undefined | boolean;
|
|
483
486
|
environmentName?: undefined | string;
|
|
484
487
|
forceFullPageScreenshot?: undefined | boolean;
|
|
488
|
+
fully?: undefined | boolean;
|
|
485
489
|
gitMergeBaseTimestamp?: undefined | string;
|
|
486
490
|
latestCommitInfo?: undefined | { timestamp: string; sha: string; };
|
|
487
491
|
hideCaret?: undefined | boolean;
|
|
@@ -518,7 +522,7 @@ export type ConfigurationPlain = {
|
|
|
518
522
|
useDom?: undefined | boolean;
|
|
519
523
|
viewportSize?: undefined | RectangleSizePlain;
|
|
520
524
|
visualGridOptions?: undefined | Record<string, any>;
|
|
521
|
-
waitBeforeCapture?: undefined | number;
|
|
525
|
+
waitBeforeCapture?: undefined | number | (() => Promise<void>);
|
|
522
526
|
waitBeforeScreenshots?: undefined | number;
|
|
523
527
|
};
|
|
524
528
|
export class Configuration implements Required<ConfigurationPlain> {
|
|
@@ -808,14 +812,19 @@ export class Configuration implements Required<ConfigurationPlain> {
|
|
|
808
812
|
getVisualGridOptions(): { [key: string]: any; };
|
|
809
813
|
setVisualGridOptions(visualGridOptions: { [key: string]: any; }): Configuration;
|
|
810
814
|
setVisualGridOption(key: string, value: any): Configuration;
|
|
811
|
-
get waitBeforeCapture(): number;
|
|
812
|
-
set waitBeforeCapture(waitBeforeCapture: number);
|
|
813
|
-
getWaitBeforeCapture(): number;
|
|
815
|
+
get waitBeforeCapture(): number | (() => Promise<void>);
|
|
816
|
+
set waitBeforeCapture(waitBeforeCapture: number | (() => Promise<void>));
|
|
817
|
+
getWaitBeforeCapture(): number | (() => Promise<void>);
|
|
814
818
|
setWaitBeforeCapture(waitBeforeCapture: number): Configuration;
|
|
819
|
+
setWaitBeforeCapture(waitBeforeCapture: (() => Promise<void>)): Configuration;
|
|
815
820
|
get waitBeforeScreenshots(): number;
|
|
816
821
|
set waitBeforeScreenshots(waitBeforeScreenshots: number);
|
|
817
822
|
getWaitBeforeScreenshots(): number;
|
|
818
823
|
setWaitBeforeScreenshots(waitBeforeScreenshots: number): Configuration;
|
|
824
|
+
get fully(): boolean;
|
|
825
|
+
set fully(fully: boolean);
|
|
826
|
+
getFully(): boolean;
|
|
827
|
+
setFully(fully: boolean): Configuration;
|
|
819
828
|
}
|
|
820
829
|
export class BatchClose {
|
|
821
830
|
static close(settings: { batchIds: Array<string>; serverUrl: string; apiKey: string; proxy?: undefined | ProxySettingsPlain; }): Promise<void>;
|