@applitools/eyes-nightwatch 1.16.4 → 1.16.5
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 +63 -0
- package/package.json +6 -6
- package/types/index.d.ts +24 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,68 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.16.5](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-nightwatch@1.16.4...js/eyes-nightwatch@1.16.5) (2023-09-04)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Dependencies
|
|
7
|
+
|
|
8
|
+
* @applitools/utils bumped to 1.6.0
|
|
9
|
+
#### Features
|
|
10
|
+
|
|
11
|
+
* add support for fallback in `req` ([#1899](https://github.com/applitools/eyes.sdk.javascript1/issues/1899)) ([d69c4b5](https://github.com/applitools/eyes.sdk.javascript1/commit/d69c4b5830370c471dfc25b6e2caddca8b458df9))
|
|
12
|
+
* @applitools/socket bumped to 1.1.10
|
|
13
|
+
|
|
14
|
+
* @applitools/req bumped to 1.6.0
|
|
15
|
+
#### Features
|
|
16
|
+
|
|
17
|
+
* add support for fallback in `req` ([#1899](https://github.com/applitools/eyes.sdk.javascript1/issues/1899)) ([d69c4b5](https://github.com/applitools/eyes.sdk.javascript1/commit/d69c4b5830370c471dfc25b6e2caddca8b458df9))
|
|
18
|
+
* update testcafe ([#1884](https://github.com/applitools/eyes.sdk.javascript1/issues/1884)) ([104f1b6](https://github.com/applitools/eyes.sdk.javascript1/commit/104f1b6cc0d4f107ba46404383de2fa11fe99dcf))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
* @applitools/image bumped to 1.1.5
|
|
23
|
+
|
|
24
|
+
* @applitools/spec-driver-webdriver bumped to 1.0.44
|
|
25
|
+
|
|
26
|
+
* @applitools/spec-driver-selenium bumped to 1.5.58
|
|
27
|
+
|
|
28
|
+
* @applitools/spec-driver-puppeteer bumped to 1.2.0
|
|
29
|
+
#### Features
|
|
30
|
+
|
|
31
|
+
* update testcafe ([#1884](https://github.com/applitools/eyes.sdk.javascript1/issues/1884)) ([104f1b6](https://github.com/applitools/eyes.sdk.javascript1/commit/104f1b6cc0d4f107ba46404383de2fa11fe99dcf))
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
* @applitools/ufg-client bumped to 1.8.0
|
|
36
|
+
#### Features
|
|
37
|
+
|
|
38
|
+
* add support for fallback in `req` ([#1899](https://github.com/applitools/eyes.sdk.javascript1/issues/1899)) ([d69c4b5](https://github.com/applitools/eyes.sdk.javascript1/commit/d69c4b5830370c471dfc25b6e2caddca8b458df9))
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
* @applitools/logger bumped to 2.0.10
|
|
43
|
+
|
|
44
|
+
* @applitools/driver bumped to 1.14.0
|
|
45
|
+
#### Features
|
|
46
|
+
|
|
47
|
+
* update testcafe ([#1884](https://github.com/applitools/eyes.sdk.javascript1/issues/1884)) ([104f1b6](https://github.com/applitools/eyes.sdk.javascript1/commit/104f1b6cc0d4f107ba46404383de2fa11fe99dcf))
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
* @applitools/screenshoter bumped to 3.8.10
|
|
52
|
+
|
|
53
|
+
* @applitools/nml-client bumped to 1.5.10
|
|
54
|
+
|
|
55
|
+
* @applitools/tunnel-client bumped to 1.2.2
|
|
56
|
+
|
|
57
|
+
* @applitools/ec-client bumped to 1.7.7
|
|
58
|
+
|
|
59
|
+
* @applitools/core-base bumped to 1.5.3
|
|
60
|
+
|
|
61
|
+
* @applitools/core bumped to 3.10.1
|
|
62
|
+
|
|
63
|
+
* @applitools/eyes bumped to 1.8.1
|
|
64
|
+
|
|
65
|
+
|
|
3
66
|
## [1.16.4](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-nightwatch@1.16.3...js/eyes-nightwatch@1.16.4) (2023-08-30)
|
|
4
67
|
|
|
5
68
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/eyes-nightwatch",
|
|
3
|
-
"version": "1.16.
|
|
3
|
+
"version": "1.16.5",
|
|
4
4
|
"description": "Applitools Eyes SDK for Nightwatch.js",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eyes-nightwatch",
|
|
@@ -51,14 +51,14 @@
|
|
|
51
51
|
"up:framework": "yarn add --dev --caret nightwatch${APPLITOOLS_FRAMEWORK_VERSION:+@$APPLITOOLS_FRAMEWORK_VERSION}"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@applitools/driver": "1.
|
|
55
|
-
"@applitools/eyes": "1.8.
|
|
56
|
-
"@applitools/spec-driver-webdriver": "1.0.
|
|
57
|
-
"@applitools/utils": "1.
|
|
54
|
+
"@applitools/driver": "1.14.0",
|
|
55
|
+
"@applitools/eyes": "1.8.1",
|
|
56
|
+
"@applitools/spec-driver-webdriver": "1.0.44",
|
|
57
|
+
"@applitools/utils": "1.6.0",
|
|
58
58
|
"webdriver": "7.31.1"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@applitools/api-extractor": "^1.2.
|
|
61
|
+
"@applitools/api-extractor": "^1.2.22",
|
|
62
62
|
"@applitools/bongo": "^5.6.1",
|
|
63
63
|
"@applitools/generic": "^3.3.10",
|
|
64
64
|
"@applitools/test-utils": "^1.5.17",
|
package/types/index.d.ts
CHANGED
|
@@ -357,7 +357,21 @@ export type TargetAutomation = {
|
|
|
357
357
|
webview(webview?: undefined | string): CheckSettingsAutomation;
|
|
358
358
|
webview(webview?: undefined | boolean): CheckSettingsAutomation;
|
|
359
359
|
};
|
|
360
|
+
export const TargetAutomation: {
|
|
361
|
+
window(): CheckSettingsAutomation;
|
|
362
|
+
region(region: (RegionPlain | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; })))): CheckSettingsAutomation;
|
|
363
|
+
region(region: LegacyRegionPlain): CheckSettingsAutomation;
|
|
364
|
+
frame(context: { 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>; })); }): CheckSettingsAutomation;
|
|
365
|
+
frame(frame: number, scrollRootElement?: undefined | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; }))): CheckSettingsAutomation;
|
|
366
|
+
frame(frame: (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>; }))): CheckSettingsAutomation;
|
|
367
|
+
shadow(selector: string): CheckSettingsAutomation;
|
|
368
|
+
shadow(selector: Selector): CheckSettingsAutomation;
|
|
369
|
+
shadow(selector: { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; }): CheckSettingsAutomation;
|
|
370
|
+
webview(webview?: undefined | string): CheckSettingsAutomation;
|
|
371
|
+
webview(webview?: undefined | boolean): CheckSettingsAutomation;
|
|
372
|
+
};
|
|
360
373
|
export type Target = TargetImage & TargetAutomation;
|
|
374
|
+
export const Target: TargetImage & TargetAutomation;
|
|
361
375
|
export type OCRRegion = { target: Element | RegionPlain | EyesSelector<Selector>; hint?: undefined | string; minMatch?: undefined | number; language?: undefined | string; };
|
|
362
376
|
export type ConfigurationPlain = {
|
|
363
377
|
debugScreenshots?: undefined | { save: boolean; path?: undefined | string; prefix?: undefined | string; };
|
|
@@ -1178,6 +1192,16 @@ export type TargetImage = {
|
|
|
1178
1192
|
url(imageUrl: string): CheckSettingsImage;
|
|
1179
1193
|
url(imageUrl: URL): CheckSettingsImage;
|
|
1180
1194
|
};
|
|
1195
|
+
export const TargetImage: {
|
|
1196
|
+
image(image: string): CheckSettingsImage;
|
|
1197
|
+
image(image: Buffer): CheckSettingsImage;
|
|
1198
|
+
image(image: URL): CheckSettingsImage;
|
|
1199
|
+
buffer(imageBuffer: Buffer): CheckSettingsImage;
|
|
1200
|
+
base64(imageBase64: string): CheckSettingsImage;
|
|
1201
|
+
path(imagePath: string): CheckSettingsImage;
|
|
1202
|
+
url(imageUrl: string): CheckSettingsImage;
|
|
1203
|
+
url(imageUrl: URL): CheckSettingsImage;
|
|
1204
|
+
};
|
|
1181
1205
|
export type CutProviderPlain = { top: number; right: number; bottom: number; left: number; } | { x: number; y: number; width: number; height: number; };
|
|
1182
1206
|
export class CutProvider implements Required<{
|
|
1183
1207
|
x: number;
|