@applitools/eyes-selenium 4.58.3 → 4.59.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 +37 -0
- package/README.md +57 -0
- package/dist/api.js +5 -1
- package/dist/index.js +5 -1
- package/dist/spec-driver.js +5 -1
- package/package.json +24 -28
- package/types/index.d.ts +99 -24
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,43 @@
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
5
|
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
## 4.59.0 - 2022/6/1
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
- Dorp support for Node.js versions <=12
|
|
13
|
+
### Bug fixes
|
|
14
|
+
- Fixed incorrect calculation of coded regions in classic mode when using CSS stitching
|
|
15
|
+
|
|
16
|
+
## 4.58.5 - 2022/5/27
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
- Support iPhone SE `IosDeviceName.iPhone_SE` and iPhone 8 Plus `IosDeviceName.iPhone_8_Plus` iOS devices
|
|
20
|
+
- Support Galaxy S22 `DeviceName.Galaxy_S22` emulation device
|
|
21
|
+
- Added support for drivers that return screenshots in jpeg format
|
|
22
|
+
### Bug fixes
|
|
23
|
+
- Fixed check region fully in classic execution when using CSS stitching
|
|
24
|
+
- Fixed handling of navigation bar size on various devices
|
|
25
|
+
- Fixed bug in native apps when screenshot of the element was taken only for the small visible part of the element
|
|
26
|
+
- Fixed bug when navigation bar was presented in screenshot on Android 12
|
|
27
|
+
- Fixed `CheckSetting`'s `fully` being overridden by `Configuration`'s `forceFullPageScreenshot`
|
|
28
|
+
- Set EyesExceptions (such as new test, diffs exception and failed test exception) to exception property in TestResultsSummary
|
|
29
|
+
- Improve error message when failed to set viewport size
|
|
30
|
+
|
|
31
|
+
## 4.58.4 - 2022/4/14
|
|
32
|
+
|
|
33
|
+
### Features
|
|
34
|
+
- Support UFG for native mobile
|
|
35
|
+
- `runner.getAllTestResults` returns the corresponding UFG browser/device configuration for each test. This is available as `runner.getAllTestResults()[i].browserInfo`.
|
|
36
|
+
### Bug fixes
|
|
37
|
+
- `extractText` now supports regions that don't use hints while using `x`/`y` coordinates
|
|
38
|
+
- accept ios and android lowercase as driver platformName capability when using custom grid
|
|
39
|
+
- when running on a native iOS app, allow capturing NavigationBar and TabBar regions
|
|
40
|
+
- When running a native app on Android, in case we test a device in landscape mode, make sure to account for the navigation bar on the left or right and not at the bottom of the image. Also account for an Appium bug when calculating system bars height.
|
|
41
|
+
- Support data urls in iframes
|
|
42
|
+
|
|
6
43
|
## 4.58.3 - 2022/1/12
|
|
7
44
|
|
|
8
45
|
- fix bugs
|
package/README.md
CHANGED
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
* [Purpose of runners](#purpose-of-runners)
|
|
37
37
|
+ [1. Use the Ultrafast grid](#1-use-the-ultra-fast-grid)
|
|
38
38
|
+ [2. Manage tests across multiple `Eyes` instances](#2-manage-tests-across-multiple-eyes-instances)
|
|
39
|
+
- [Visual locators](#visual-locators)
|
|
39
40
|
- [Recipes for common tasks](#recipes-for-common-tasks)
|
|
40
41
|
* [Configure Server URL](#configure-server-url)
|
|
41
42
|
* [Configure Proxy](#configure-proxy)
|
|
@@ -536,6 +537,62 @@ concurrent sessions ???
|
|
|
536
537
|
add browsers
|
|
537
538
|
-->
|
|
538
539
|
|
|
540
|
+
## Visual locators
|
|
541
|
+
|
|
542
|
+
Information about what are visual locators and how to use them can be found in the documentation page [here](https://applitools.com/docs/features/visual-locators.html).
|
|
543
|
+
|
|
544
|
+
The API to locate a visual locator in Eyes-Selenium has the following TypeScript signature:
|
|
545
|
+
|
|
546
|
+
```ts
|
|
547
|
+
// Note: This is a formal TypeScript definition.
|
|
548
|
+
// The reason we use the generic type TLocator here is that is shows how the return value of eyes.locate is an object
|
|
549
|
+
// with the same keys as the array of locatorNames in the input to eyes.locate.
|
|
550
|
+
// We explain this in more detail in the example below.
|
|
551
|
+
|
|
552
|
+
interface Eyes {
|
|
553
|
+
locate<TLocator extends string>(settings: VisualLocatorSettings<TLocator>): Promise<Record<TLocator, Array<Region>>>
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
interface VisualLocatorSettings<TLocator extends string> {
|
|
557
|
+
locatorNames: Array<TLocator>;
|
|
558
|
+
firstOnly: boolean;
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
interface Region {
|
|
562
|
+
x: number;
|
|
563
|
+
y: number;
|
|
564
|
+
width: number;
|
|
565
|
+
height: number;
|
|
566
|
+
}
|
|
567
|
+
```
|
|
568
|
+
|
|
569
|
+
Here is an example for using this API:
|
|
570
|
+
|
|
571
|
+
```js
|
|
572
|
+
// first need to call eyes.open
|
|
573
|
+
await eyes.open(driver, 'Test app', 'Test visual locators')
|
|
574
|
+
|
|
575
|
+
// example for using eyes.locate
|
|
576
|
+
const regionsMap = await eyes.locate({
|
|
577
|
+
locatorNames: ['locator_a', 'locator_b', 'locator_c'],
|
|
578
|
+
})
|
|
579
|
+
|
|
580
|
+
// now get the coordinates of one of the locators
|
|
581
|
+
const regionsForLocator_A = regionsMap['locator_a']
|
|
582
|
+
|
|
583
|
+
// if region is found, perform press at the middle
|
|
584
|
+
if (regionsForLocator_A && regionsForLocator_A.length > 0) {
|
|
585
|
+
const region = regionsForLocator_A[0]
|
|
586
|
+
const clickLocation = {
|
|
587
|
+
x: region.left + region.width / 2,
|
|
588
|
+
y: region.top + region.height / 2,
|
|
589
|
+
}
|
|
590
|
+
await driver.actions({ bridge: true }).move(clickLocation).click().perform()
|
|
591
|
+
}
|
|
592
|
+
```
|
|
593
|
+
|
|
594
|
+
###
|
|
595
|
+
|
|
539
596
|
## Recipes for common tasks
|
|
540
597
|
|
|
541
598
|
### Configure Server URL
|
package/dist/api.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
package/dist/spec-driver.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/eyes-selenium",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.59.0",
|
|
4
4
|
"description": "Applitools Eyes SDK for Selenium WebDriver",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eyes-selenium",
|
|
@@ -33,11 +33,6 @@
|
|
|
33
33
|
},
|
|
34
34
|
"main": "./dist/index.js",
|
|
35
35
|
"types": "./types/index.d.ts",
|
|
36
|
-
"directories": {
|
|
37
|
-
"lib": "./lib",
|
|
38
|
-
"example": "./example",
|
|
39
|
-
"test": "./test"
|
|
40
|
-
},
|
|
41
36
|
"files": [
|
|
42
37
|
"dist",
|
|
43
38
|
"types"
|
|
@@ -55,9 +50,9 @@
|
|
|
55
50
|
"upgrade:framework": "if [ ! -z $APPLITOOLS_SELENIUM_MAJOR_VERSION ]; then packagejson=`cat package.json`; yarn upgrade --no-lockfile selenium-webdriver@$APPLITOOLS_SELENIUM_MAJOR_VERSION; echo \"$packagejson\" > package.json; fi",
|
|
56
51
|
"deps": "bongo deps",
|
|
57
52
|
"gh:test": "gh workflow run test.yml --ref $(git rev-parse --abbrev-ref HEAD) -f packages='selenium selenium@3' -f links='types test-utils sdk-shared eyes-sdk-core visual-grid-client eyes-api spec-driver-selenium utils driver snippets screenshoter' -f linking-depth=3",
|
|
58
|
-
"gh:publish": "gh workflow run publish.yml --ref $(git rev-parse --abbrev-ref HEAD)
|
|
59
|
-
"preversion": "bongo preversion && yarn build",
|
|
60
|
-
"version": "bongo version",
|
|
53
|
+
"gh:publish": "gh workflow run publish-selenium.yml --ref $(git rev-parse --abbrev-ref HEAD)",
|
|
54
|
+
"preversion": "bongo preversion --verifyPendingChanges && yarn build",
|
|
55
|
+
"version": "bongo version --withPendingChanges",
|
|
61
56
|
"postversion": "bongo postversion"
|
|
62
57
|
},
|
|
63
58
|
"husky": {
|
|
@@ -66,39 +61,40 @@
|
|
|
66
61
|
}
|
|
67
62
|
},
|
|
68
63
|
"dependencies": {
|
|
69
|
-
"@applitools/eyes-api": "1.
|
|
70
|
-
"@applitools/eyes-sdk-core": "
|
|
71
|
-
"@applitools/spec-driver-selenium": "1.3.
|
|
72
|
-
"@applitools/visual-grid-client": "15.
|
|
64
|
+
"@applitools/eyes-api": "1.5.0",
|
|
65
|
+
"@applitools/eyes-sdk-core": "13.6.25",
|
|
66
|
+
"@applitools/spec-driver-selenium": "1.3.7",
|
|
67
|
+
"@applitools/visual-grid-client": "15.12.36"
|
|
73
68
|
},
|
|
74
69
|
"devDependencies": {
|
|
75
|
-
"@applitools/api-extractor": "1.2.
|
|
70
|
+
"@applitools/api-extractor": "1.2.8",
|
|
71
|
+
"@applitools/bongo": "^2.1.1",
|
|
76
72
|
"@applitools/scripts": "1.1.0",
|
|
77
73
|
"@applitools/sdk-coverage-tests": "2.3.18",
|
|
78
|
-
"@applitools/sdk-release-kit": "0.13.10",
|
|
79
74
|
"@applitools/sdk-shared": "0.9.11",
|
|
80
|
-
"@applitools/test-utils": "1.
|
|
81
|
-
"@types/
|
|
82
|
-
"@
|
|
83
|
-
"@typescript-eslint/
|
|
75
|
+
"@applitools/test-utils": "1.3.2",
|
|
76
|
+
"@types/node": "12",
|
|
77
|
+
"@types/selenium-webdriver": "^4.1.1",
|
|
78
|
+
"@typescript-eslint/eslint-plugin": "^5.27.0",
|
|
79
|
+
"@typescript-eslint/parser": "^5.27.0",
|
|
84
80
|
"chromedriver": "^87.0.4",
|
|
85
|
-
"eslint": "^
|
|
86
|
-
"eslint-config-prettier": "^
|
|
81
|
+
"eslint": "^8.16.0",
|
|
82
|
+
"eslint-config-prettier": "^8.5.0",
|
|
87
83
|
"eslint-plugin-mocha-no-only": "^1.1.1",
|
|
88
84
|
"eslint-plugin-node": "^11.1.0",
|
|
89
|
-
"eslint-plugin-prettier": "^
|
|
85
|
+
"eslint-plugin-prettier": "^4.0.0",
|
|
90
86
|
"husky": "^4.3.8",
|
|
91
|
-
"mocha": "^
|
|
92
|
-
"prettier": "^2.
|
|
93
|
-
"selenium-webdriver": "^4.
|
|
87
|
+
"mocha": "^10.0.0",
|
|
88
|
+
"prettier": "^2.6.2",
|
|
89
|
+
"selenium-webdriver": "^4.2.0",
|
|
94
90
|
"spec-xunit-file": "0.0.1-3",
|
|
95
|
-
"ttypescript": "^1.5.
|
|
96
|
-
"typescript": "^4.
|
|
91
|
+
"ttypescript": "^1.5.13",
|
|
92
|
+
"typescript": "^4.7.2"
|
|
97
93
|
},
|
|
98
94
|
"peerDependencies": {
|
|
99
95
|
"selenium-webdriver": ">=3.6.0"
|
|
100
96
|
},
|
|
101
97
|
"engines": {
|
|
102
|
-
"node": ">=
|
|
98
|
+
"node": ">=12.13.0"
|
|
103
99
|
}
|
|
104
100
|
}
|
package/types/index.d.ts
CHANGED
|
@@ -142,6 +142,7 @@ export type ConfigurationPlain = {
|
|
|
142
142
|
apiKey?: string;
|
|
143
143
|
serverUrl?: string;
|
|
144
144
|
proxy?: ProxySettingsPlain;
|
|
145
|
+
autProxy?: { proxy: { url: string; username?: string; password?: string; isHttpOnly?: boolean; }; domains?: Array<string>; AUTProxyMode?: "Allow" | "Block"; };
|
|
145
146
|
isDisabled?: boolean;
|
|
146
147
|
connectionTimeout?: number;
|
|
147
148
|
removeSession?: boolean;
|
|
@@ -166,6 +167,7 @@ export type ConfigurationPlain = {
|
|
|
166
167
|
baselineBranchName?: string;
|
|
167
168
|
compareWithParentBranch?: boolean;
|
|
168
169
|
ignoreBaseline?: boolean;
|
|
170
|
+
ignoreGitMergeBase?: boolean;
|
|
169
171
|
saveFailedTests?: boolean;
|
|
170
172
|
saveNewTests?: boolean;
|
|
171
173
|
saveDiffs?: boolean;
|
|
@@ -251,6 +253,10 @@ export class Configuration implements Required<ConfigurationPlain> {
|
|
|
251
253
|
setProxy(proxy: ProxySettingsPlain): Configuration;
|
|
252
254
|
setProxy(url: string, username?: string, password?: string, isHttpOnly?: boolean): Configuration;
|
|
253
255
|
setProxy(isEnabled: false): Configuration;
|
|
256
|
+
get autProxy(): { proxy: { url: string; username?: string; password?: string; isHttpOnly?: boolean; }; domains?: Array<string>; AUTProxyMode?: "Allow" | "Block"; };
|
|
257
|
+
set autProxy(autProxy: { proxy: { url: string; username?: string; password?: string; isHttpOnly?: boolean; }; domains?: Array<string>; AUTProxyMode?: "Allow" | "Block"; });
|
|
258
|
+
getAutProxy(): { proxy: { url: string; username?: string; password?: string; isHttpOnly?: boolean; }; domains?: Array<string>; AUTProxyMode?: "Allow" | "Block"; };
|
|
259
|
+
setAutProxy(autProxy: { proxy: { url: string; username?: string; password?: string; isHttpOnly?: boolean; }; domains?: Array<string>; AUTProxyMode?: "Allow" | "Block"; }): Configuration;
|
|
254
260
|
get connectionTimeout(): number;
|
|
255
261
|
set connectionTimeout(connectionTimeout: number);
|
|
256
262
|
getConnectionTimeout(): number;
|
|
@@ -298,6 +304,10 @@ export class Configuration implements Required<ConfigurationPlain> {
|
|
|
298
304
|
set compareWithParentBranch(compareWithParentBranch: boolean);
|
|
299
305
|
getCompareWithParentBranch(): boolean;
|
|
300
306
|
setCompareWithParentBranch(compareWithParentBranch: boolean): Configuration;
|
|
307
|
+
get ignoreGitMergeBase(): boolean;
|
|
308
|
+
set ignoreGitMergeBase(ignoreGitMergeBase: boolean);
|
|
309
|
+
getIgnoreGitMergeBase(): boolean;
|
|
310
|
+
setIgnoreGitMergeBase(ignoreGitMergeBase: boolean): Configuration;
|
|
301
311
|
get ignoreBaseline(): boolean;
|
|
302
312
|
set ignoreBaseline(ignoreBaseline: boolean);
|
|
303
313
|
getIgnoreBaseline(): boolean;
|
|
@@ -404,10 +414,10 @@ export class Configuration implements Required<ConfigurationPlain> {
|
|
|
404
414
|
setConcurrentSessions(concurrentSessions: number): Configuration;
|
|
405
415
|
get browsersInfo(): Array<DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo>;
|
|
406
416
|
set browsersInfo(browsersInfo: Array<DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo>);
|
|
407
|
-
getBrowsersInfo(): Array<DesktopBrowserInfo | ChromeEmulationInfo |
|
|
408
|
-
setBrowsersInfo(browsersInfo: Array<DesktopBrowserInfo | ChromeEmulationInfo |
|
|
409
|
-
addBrowsers(...browsersInfo: Array<DesktopBrowserInfo | ChromeEmulationInfo |
|
|
410
|
-
addBrowser(browserInfo: DesktopBrowserInfo | ChromeEmulationInfo |
|
|
417
|
+
getBrowsersInfo(): Array<DesktopBrowserInfo | ChromeEmulationInfo | { deviceName: DeviceNamePlain; screenOrientation?: ScreenOrientationPlain; } | IOSDeviceInfo>;
|
|
418
|
+
setBrowsersInfo(browsersInfo: Array<DesktopBrowserInfo | ChromeEmulationInfo | { deviceName: DeviceNamePlain; screenOrientation?: ScreenOrientationPlain; } | IOSDeviceInfo>): Configuration;
|
|
419
|
+
addBrowsers(...browsersInfo: Array<DesktopBrowserInfo | ChromeEmulationInfo | { deviceName: DeviceNamePlain; screenOrientation?: ScreenOrientationPlain; } | IOSDeviceInfo>): Configuration;
|
|
420
|
+
addBrowser(browserInfo: DesktopBrowserInfo | ChromeEmulationInfo | { deviceName: DeviceNamePlain; screenOrientation?: ScreenOrientationPlain; } | IOSDeviceInfo): Configuration;
|
|
411
421
|
addBrowser(width: number, height: number, name?: BrowserTypePlain): Configuration;
|
|
412
422
|
addDeviceEmulation(deviceName: DeviceNamePlain, screenOrientation?: ScreenOrientationPlain): Configuration;
|
|
413
423
|
get visualGridOptions(): { [key: string]: any; };
|
|
@@ -458,6 +468,7 @@ export type CheckSettingsPlain = {
|
|
|
458
468
|
visualGridOptions?: { [key: string]: any; };
|
|
459
469
|
hooks?: { beforeCaptureScreenshot: string; };
|
|
460
470
|
renderId?: string;
|
|
471
|
+
pageId?: string;
|
|
461
472
|
variationGroupId?: string;
|
|
462
473
|
timeout?: number;
|
|
463
474
|
waitBeforeCapture?: number;
|
|
@@ -537,6 +548,7 @@ export class CheckSettings {
|
|
|
537
548
|
visualGridOption(key: string, value: any): CheckSettings;
|
|
538
549
|
visualGridOptions(options: { [key: string]: any; }): CheckSettings;
|
|
539
550
|
renderId(renderId: string): CheckSettings;
|
|
551
|
+
pageId(pageId: string): CheckSettings;
|
|
540
552
|
variationGroupId(variationGroupId: string): CheckSettings;
|
|
541
553
|
timeout(timeout: number): CheckSettings;
|
|
542
554
|
waitBeforeCapture(waitBeforeCapture: number): CheckSettings;
|
|
@@ -606,7 +618,7 @@ export enum CorsIframeHandle {
|
|
|
606
618
|
KEEP = 'KEEP',
|
|
607
619
|
SNAPSHOT = 'SNAPSHOT'
|
|
608
620
|
}
|
|
609
|
-
export type DeviceNamePlain = "Blackberry PlayBook" | "BlackBerry Z30" | "Galaxy A5" | "Galaxy Note 10" | "Galaxy Note 10 Plus" | "Galaxy Note 2" | "Galaxy Note 3" | "Galaxy Note 4" | "Galaxy Note 8" | "Galaxy Note 9" | "Galaxy S3" | "Galaxy S5" | "Galaxy S8" | "Galaxy S8 Plus" | "Galaxy S9" | "Galaxy S9 Plus" | "Galaxy S10" | "Galaxy S10 Plus" | "Galaxy S20" | "iPad" | "iPad 6th Gen" | "iPad 7th Gen" | "iPad Air 2" | "iPad Mini" | "iPad Pro" | "iPhone 11" | "iPhone 11 Pro" | "iPhone 11 Pro Max" | "iPhone 4" | "iPhone 5/SE" | "iPhone 6/7/8" | "iPhone 6/7/8 Plus" | "iPhone X" | "iPhone XR" | "iPhone XS" | "iPhone XS Max" | "Kindle Fire HDX" | "Laptop with HiDPI screen" | "Laptop with MDPI screen" | "Laptop with touch" | "LG G6" | "LG Optimus L70" | "Microsoft Lumia 550" | "Microsoft Lumia 950" | "Nexus 10" | "Nexus 4" | "Nexus 5" | "Nexus 5X" | "Nexus 6" | "Nexus 6P" | "Nexus 7" | "Nokia Lumia 520" | "Nokia N9" | "OnePlus 7T" | "OnePlus 7T Pro" | "Pixel 2" | "Pixel 2 XL" | "Pixel 3" | "Pixel 3 XL" | "Pixel 4" | "Pixel 4 XL" | "Pixel 5";
|
|
621
|
+
export type DeviceNamePlain = "Blackberry PlayBook" | "BlackBerry Z30" | "Galaxy A5" | "Galaxy Note 10" | "Galaxy Note 10 Plus" | "Galaxy Note 2" | "Galaxy Note 3" | "Galaxy Note 4" | "Galaxy Note 8" | "Galaxy Note 9" | "Galaxy S3" | "Galaxy S5" | "Galaxy S8" | "Galaxy S8 Plus" | "Galaxy S9" | "Galaxy S9 Plus" | "Galaxy S10" | "Galaxy S10 Plus" | "Galaxy S20" | "Galaxy S22" | "Galaxy Tab S7" | "iPad" | "iPad 6th Gen" | "iPad 7th Gen" | "iPad Air 2" | "iPad Mini" | "iPad Pro" | "iPhone 11" | "iPhone 11 Pro" | "iPhone 11 Pro Max" | "iPhone 4" | "iPhone 5/SE" | "iPhone 6/7/8" | "iPhone 6/7/8 Plus" | "iPhone X" | "iPhone XR" | "iPhone XS" | "iPhone XS Max" | "Kindle Fire HDX" | "Laptop with HiDPI screen" | "Laptop with MDPI screen" | "Laptop with touch" | "LG G6" | "LG Optimus L70" | "Microsoft Lumia 550" | "Microsoft Lumia 950" | "Nexus 10" | "Nexus 4" | "Nexus 5" | "Nexus 5X" | "Nexus 6" | "Nexus 6P" | "Nexus 7" | "Nokia Lumia 520" | "Nokia N9" | "OnePlus 7T" | "OnePlus 7T Pro" | "Pixel 2" | "Pixel 2 XL" | "Pixel 3" | "Pixel 3 XL" | "Pixel 4" | "Pixel 4 XL" | "Pixel 5";
|
|
610
622
|
export enum DeviceName {
|
|
611
623
|
Blackberry_PlayBook = 'Blackberry PlayBook',
|
|
612
624
|
BlackBerry_Z30 = 'BlackBerry Z30',
|
|
@@ -627,6 +639,8 @@ export enum DeviceName {
|
|
|
627
639
|
Galaxy_S10 = 'Galaxy S10',
|
|
628
640
|
Galaxy_S10_Plus = 'Galaxy S10 Plus',
|
|
629
641
|
Galaxy_S20 = 'Galaxy S20',
|
|
642
|
+
Galaxy_S22 = 'Galaxy S22',
|
|
643
|
+
Galaxy_Tab_S7 = 'Galaxy Tab S7',
|
|
630
644
|
iPad = 'iPad',
|
|
631
645
|
iPad_6th_Gen = 'iPad 6th Gen',
|
|
632
646
|
iPad_7th_Gen = 'iPad 7th Gen',
|
|
@@ -676,7 +690,7 @@ export enum FailureReport {
|
|
|
676
690
|
IMMEDIATE = 'IMMEDIATE',
|
|
677
691
|
ON_CLOSE = 'ON_CLOSE'
|
|
678
692
|
}
|
|
679
|
-
export type IosDeviceNamePlain = "iPhone 11" | "iPhone 11 Pro" | "iPhone 11 Pro Max" | "iPhone X" | "iPhone XR" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 13" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 12" | "iPhone 12 mini" | "iPhone Xs" | "iPhone 8" | "iPhone 7" | "iPad Pro (12.9-inch) (3rd generation)" | "iPad (7th generation)" | "iPad (9th generation)" | "iPad Air (2nd generation)";
|
|
693
|
+
export type IosDeviceNamePlain = "iPhone 11" | "iPhone 11 Pro" | "iPhone 11 Pro Max" | "iPhone X" | "iPhone XR" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 13" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 12" | "iPhone 12 mini" | "iPhone Xs" | "iPhone 8" | "iPhone 8 Plus" | "iPhone 7" | "iPhone SE (1st generation)" | "iPad Pro (12.9-inch) (3rd generation)" | "iPad (7th generation)" | "iPad (9th generation)" | "iPad Air (2nd generation)" | "iPad Air (4th generation)";
|
|
680
694
|
export enum IosDeviceName {
|
|
681
695
|
iPhone_13_Pro_Max = 'iPhone 13 Pro Max',
|
|
682
696
|
iPhone_13_Pro = 'iPhone 13 Pro',
|
|
@@ -692,11 +706,14 @@ export enum IosDeviceName {
|
|
|
692
706
|
iPhone_XS = 'iPhone Xs',
|
|
693
707
|
iPhone_X = 'iPhone X',
|
|
694
708
|
iPhone_8 = 'iPhone 8',
|
|
709
|
+
iPhone_8_Plus = 'iPhone 8 Plus',
|
|
695
710
|
iPhone_7 = 'iPhone 7',
|
|
711
|
+
iPhone_SE = 'iPhone SE (1st generation)',
|
|
696
712
|
iPad_Pro_3 = 'iPad Pro (12.9-inch) (3rd generation)',
|
|
697
713
|
iPad_7 = 'iPad (7th generation)',
|
|
698
714
|
iPad_9 = 'iPad (9th generation)',
|
|
699
|
-
iPad_Air_2 = 'iPad Air (2nd generation)'
|
|
715
|
+
iPad_Air_2 = 'iPad Air (2nd generation)',
|
|
716
|
+
iPad_Air_4 = 'iPad Air (4th generation)'
|
|
700
717
|
}
|
|
701
718
|
export type IosVersionPlain = "latest" | "latest-1";
|
|
702
719
|
export enum IosVersion {
|
|
@@ -724,7 +741,7 @@ export enum SessionType {
|
|
|
724
741
|
SEQUENTIAL = 'SEQUENTIAL',
|
|
725
742
|
PROGRESSION = 'PROGRESSION'
|
|
726
743
|
}
|
|
727
|
-
export type StitchModePlain = "
|
|
744
|
+
export type StitchModePlain = "CSS" | "Scroll";
|
|
728
745
|
export enum StitchMode {
|
|
729
746
|
SCROLL = 'Scroll',
|
|
730
747
|
CSS = 'CSS'
|
|
@@ -810,7 +827,8 @@ export class BatchInfo implements Required<BatchInfoPlain> {
|
|
|
810
827
|
set properties(properties: Array<PropertyDataPlain>);
|
|
811
828
|
getProperties(): Array<PropertyData>;
|
|
812
829
|
setProperties(properties: Array<PropertyDataPlain>): BatchInfo;
|
|
813
|
-
addProperty(
|
|
830
|
+
addProperty(name: string, value: string): BatchInfo;
|
|
831
|
+
addProperty(prop: PropertyDataPlain): BatchInfo;
|
|
814
832
|
}
|
|
815
833
|
export type CutProviderPlain = { top: number; right: number; bottom: number; left: number; } | { x: number; y: number; width: number; height: number; };
|
|
816
834
|
export class CutProvider implements Required<{
|
|
@@ -911,8 +929,8 @@ export type ImageMatchSettingsPlain = {
|
|
|
911
929
|
layoutRegions?: Array<RegionPlain>;
|
|
912
930
|
strictRegions?: Array<RegionPlain>;
|
|
913
931
|
contentRegions?: Array<RegionPlain>;
|
|
914
|
-
floatingRegions?: Array<
|
|
915
|
-
accessibilityRegions?: Array<
|
|
932
|
+
floatingRegions?: Array<RegionPlain | FloatingMatchSettingsPlain>;
|
|
933
|
+
accessibilityRegions?: Array<RegionPlain | AccessibilityMatchSettingsPlain>;
|
|
916
934
|
accessibilitySettings?: AccessibilitySettings;
|
|
917
935
|
};
|
|
918
936
|
export class ImageMatchSettings implements Required<ImageMatchSettingsPlain> {
|
|
@@ -963,16 +981,16 @@ export class ImageMatchSettings implements Required<ImageMatchSettingsPlain> {
|
|
|
963
981
|
set content(content: Array<RegionPlain>);
|
|
964
982
|
getContentRegions(): Array<Region>;
|
|
965
983
|
setContentRegions(contentRegions: Array<RegionPlain>): void;
|
|
966
|
-
get floatingRegions(): Array<
|
|
967
|
-
set floatingRegions(floatingRegions: Array<
|
|
968
|
-
get floating(): Array<
|
|
969
|
-
set floating(floating: Array<
|
|
984
|
+
get floatingRegions(): Array<RegionPlain | FloatingMatchSettingsPlain>;
|
|
985
|
+
set floatingRegions(floatingRegions: Array<RegionPlain | FloatingMatchSettingsPlain>);
|
|
986
|
+
get floating(): Array<RegionPlain | FloatingMatchSettingsPlain>;
|
|
987
|
+
set floating(floating: Array<RegionPlain | FloatingMatchSettingsPlain>);
|
|
970
988
|
getFloatingRegions(): Array<FloatingMatchSettings>;
|
|
971
989
|
setFloatingRegions(floatingRegions: Array<FloatingMatchSettingsPlain>): void;
|
|
972
|
-
get accessibilityRegions(): Array<
|
|
973
|
-
set accessibilityRegions(accessibilityRegions: Array<
|
|
974
|
-
get accessibility(): Array<
|
|
975
|
-
set accessibility(accessibility: Array<
|
|
990
|
+
get accessibilityRegions(): Array<RegionPlain | AccessibilityMatchSettingsPlain>;
|
|
991
|
+
set accessibilityRegions(accessibilityRegions: Array<RegionPlain | AccessibilityMatchSettingsPlain>);
|
|
992
|
+
get accessibility(): Array<RegionPlain | AccessibilityMatchSettingsPlain>;
|
|
993
|
+
set accessibility(accessibility: Array<RegionPlain | AccessibilityMatchSettingsPlain>);
|
|
976
994
|
getAccessibilityRegions(): Array<AccessibilityMatchSettings>;
|
|
977
995
|
setAccessibilityRegions(accessibilityRegions: Array<AccessibilityMatchSettingsPlain>): void;
|
|
978
996
|
get accessibilitySettings(): AccessibilitySettings;
|
|
@@ -1001,7 +1019,7 @@ export class Location implements Required<LocationPlain> {
|
|
|
1001
1019
|
getY(): number;
|
|
1002
1020
|
setY(y: number): void;
|
|
1003
1021
|
}
|
|
1004
|
-
export type LogHandlerPlain = CustomLogHandlerPlain |
|
|
1022
|
+
export type LogHandlerPlain = CustomLogHandlerPlain | ConsoleLogHandlerPlain | FileLogHandlerPlain;
|
|
1005
1023
|
export type CustomLogHandlerPlain = {
|
|
1006
1024
|
log(message: any): void;
|
|
1007
1025
|
warn?(message: any): void;
|
|
@@ -1335,15 +1353,71 @@ export class TestResults implements Required<TestResultsPlain> {
|
|
|
1335
1353
|
delete(): Promise<void>;
|
|
1336
1354
|
deleteSession(): Promise<void>;
|
|
1337
1355
|
}
|
|
1338
|
-
export type TestResultContainerPlain = { readonly exception
|
|
1356
|
+
export type TestResultContainerPlain = { readonly exception?: Error; readonly testResults?: {
|
|
1357
|
+
readonly id?: string;
|
|
1358
|
+
readonly name?: string;
|
|
1359
|
+
readonly secretToken?: string;
|
|
1360
|
+
readonly status?: "Passed" | "Failed" | "Unresolved";
|
|
1361
|
+
readonly appName?: string;
|
|
1362
|
+
readonly batchId?: string;
|
|
1363
|
+
readonly batchName?: string;
|
|
1364
|
+
readonly branchName?: string;
|
|
1365
|
+
readonly hostOS?: string;
|
|
1366
|
+
readonly hostApp?: string;
|
|
1367
|
+
readonly hostDisplaySize?: { width: number; height: number; };
|
|
1368
|
+
readonly accessibilityStatus?: { readonly level: "AA" | "AAA"; readonly version: "WCAG_2_0" | "WCAG_2_1"; readonly status: "Passed" | "Failed"; };
|
|
1369
|
+
readonly startedAt?: string | Date;
|
|
1370
|
+
readonly duration?: number;
|
|
1371
|
+
readonly isNew?: boolean;
|
|
1372
|
+
readonly isDifferent?: boolean;
|
|
1373
|
+
readonly isAborted?: boolean;
|
|
1374
|
+
readonly appUrls?: { readonly batch?: string; readonly session?: string; };
|
|
1375
|
+
readonly apiUrls?: { readonly batch?: string; readonly session?: string; };
|
|
1376
|
+
readonly stepsInfo?: Array<{
|
|
1377
|
+
readonly name?: string;
|
|
1378
|
+
readonly isDifferent?: boolean;
|
|
1379
|
+
readonly hasBaselineImage?: boolean;
|
|
1380
|
+
readonly hasCurrentImage?: boolean;
|
|
1381
|
+
readonly appUrls?: { readonly step?: string; readonly stepEditor?: string; };
|
|
1382
|
+
readonly apiUrls?: {
|
|
1383
|
+
readonly baselineImage?: string;
|
|
1384
|
+
readonly currentImage?: string;
|
|
1385
|
+
readonly checkpointImage?: string;
|
|
1386
|
+
readonly checkpointImageThumbnail?: string;
|
|
1387
|
+
readonly diffImage?: string;
|
|
1388
|
+
};
|
|
1389
|
+
readonly renderId?: Array<string>;
|
|
1390
|
+
}>;
|
|
1391
|
+
readonly steps?: number;
|
|
1392
|
+
readonly matches?: number;
|
|
1393
|
+
readonly mismatches?: number;
|
|
1394
|
+
readonly missing?: number;
|
|
1395
|
+
readonly exactMatches?: number;
|
|
1396
|
+
readonly strictMatches?: number;
|
|
1397
|
+
readonly contentMatches?: number;
|
|
1398
|
+
readonly layoutMatches?: number;
|
|
1399
|
+
readonly noneMatches?: number;
|
|
1400
|
+
readonly url?: string;
|
|
1401
|
+
}; readonly browserInfo?: { name?: "chrome" | "chrome-one-version-back" | "chrome-two-versions-back" | "firefox" | "firefox-one-version-back" | "firefox-two-versions-back" | "ie" | "ie10" | "edge" | "edgechromium" | "edgelegacy" | "edgechromium-one-version-back" | "edgechromium-two-versions-back" | "safari" | "safari-earlyaccess" | "safari-one-version-back" | "safari-two-versions-back"; width: number; height: number; } | { chromeEmulationInfo: { deviceName: "Blackberry PlayBook" | "BlackBerry Z30" | "Galaxy A5" | "Galaxy Note 10" | "Galaxy Note 10 Plus" | "Galaxy Note 2" | "Galaxy Note 3" | "Galaxy Note 4" | "Galaxy Note 8" | "Galaxy Note 9" | "Galaxy S3" | "Galaxy S5" | "Galaxy S8" | "Galaxy S8 Plus" | "Galaxy S9" | "Galaxy S9 Plus" | "Galaxy S10" | "Galaxy S10 Plus" | "Galaxy S20" | "Galaxy S22" | "Galaxy Tab S7" | "iPad" | "iPad 6th Gen" | "iPad 7th Gen" | "iPad Air 2" | "iPad Mini" | "iPad Pro" | "iPhone 11" | "iPhone 11 Pro" | "iPhone 11 Pro Max" | "iPhone 4" | "iPhone 5/SE" | "iPhone 6/7/8" | "iPhone 6/7/8 Plus" | "iPhone X" | "iPhone XR" | "iPhone XS" | "iPhone XS Max" | "Kindle Fire HDX" | "Laptop with HiDPI screen" | "Laptop with MDPI screen" | "Laptop with touch" | "LG G6" | "LG Optimus L70" | "Microsoft Lumia 550" | "Microsoft Lumia 950" | "Nexus 10" | "Nexus 4" | "Nexus 5" | "Nexus 5X" | "Nexus 6" | "Nexus 6P" | "Nexus 7" | "Nokia Lumia 520" | "Nokia N9" | "OnePlus 7T" | "OnePlus 7T Pro" | "Pixel 2" | "Pixel 2 XL" | "Pixel 3" | "Pixel 3 XL" | "Pixel 4" | "Pixel 4 XL" | "Pixel 5"; screenOrientation?: "portrait" | "landscape"; }; } | { iosDeviceInfo: { deviceName: "iPhone 11" | "iPhone 11 Pro" | "iPhone 11 Pro Max" | "iPhone X" | "iPhone XR" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 13" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 12" | "iPhone 12 mini" | "iPhone Xs" | "iPhone 8" | "iPhone 8 Plus" | "iPhone 7" | "iPhone SE (1st generation)" | "iPad Pro (12.9-inch) (3rd generation)" | "iPad (7th generation)" | "iPad (9th generation)" | "iPad Air (2nd generation)" | "iPad Air (4th generation)"; iosVersion?: "latest" | "latest-1"; screenOrientation?: "portrait" | "landscape"; }; }; };
|
|
1339
1402
|
export class TestResultContainer implements Required<TestResultContainerPlain> {
|
|
1340
1403
|
get testResults(): TestResultsPlain;
|
|
1341
1404
|
getTestResults(): TestResults;
|
|
1342
1405
|
get exception(): Error;
|
|
1343
1406
|
getException(): Error;
|
|
1407
|
+
get browserInfo(): { name?: "chrome" | "chrome-one-version-back" | "chrome-two-versions-back" | "firefox" | "firefox-one-version-back" | "firefox-two-versions-back" | "ie" | "ie10" | "edge" | "edgechromium" | "edgelegacy" | "edgechromium-one-version-back" | "edgechromium-two-versions-back" | "safari" | "safari-earlyaccess" | "safari-one-version-back" | "safari-two-versions-back"; width: number; height: number; } | { chromeEmulationInfo: { deviceName: "Blackberry PlayBook" | "BlackBerry Z30" | "Galaxy A5" | "Galaxy Note 10" | "Galaxy Note 10 Plus" | "Galaxy Note 2" | "Galaxy Note 3" | "Galaxy Note 4" | "Galaxy Note 8" | "Galaxy Note 9" | "Galaxy S3" | "Galaxy S5" | "Galaxy S8" | "Galaxy S8 Plus" | "Galaxy S9" | "Galaxy S9 Plus" | "Galaxy S10" | "Galaxy S10 Plus" | "Galaxy S20" | "Galaxy S22" | "Galaxy Tab S7" | "iPad" | "iPad 6th Gen" | "iPad 7th Gen" | "iPad Air 2" | "iPad Mini" | "iPad Pro" | "iPhone 11" | "iPhone 11 Pro" | "iPhone 11 Pro Max" | "iPhone 4" | "iPhone 5/SE" | "iPhone 6/7/8" | "iPhone 6/7/8 Plus" | "iPhone X" | "iPhone XR" | "iPhone XS" | "iPhone XS Max" | "Kindle Fire HDX" | "Laptop with HiDPI screen" | "Laptop with MDPI screen" | "Laptop with touch" | "LG G6" | "LG Optimus L70" | "Microsoft Lumia 550" | "Microsoft Lumia 950" | "Nexus 10" | "Nexus 4" | "Nexus 5" | "Nexus 5X" | "Nexus 6" | "Nexus 6P" | "Nexus 7" | "Nokia Lumia 520" | "Nokia N9" | "OnePlus 7T" | "OnePlus 7T Pro" | "Pixel 2" | "Pixel 2 XL" | "Pixel 3" | "Pixel 3 XL" | "Pixel 4" | "Pixel 4 XL" | "Pixel 5"; screenOrientation?: "portrait" | "landscape"; }; } | { iosDeviceInfo: { deviceName: "iPhone 11" | "iPhone 11 Pro" | "iPhone 11 Pro Max" | "iPhone X" | "iPhone XR" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 13" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 12" | "iPhone 12 mini" | "iPhone Xs" | "iPhone 8" | "iPhone 8 Plus" | "iPhone 7" | "iPhone SE (1st generation)" | "iPad Pro (12.9-inch) (3rd generation)" | "iPad (7th generation)" | "iPad (9th generation)" | "iPad Air (2nd generation)" | "iPad Air (4th generation)"; iosVersion?: "latest" | "latest-1"; screenOrientation?: "portrait" | "landscape"; }; };
|
|
1408
|
+
getBrowserInfo(): { name?: "chrome" | "chrome-one-version-back" | "chrome-two-versions-back" | "firefox" | "firefox-one-version-back" | "firefox-two-versions-back" | "ie" | "ie10" | "edge" | "edgechromium" | "edgelegacy" | "edgechromium-one-version-back" | "edgechromium-two-versions-back" | "safari" | "safari-earlyaccess" | "safari-one-version-back" | "safari-two-versions-back"; width: number; height: number; } | { chromeEmulationInfo: { deviceName: "Blackberry PlayBook" | "BlackBerry Z30" | "Galaxy A5" | "Galaxy Note 10" | "Galaxy Note 10 Plus" | "Galaxy Note 2" | "Galaxy Note 3" | "Galaxy Note 4" | "Galaxy Note 8" | "Galaxy Note 9" | "Galaxy S3" | "Galaxy S5" | "Galaxy S8" | "Galaxy S8 Plus" | "Galaxy S9" | "Galaxy S9 Plus" | "Galaxy S10" | "Galaxy S10 Plus" | "Galaxy S20" | "Galaxy S22" | "Galaxy Tab S7" | "iPad" | "iPad 6th Gen" | "iPad 7th Gen" | "iPad Air 2" | "iPad Mini" | "iPad Pro" | "iPhone 11" | "iPhone 11 Pro" | "iPhone 11 Pro Max" | "iPhone 4" | "iPhone 5/SE" | "iPhone 6/7/8" | "iPhone 6/7/8 Plus" | "iPhone X" | "iPhone XR" | "iPhone XS" | "iPhone XS Max" | "Kindle Fire HDX" | "Laptop with HiDPI screen" | "Laptop with MDPI screen" | "Laptop with touch" | "LG G6" | "LG Optimus L70" | "Microsoft Lumia 550" | "Microsoft Lumia 950" | "Nexus 10" | "Nexus 4" | "Nexus 5" | "Nexus 5X" | "Nexus 6" | "Nexus 6P" | "Nexus 7" | "Nokia Lumia 520" | "Nokia N9" | "OnePlus 7T" | "OnePlus 7T Pro" | "Pixel 2" | "Pixel 2 XL" | "Pixel 3" | "Pixel 3 XL" | "Pixel 4" | "Pixel 4 XL" | "Pixel 5"; screenOrientation?: "portrait" | "landscape"; }; } | { iosDeviceInfo: { deviceName: "iPhone 11" | "iPhone 11 Pro" | "iPhone 11 Pro Max" | "iPhone X" | "iPhone XR" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 13" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 12" | "iPhone 12 mini" | "iPhone Xs" | "iPhone 8" | "iPhone 8 Plus" | "iPhone 7" | "iPhone SE (1st generation)" | "iPad Pro (12.9-inch) (3rd generation)" | "iPad (7th generation)" | "iPad (9th generation)" | "iPad Air (2nd generation)" | "iPad Air (4th generation)"; iosVersion?: "latest" | "latest-1"; screenOrientation?: "portrait" | "landscape"; }; };
|
|
1344
1409
|
}
|
|
1345
|
-
export type TestResultsSummaryPlain =
|
|
1346
|
-
|
|
1410
|
+
export type TestResultsSummaryPlain = {
|
|
1411
|
+
results: Array<TestResultContainerPlain>;
|
|
1412
|
+
passed: number;
|
|
1413
|
+
unresolved: number;
|
|
1414
|
+
failed: number;
|
|
1415
|
+
exceptions: number;
|
|
1416
|
+
mismatches: number;
|
|
1417
|
+
missing: number;
|
|
1418
|
+
matches: number;
|
|
1419
|
+
};
|
|
1420
|
+
export class TestResultsSummary implements Iterable<TestResultContainerPlain> {
|
|
1347
1421
|
getAllResults(): Array<TestResultContainer>;
|
|
1348
1422
|
[Symbol.iterator](): Iterator<TestResultContainer, any, undefined>;
|
|
1349
1423
|
}
|
|
@@ -1379,7 +1453,8 @@ export class Logger {
|
|
|
1379
1453
|
fatal(...messages: Array<any>): void;
|
|
1380
1454
|
open(): void;
|
|
1381
1455
|
close(): void;
|
|
1382
|
-
|
|
1456
|
+
tag(name: string, value: any): void;
|
|
1457
|
+
extend(label?: string): Logger;
|
|
1383
1458
|
}
|
|
1384
1459
|
export function closeBatch(spec: { closeBatches(options: { settings: { batchIds: Array<string>; serverUrl?: string; apiKey?: string; proxy?: ProxySettingsPlain; }; }): Promise<void>; }): (options: { batchIds: Array<string>; serverUrl?: string; apiKey?: string; proxy?: ProxySettingsPlain; }) => Promise<void>;
|
|
1385
1460
|
export abstract class EyesRunner {
|