@applitools/eyes-selenium 4.65.2 → 4.65.4
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 +12 -0
- package/dist/api.js +4 -4
- package/package.json +6 -6
- package/types/index.d.ts +10 -3
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,18 @@
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
+
## 4.65.4 - 2023/4/28
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
### Bug fixes
|
|
15
|
+
- Fixed detection of emulated mobile drivers
|
|
16
|
+
|
|
17
|
+
## 4.65.3 - 2023/4/26
|
|
18
|
+
|
|
19
|
+
### Features
|
|
20
|
+
- No features
|
|
21
|
+
### Bug fixes
|
|
22
|
+
|
|
11
23
|
## 4.65.2 - 2023/4/11
|
|
12
24
|
|
|
13
25
|
### Features
|
package/dist/api.js
CHANGED
|
@@ -33,12 +33,12 @@ __exportStar(require("@applitools/eyes"), exports);
|
|
|
33
33
|
const sdk = { agentId: `eyes.selenium/${require('../package.json').version}`, spec };
|
|
34
34
|
class Eyes extends eyes.Eyes {
|
|
35
35
|
}
|
|
36
|
-
exports.Eyes = Eyes;
|
|
37
36
|
Eyes._sdk = sdk;
|
|
37
|
+
exports.Eyes = Eyes;
|
|
38
38
|
class CheckSettingsAutomation extends eyes.CheckSettingsAutomation {
|
|
39
39
|
}
|
|
40
|
-
exports.CheckSettingsAutomation = CheckSettingsAutomation;
|
|
41
40
|
CheckSettingsAutomation._spec = spec;
|
|
41
|
+
exports.CheckSettingsAutomation = CheckSettingsAutomation;
|
|
42
42
|
class CheckSettings extends CheckSettingsAutomation {
|
|
43
43
|
}
|
|
44
44
|
exports.CheckSettings = CheckSettings;
|
|
@@ -46,10 +46,10 @@ exports.TargetAutomation = { ...eyes.TargetAutomation, spec };
|
|
|
46
46
|
exports.Target = { ...eyes.Target, spec };
|
|
47
47
|
class Configuration extends eyes.Configuration {
|
|
48
48
|
}
|
|
49
|
-
exports.Configuration = Configuration;
|
|
50
49
|
Configuration._spec = spec;
|
|
50
|
+
exports.Configuration = Configuration;
|
|
51
51
|
class BatchClose extends eyes.BatchClose {
|
|
52
52
|
}
|
|
53
|
-
exports.BatchClose = BatchClose;
|
|
54
53
|
BatchClose._sdk = sdk;
|
|
54
|
+
exports.BatchClose = BatchClose;
|
|
55
55
|
exports.closeBatch = eyes.closeBatch(sdk);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/eyes-selenium",
|
|
3
|
-
"version": "4.65.
|
|
3
|
+
"version": "4.65.4",
|
|
4
4
|
"description": "Applitools Eyes SDK for Selenium WebDriver",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eyes-selenium",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
],
|
|
43
43
|
"scripts": {
|
|
44
44
|
"lint": "node ../../node_modules/.bin/eslint '**/*.ts'",
|
|
45
|
-
"build": "node ../../node_modules/.bin/
|
|
45
|
+
"build": "node ../../node_modules/.bin/tspc --project ./tsconfig.build.json",
|
|
46
46
|
"generate:tests": "coverage-tests generate https://raw.githubusercontent.com/applitools/sdk.coverage.tests/universal-sdk/js/config.js --name 'eyes-selenium'",
|
|
47
47
|
"test": "yarn test:coverage",
|
|
48
48
|
"test:coverage": "yarn generate:tests && APPLITOOLS_BATCH_NAME='JS Coverage Tests: eyes-selenium' APPLITOOLS_BATCH_ID=$(uuidgen) MOCHA_GROUP=coverage node ../../node_modules/.bin/mocha './test/generic/*.spec.js' -r @applitools/test-utils/mocha-hooks/docker --parallel --jobs ${MOCHA_JOBS:-15} --exit",
|
|
@@ -61,17 +61,17 @@
|
|
|
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.2.5",
|
|
65
|
+
"@applitools/spec-driver-selenium": "1.5.42"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
|
-
"@applitools/api-extractor": "1.2.
|
|
68
|
+
"@applitools/api-extractor": "1.2.19",
|
|
69
69
|
"@applitools/bongo": "^3.0.3",
|
|
70
70
|
"@applitools/sdk-coverage-tests": "3.0.2",
|
|
71
71
|
"@applitools/test-utils": "1.5.16",
|
|
72
72
|
"@types/node": "^12.20.55",
|
|
73
73
|
"@types/selenium-webdriver": "^4.1.1",
|
|
74
|
-
"chromedriver": "
|
|
74
|
+
"chromedriver": "112.0.0",
|
|
75
75
|
"selenium-webdriver": "4.4.0"
|
|
76
76
|
},
|
|
77
77
|
"peerDependencies": {
|
package/types/index.d.ts
CHANGED
|
@@ -1238,7 +1238,14 @@ export class Location implements Required<LocationPlain> {
|
|
|
1238
1238
|
setY(y: number): void;
|
|
1239
1239
|
}
|
|
1240
1240
|
export type LogHandlerPlain = CustomLogHandlerPlain | ConsoleLogHandlerPlain | FileLogHandlerPlain;
|
|
1241
|
-
export type CustomLogHandlerPlain = {
|
|
1241
|
+
export type CustomLogHandlerPlain = {
|
|
1242
|
+
log(message: any): void;
|
|
1243
|
+
warn?(message: any): void;
|
|
1244
|
+
error?(message: any): void;
|
|
1245
|
+
fatal?(message: any): void;
|
|
1246
|
+
open?(): void;
|
|
1247
|
+
close?(): void;
|
|
1248
|
+
};
|
|
1242
1249
|
export type FileLogHandlerPlain = { type: "file"; filename?: undefined | string; append?: undefined | boolean; };
|
|
1243
1250
|
export type ConsoleLogHandlerPlain = { type: "console"; };
|
|
1244
1251
|
export abstract class LogHandler implements CustomLogHandlerPlain {
|
|
@@ -1348,7 +1355,7 @@ export type DesktopBrowserInfo = { name?: undefined | "chrome" | "chrome-one-ver
|
|
|
1348
1355
|
export type ChromeEmulationInfo = { chromeEmulationInfo: { deviceName: DeviceNamePlain; screenOrientation?: undefined | "landscape" | "portrait"; }; };
|
|
1349
1356
|
export type IOSDeviceInfo = { iosDeviceInfo: { deviceName: IosDeviceNamePlain; iosVersion?: undefined | "latest" | "latest-1"; screenOrientation?: undefined | "landscape" | "portrait"; }; };
|
|
1350
1357
|
export type AndroidDeviceInfo = { androidDeviceInfo: { deviceName: AndroidDeviceNamePlain; version?: undefined | "latest" | "latest-1"; screenOrientation?: undefined | "landscape" | "portrait"; }; };
|
|
1351
|
-
export type RunnerOptionsPlain = { testConcurrency?: undefined | number; removeDuplicateTests?: undefined | boolean; };
|
|
1358
|
+
export type RunnerOptionsPlain = { testConcurrency?: undefined | number; fetchConcurrency?: undefined | number; removeDuplicateTests?: undefined | boolean; };
|
|
1352
1359
|
export class RunnerOptionsFluent {
|
|
1353
1360
|
testConcurrency(concurrency: number): RunnerOptionsFluent;
|
|
1354
1361
|
}
|
|
@@ -1581,7 +1588,7 @@ export class TestResultContainer implements Required<TestResultContainerPlain> {
|
|
|
1581
1588
|
export type TestResultsSummaryPlain = Iterable<TestResultContainerPlain>;
|
|
1582
1589
|
export class TestResultsSummary implements Iterable<TestResultContainer> {
|
|
1583
1590
|
getAllResults(): Array<TestResultContainer>;
|
|
1584
|
-
|
|
1591
|
+
'__@iterator@84'(): Iterator<TestResultContainer, any, undefined>;
|
|
1585
1592
|
}
|
|
1586
1593
|
export type TextRegion = {
|
|
1587
1594
|
x: number;
|