@applitools/eyes-selenium 4.64.1 → 4.65.1
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 +13 -0
- package/package.json +5 -5
- package/types/index.d.ts +23 -17
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,19 @@
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
+
## 4.65.1 - 2023/4/5
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
### Bug fixes
|
|
15
|
+
- Fixed screenshot framing
|
|
16
|
+
- Fixed issue with css fetching for dom capture
|
|
17
|
+
|
|
18
|
+
## 4.65.0 - 2023/4/5
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
- Added `removeDuplicateTests` property to the `RunnerOptions` to remove duplicated tests in the runner at the end of execution
|
|
22
|
+
### Bug fixes
|
|
23
|
+
|
|
11
24
|
## 4.64.1 - 2023/3/22
|
|
12
25
|
|
|
13
26
|
### Features
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/eyes-selenium",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.65.1",
|
|
4
4
|
"description": "Applitools Eyes SDK for Selenium WebDriver",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eyes-selenium",
|
|
@@ -61,14 +61,14 @@
|
|
|
61
61
|
"postpublish": "bongo send-release-notification --name 'js_selenium_4'"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@applitools/eyes": "1.
|
|
65
|
-
"@applitools/spec-driver-selenium": "1.5.
|
|
64
|
+
"@applitools/eyes": "1.1.3",
|
|
65
|
+
"@applitools/spec-driver-selenium": "1.5.37"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
68
|
"@applitools/api-extractor": "1.2.12",
|
|
69
|
-
"@applitools/bongo": "^3.0.
|
|
69
|
+
"@applitools/bongo": "^3.0.3",
|
|
70
70
|
"@applitools/sdk-coverage-tests": "3.0.0",
|
|
71
|
-
"@applitools/test-utils": "1.5.
|
|
71
|
+
"@applitools/test-utils": "1.5.16",
|
|
72
72
|
"@types/node": "^12.20.55",
|
|
73
73
|
"@types/selenium-webdriver": "^4.1.1",
|
|
74
74
|
"chromedriver": "105.0.1",
|
package/types/index.d.ts
CHANGED
|
@@ -1251,18 +1251,18 @@ export type DesktopBrowserInfo = { name?: undefined | "chrome" | "chrome-one-ver
|
|
|
1251
1251
|
export type ChromeEmulationInfo = { chromeEmulationInfo: { deviceName: DeviceNamePlain; screenOrientation?: undefined | "landscape" | "portrait"; }; };
|
|
1252
1252
|
export type IOSDeviceInfo = { iosDeviceInfo: { deviceName: IosDeviceNamePlain; iosVersion?: undefined | "latest" | "latest-1"; screenOrientation?: undefined | "landscape" | "portrait"; }; };
|
|
1253
1253
|
export type AndroidDeviceInfo = { androidDeviceInfo: { deviceName: AndroidDeviceNamePlain; version?: undefined | "latest" | "latest-1"; screenOrientation?: undefined | "landscape" | "portrait"; }; };
|
|
1254
|
-
export type RunnerOptionsPlain = { testConcurrency?: undefined | number; };
|
|
1254
|
+
export type RunnerOptionsPlain = { testConcurrency?: undefined | number; removeDuplicateTests?: undefined | boolean; };
|
|
1255
1255
|
export class RunnerOptionsFluent {
|
|
1256
1256
|
testConcurrency(concurrency: number): RunnerOptionsFluent;
|
|
1257
1257
|
}
|
|
1258
1258
|
export function RunnerOptions(): RunnerOptionsFluent;
|
|
1259
1259
|
export type VisualLocatorSettings<TLocator extends string = string> = { locatorNames: Array<TLocator>; firstOnly: boolean; };
|
|
1260
1260
|
export type ApiUrlsPlain = {
|
|
1261
|
-
readonly baselineImage
|
|
1262
|
-
readonly currentImage
|
|
1263
|
-
readonly checkpointImage
|
|
1264
|
-
readonly checkpointImageThumbnail
|
|
1265
|
-
readonly diffImage
|
|
1261
|
+
readonly baselineImage: string;
|
|
1262
|
+
readonly currentImage: string;
|
|
1263
|
+
readonly checkpointImage: string;
|
|
1264
|
+
readonly checkpointImageThumbnail: string;
|
|
1265
|
+
readonly diffImage: string;
|
|
1266
1266
|
};
|
|
1267
1267
|
export class ApiUrls implements Required<ApiUrlsPlain> {
|
|
1268
1268
|
get baselineImage(): string;
|
|
@@ -1276,7 +1276,7 @@ export class ApiUrls implements Required<ApiUrlsPlain> {
|
|
|
1276
1276
|
get diffImage(): string;
|
|
1277
1277
|
getDiffImage(): string;
|
|
1278
1278
|
}
|
|
1279
|
-
export type AppUrlsPlain = { readonly step
|
|
1279
|
+
export type AppUrlsPlain = { readonly step: string; readonly stepEditor: string; };
|
|
1280
1280
|
export class AppUrls implements Required<AppUrlsPlain> {
|
|
1281
1281
|
get step(): string;
|
|
1282
1282
|
getStep(): string;
|
|
@@ -1290,7 +1290,7 @@ export class MatchResult implements Required<MatchResultPlain> {
|
|
|
1290
1290
|
get windowId(): number;
|
|
1291
1291
|
getWindowId(): number;
|
|
1292
1292
|
}
|
|
1293
|
-
export type SessionUrlsPlain = { readonly batch
|
|
1293
|
+
export type SessionUrlsPlain = { readonly batch: string; readonly session: string; };
|
|
1294
1294
|
export class SessionUrls implements Required<SessionUrlsPlain> {
|
|
1295
1295
|
get batch(): string;
|
|
1296
1296
|
getBatch(): string;
|
|
@@ -1298,13 +1298,13 @@ export class SessionUrls implements Required<SessionUrlsPlain> {
|
|
|
1298
1298
|
getSession(): string;
|
|
1299
1299
|
}
|
|
1300
1300
|
export type StepInfoPlain = {
|
|
1301
|
-
readonly name
|
|
1302
|
-
readonly isDifferent
|
|
1303
|
-
readonly hasBaselineImage
|
|
1304
|
-
readonly hasCurrentImage
|
|
1305
|
-
readonly appUrls
|
|
1306
|
-
readonly apiUrls
|
|
1307
|
-
readonly renderId
|
|
1301
|
+
readonly name: string;
|
|
1302
|
+
readonly isDifferent: boolean;
|
|
1303
|
+
readonly hasBaselineImage: boolean;
|
|
1304
|
+
readonly hasCurrentImage: boolean;
|
|
1305
|
+
readonly appUrls: AppUrlsPlain;
|
|
1306
|
+
readonly apiUrls: ApiUrlsPlain;
|
|
1307
|
+
readonly renderId: Array<string>;
|
|
1308
1308
|
};
|
|
1309
1309
|
export class StepInfo implements Required<StepInfoPlain> {
|
|
1310
1310
|
get name(): string;
|
|
@@ -1336,7 +1336,7 @@ export type TestResultsPlain = {
|
|
|
1336
1336
|
readonly hostApp?: undefined | string;
|
|
1337
1337
|
readonly hostDisplaySize?: undefined | RectangleSizePlain;
|
|
1338
1338
|
readonly accessibilityStatus?: undefined | TestAccessibilityStatus;
|
|
1339
|
-
readonly startedAt?: undefined | string
|
|
1339
|
+
readonly startedAt?: undefined | string;
|
|
1340
1340
|
readonly duration?: undefined | number;
|
|
1341
1341
|
readonly isNew?: undefined | boolean;
|
|
1342
1342
|
readonly isDifferent?: undefined | boolean;
|
|
@@ -1354,6 +1354,8 @@ export type TestResultsPlain = {
|
|
|
1354
1354
|
readonly layoutMatches?: undefined | number;
|
|
1355
1355
|
readonly noneMatches?: undefined | number;
|
|
1356
1356
|
readonly url?: undefined | string;
|
|
1357
|
+
readonly server: { serverUrl: string; apiKey: string; proxy?: undefined | ProxySettingsPlain; };
|
|
1358
|
+
readonly keepIfDuplicate: boolean;
|
|
1357
1359
|
};
|
|
1358
1360
|
export class TestResults implements Required<TestResultsPlain> {
|
|
1359
1361
|
get id(): string;
|
|
@@ -1380,7 +1382,7 @@ export class TestResults implements Required<TestResultsPlain> {
|
|
|
1380
1382
|
getHostDisplaySize(): RectangleSize;
|
|
1381
1383
|
get accessibilityStatus(): TestAccessibilityStatus;
|
|
1382
1384
|
getAccessibilityStatus(): TestAccessibilityStatus;
|
|
1383
|
-
get startedAt(): string
|
|
1385
|
+
get startedAt(): string;
|
|
1384
1386
|
getStartedAt(): Date;
|
|
1385
1387
|
get duration(): number;
|
|
1386
1388
|
getDuration(): number;
|
|
@@ -1416,6 +1418,8 @@ export class TestResults implements Required<TestResultsPlain> {
|
|
|
1416
1418
|
getNoneMatches(): number;
|
|
1417
1419
|
get url(): string;
|
|
1418
1420
|
getUrl(): string;
|
|
1421
|
+
get server(): { serverUrl: string; apiKey: string; agentId?: undefined | string; proxy?: undefined | { url: string; username?: undefined | string; password?: undefined | string; }; };
|
|
1422
|
+
get keepIfDuplicate(): boolean;
|
|
1419
1423
|
isPassed(): boolean;
|
|
1420
1424
|
delete(): Promise<void>;
|
|
1421
1425
|
}
|
|
@@ -1469,9 +1473,11 @@ export class Logger {
|
|
|
1469
1473
|
extend(label?: undefined | string): Logger;
|
|
1470
1474
|
}
|
|
1471
1475
|
export abstract class EyesRunner {
|
|
1476
|
+
abstract readonly type: "classic" | "ufg";
|
|
1472
1477
|
getAllTestResults(throwErr?: undefined | boolean): Promise<TestResultsSummary>;
|
|
1473
1478
|
}
|
|
1474
1479
|
export class ClassicRunner extends EyesRunner {
|
|
1480
|
+
constructor(options?: undefined | RunnerOptionsPlain);
|
|
1475
1481
|
}
|
|
1476
1482
|
export class VisualGridRunner extends EyesRunner {
|
|
1477
1483
|
constructor(options?: undefined | RunnerOptionsPlain);
|