@applitools/eyes-images 4.30.1 → 4.30.2
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 +17 -0
- package/package.json +2 -2
- package/types/index.d.ts +12 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [4.30.2](https://github.com/Applitools-Dev/sdk/compare/js/eyes-images@4.30.1...js/eyes-images@4.30.2) (2025-04-03)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* input range value render issue - add input range to need map list ([#2866](https://github.com/Applitools-Dev/sdk/issues/2866)) ([6b3c113](https://github.com/Applitools-Dev/sdk/commit/6b3c113ab3068fc89b3d3917a12fc51bad66ca97))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* @applitools/core bumped to 4.35.1
|
|
14
|
+
#### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* dummy ([9b8ffef](https://github.com/Applitools-Dev/sdk/commit/9b8ffef6277015a9073caf50f5dc5741986fbf07))
|
|
17
|
+
* @applitools/eyes bumped to 1.33.2
|
|
18
|
+
|
|
19
|
+
|
|
3
20
|
## [4.30.1](https://github.com/Applitools-Dev/sdk/compare/js/eyes-images@4.30.0...js/eyes-images@4.30.1) (2025-03-06)
|
|
4
21
|
|
|
5
22
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/eyes-images",
|
|
3
|
-
"version": "4.30.
|
|
3
|
+
"version": "4.30.2",
|
|
4
4
|
"description": "The simplest implementation of Applitools Eyes SDK, uploads images for validation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eyes-images",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"test:coverage": "APPLITOOLS_SHOW_LOGS=true APPLITOOLS_LOG_FILE=\"./logs/$(uuidgen).log\" APPLITOOLS_BATCH_NAME='JS Coverage Tests: eyes-images' APPLITOOLS_BATCH_ID=$(uuidgen) MOCHA_GROUP=coverage run --top-level mocha './test/generated-coverage/*.spec.js' --parallel --jobs ${MOCHA_JOBS:-15}"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@applitools/eyes": "1.
|
|
43
|
+
"@applitools/eyes": "1.33.2"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@applitools/api-extractor": "^1.2.22",
|
package/types/index.d.ts
CHANGED
|
@@ -184,6 +184,7 @@ export type ConfigurationPlain = {
|
|
|
184
184
|
enablePatterns?: undefined | boolean;
|
|
185
185
|
environmentName?: undefined | string;
|
|
186
186
|
forceFullPageScreenshot?: undefined | boolean;
|
|
187
|
+
fully?: undefined | boolean;
|
|
187
188
|
gitMergeBaseTimestamp?: undefined | string;
|
|
188
189
|
latestCommitInfo?: undefined | { timestamp: string; sha: string; };
|
|
189
190
|
hideCaret?: undefined | boolean;
|
|
@@ -220,7 +221,7 @@ export type ConfigurationPlain = {
|
|
|
220
221
|
useDom?: undefined | boolean;
|
|
221
222
|
viewportSize?: undefined | RectangleSizePlain;
|
|
222
223
|
visualGridOptions?: undefined | Record<string, any>;
|
|
223
|
-
waitBeforeCapture?: undefined | number;
|
|
224
|
+
waitBeforeCapture?: undefined | number | (() => Promise<void>);
|
|
224
225
|
waitBeforeScreenshots?: undefined | number;
|
|
225
226
|
};
|
|
226
227
|
export class Configuration implements Required<ConfigurationPlain> {
|
|
@@ -509,14 +510,19 @@ export class Configuration implements Required<ConfigurationPlain> {
|
|
|
509
510
|
getVisualGridOptions(): { [key: string]: any; };
|
|
510
511
|
setVisualGridOptions(visualGridOptions: { [key: string]: any; }): Configuration;
|
|
511
512
|
setVisualGridOption(key: string, value: any): Configuration;
|
|
512
|
-
get waitBeforeCapture(): number;
|
|
513
|
-
set waitBeforeCapture(waitBeforeCapture: number);
|
|
514
|
-
getWaitBeforeCapture(): number;
|
|
513
|
+
get waitBeforeCapture(): number | (() => Promise<void>);
|
|
514
|
+
set waitBeforeCapture(waitBeforeCapture: number | (() => Promise<void>));
|
|
515
|
+
getWaitBeforeCapture(): number | (() => Promise<void>);
|
|
515
516
|
setWaitBeforeCapture(waitBeforeCapture: number): Configuration;
|
|
517
|
+
setWaitBeforeCapture(waitBeforeCapture: (() => Promise<void>)): Configuration;
|
|
516
518
|
get waitBeforeScreenshots(): number;
|
|
517
519
|
set waitBeforeScreenshots(waitBeforeScreenshots: number);
|
|
518
520
|
getWaitBeforeScreenshots(): number;
|
|
519
521
|
setWaitBeforeScreenshots(waitBeforeScreenshots: number): Configuration;
|
|
522
|
+
get fully(): boolean;
|
|
523
|
+
set fully(fully: boolean);
|
|
524
|
+
getFully(): boolean;
|
|
525
|
+
setFully(fully: boolean): Configuration;
|
|
520
526
|
}
|
|
521
527
|
export type CheckSettingsImagePlain = {
|
|
522
528
|
name?: undefined | string;
|
|
@@ -619,7 +625,7 @@ export type CheckSettingsAutomationPlain = {
|
|
|
619
625
|
useSystemScreenshot?: undefined | boolean;
|
|
620
626
|
hooks?: undefined | { beforeCaptureScreenshot: string; };
|
|
621
627
|
timeout?: undefined | number;
|
|
622
|
-
waitBeforeCapture?: undefined | number;
|
|
628
|
+
waitBeforeCapture?: undefined | number | (() => Promise<void>);
|
|
623
629
|
lazyLoad?: undefined | boolean | { scrollLength?: undefined | number; waitingTime?: undefined | number; maxAmountToScroll?: undefined | number; };
|
|
624
630
|
};
|
|
625
631
|
export class CheckSettingsAutomation {
|
|
@@ -653,6 +659,7 @@ export class CheckSettingsAutomation {
|
|
|
653
659
|
useSystemScreenshot(useSystemScreenshot?: undefined | boolean): CheckSettingsAutomation;
|
|
654
660
|
timeout(timeout: number): CheckSettingsAutomation;
|
|
655
661
|
waitBeforeCapture(waitBeforeCapture: number): CheckSettingsAutomation;
|
|
662
|
+
waitBeforeCapture(waitBeforeCapture: (() => Promise<void>)): CheckSettingsAutomation;
|
|
656
663
|
lazyLoad(options?: undefined | boolean): CheckSettingsAutomation;
|
|
657
664
|
lazyLoad(options?: undefined | { scrollLength?: undefined | number; waitingTime?: undefined | number; maxAmountToScroll?: undefined | number; }): CheckSettingsAutomation;
|
|
658
665
|
densityMetrics(options: { scaleRatio?: undefined | number; xdpi?: undefined | number; ydpi?: undefined | number; }): CheckSettingsAutomation;
|