@applitools/eyes-nightwatch 1.25.20 → 1.25.22
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 +25 -0
- package/package.json +5 -5
- package/types/index.d.ts +16 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [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)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Dependencies
|
|
7
|
+
|
|
8
|
+
* @applitools/core bumped to 4.35.1
|
|
9
|
+
#### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* dummy ([9b8ffef](https://github.com/Applitools-Dev/sdk/commit/9b8ffef6277015a9073caf50f5dc5741986fbf07))
|
|
12
|
+
* @applitools/eyes bumped to 1.33.2
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
## [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)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Dependencies
|
|
19
|
+
|
|
20
|
+
* @applitools/core bumped to 4.32.2
|
|
21
|
+
#### Bug Fixes
|
|
22
|
+
|
|
23
|
+
* add environment variable aliases (_NAME suffix) ([#2791](https://github.com/Applitools-Dev/sdk/issues/2791)) ([67501a4](https://github.com/Applitools-Dev/sdk/commit/67501a4f5491319ca62949a56ee03face08a59e5))
|
|
24
|
+
* support test concurrency in offline mode ([#2831](https://github.com/Applitools-Dev/sdk/issues/2831)) ([3b7d137](https://github.com/Applitools-Dev/sdk/commit/3b7d137a9b34bb5c564e0a5c7d3fb2520ef8a167))
|
|
25
|
+
* @applitools/eyes bumped to 1.32.6
|
|
26
|
+
|
|
27
|
+
|
|
3
28
|
## [1.25.20](https://github.com/Applitools-Dev/sdk/compare/js/eyes-nightwatch-v1.25.19...js/eyes-nightwatch@1.25.20) (2025-01-30)
|
|
4
29
|
|
|
5
30
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/eyes-nightwatch",
|
|
3
|
-
"version": "1.25.
|
|
3
|
+
"version": "1.25.22",
|
|
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.1
|
|
49
|
-
"@applitools/utils": "1.
|
|
46
|
+
"@applitools/driver": "1.21.0",
|
|
47
|
+
"@applitools/eyes": "1.33.2",
|
|
48
|
+
"@applitools/spec-driver-webdriver": "1.2.1",
|
|
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>;
|
|
@@ -214,6 +215,7 @@ export type CheckSettingsImagePlain = {
|
|
|
214
215
|
pageId?: undefined | string;
|
|
215
216
|
variationGroupId?: undefined | string;
|
|
216
217
|
densityMetrics?: undefined | { scaleRatio?: undefined | number; xdpi?: undefined | number; ydpi?: undefined | number; };
|
|
218
|
+
stitchMode?: undefined | StitchModePlain;
|
|
217
219
|
};
|
|
218
220
|
export type CheckSettingsAutomationPlain = {
|
|
219
221
|
name?: undefined | string;
|
|
@@ -258,6 +260,7 @@ export type CheckSettingsAutomationPlain = {
|
|
|
258
260
|
pageId?: undefined | string;
|
|
259
261
|
variationGroupId?: undefined | string;
|
|
260
262
|
densityMetrics?: undefined | { scaleRatio?: undefined | number; xdpi?: undefined | number; ydpi?: undefined | number; };
|
|
263
|
+
stitchMode?: undefined | StitchModePlain;
|
|
261
264
|
frames?: undefined | Array<{ frame: number | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; })); scrollRootElement?: undefined | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; })); } | (number | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; })))>;
|
|
262
265
|
webview?: undefined | string | boolean;
|
|
263
266
|
scrollRootElement?: undefined | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; }));
|
|
@@ -270,7 +273,7 @@ export type CheckSettingsAutomationPlain = {
|
|
|
270
273
|
useSystemScreenshot?: undefined | boolean;
|
|
271
274
|
hooks?: undefined | { beforeCaptureScreenshot: string; };
|
|
272
275
|
timeout?: undefined | number;
|
|
273
|
-
waitBeforeCapture?: undefined | number;
|
|
276
|
+
waitBeforeCapture?: undefined | number | (() => Promise<void>);
|
|
274
277
|
lazyLoad?: undefined | boolean | { scrollLength?: undefined | number; waitingTime?: undefined | number; maxAmountToScroll?: undefined | number; };
|
|
275
278
|
};
|
|
276
279
|
export class CheckSettingsAutomation {
|
|
@@ -306,9 +309,11 @@ export class CheckSettingsAutomation {
|
|
|
306
309
|
useSystemScreenshot(useSystemScreenshot?: undefined | boolean): CheckSettingsAutomation;
|
|
307
310
|
timeout(timeout: number): CheckSettingsAutomation;
|
|
308
311
|
waitBeforeCapture(waitBeforeCapture: number): CheckSettingsAutomation;
|
|
312
|
+
waitBeforeCapture(waitBeforeCapture: (() => Promise<void>)): CheckSettingsAutomation;
|
|
309
313
|
lazyLoad(options?: undefined | boolean): CheckSettingsAutomation;
|
|
310
314
|
lazyLoad(options?: undefined | { scrollLength?: undefined | number; waitingTime?: undefined | number; maxAmountToScroll?: undefined | number; }): CheckSettingsAutomation;
|
|
311
315
|
densityMetrics(options: { scaleRatio?: undefined | number; xdpi?: undefined | number; ydpi?: undefined | number; }): CheckSettingsAutomation;
|
|
316
|
+
stitchMode(stitchMode: StitchModePlain): CheckSettingsAutomation;
|
|
312
317
|
name(name: string): CheckSettingsAutomation;
|
|
313
318
|
withName(name: string): CheckSettingsAutomation;
|
|
314
319
|
ignoreRegion(region: (RegionPlain | LegacyRegionPlain | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; })))): CheckSettingsAutomation;
|
|
@@ -479,6 +484,7 @@ export type ConfigurationPlain = {
|
|
|
479
484
|
enablePatterns?: undefined | boolean;
|
|
480
485
|
environmentName?: undefined | string;
|
|
481
486
|
forceFullPageScreenshot?: undefined | boolean;
|
|
487
|
+
fully?: undefined | boolean;
|
|
482
488
|
gitMergeBaseTimestamp?: undefined | string;
|
|
483
489
|
latestCommitInfo?: undefined | { timestamp: string; sha: string; };
|
|
484
490
|
hideCaret?: undefined | boolean;
|
|
@@ -515,7 +521,7 @@ export type ConfigurationPlain = {
|
|
|
515
521
|
useDom?: undefined | boolean;
|
|
516
522
|
viewportSize?: undefined | RectangleSizePlain;
|
|
517
523
|
visualGridOptions?: undefined | Record<string, any>;
|
|
518
|
-
waitBeforeCapture?: undefined | number;
|
|
524
|
+
waitBeforeCapture?: undefined | number | (() => Promise<void>);
|
|
519
525
|
waitBeforeScreenshots?: undefined | number;
|
|
520
526
|
};
|
|
521
527
|
export class Configuration implements Required<ConfigurationPlain> {
|
|
@@ -805,14 +811,19 @@ export class Configuration implements Required<ConfigurationPlain> {
|
|
|
805
811
|
getVisualGridOptions(): { [key: string]: any; };
|
|
806
812
|
setVisualGridOptions(visualGridOptions: { [key: string]: any; }): Configuration;
|
|
807
813
|
setVisualGridOption(key: string, value: any): Configuration;
|
|
808
|
-
get waitBeforeCapture(): number;
|
|
809
|
-
set waitBeforeCapture(waitBeforeCapture: number);
|
|
810
|
-
getWaitBeforeCapture(): number;
|
|
814
|
+
get waitBeforeCapture(): number | (() => Promise<void>);
|
|
815
|
+
set waitBeforeCapture(waitBeforeCapture: number | (() => Promise<void>));
|
|
816
|
+
getWaitBeforeCapture(): number | (() => Promise<void>);
|
|
811
817
|
setWaitBeforeCapture(waitBeforeCapture: number): Configuration;
|
|
818
|
+
setWaitBeforeCapture(waitBeforeCapture: (() => Promise<void>)): Configuration;
|
|
812
819
|
get waitBeforeScreenshots(): number;
|
|
813
820
|
set waitBeforeScreenshots(waitBeforeScreenshots: number);
|
|
814
821
|
getWaitBeforeScreenshots(): number;
|
|
815
822
|
setWaitBeforeScreenshots(waitBeforeScreenshots: number): Configuration;
|
|
823
|
+
get fully(): boolean;
|
|
824
|
+
set fully(fully: boolean);
|
|
825
|
+
getFully(): boolean;
|
|
826
|
+
setFully(fully: boolean): Configuration;
|
|
816
827
|
}
|
|
817
828
|
export class BatchClose {
|
|
818
829
|
static close(settings: { batchIds: Array<string>; serverUrl: string; apiKey: string; proxy?: undefined | ProxySettingsPlain; }): Promise<void>;
|