@applitools/eyes 1.26.4 → 1.27.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 CHANGED
@@ -1,5 +1,46 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.27.0](https://github.com/Applitools-Dev/sdk/compare/js/eyes@1.26.4...js/eyes@1.27.0) (2024-11-12)
4
+
5
+
6
+ ### Features
7
+
8
+ * add an option to keep the navigation bar for android devices ([#2608](https://github.com/Applitools-Dev/sdk/issues/2608)) ([e7647e0](https://github.com/Applitools-Dev/sdk/commit/e7647e0105a7aa47e6bf3b20ab033f1e389ca849))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * @applitools/dom-snapshot bumped to 4.11.9
14
+
15
+ * @applitools/driver bumped to 1.20.0
16
+ #### Features
17
+
18
+ * add an option to keep the navigation bar for android devices ([#2608](https://github.com/Applitools-Dev/sdk/issues/2608)) ([e7647e0](https://github.com/Applitools-Dev/sdk/commit/e7647e0105a7aa47e6bf3b20ab033f1e389ca849))
19
+ * @applitools/spec-driver-webdriver bumped to 1.1.20
20
+
21
+ * @applitools/spec-driver-selenium bumped to 1.5.91
22
+
23
+ * @applitools/spec-driver-puppeteer bumped to 1.4.20
24
+
25
+ * @applitools/screenshoter bumped to 3.10.0
26
+ #### Features
27
+
28
+ * add an option to keep the navigation bar for android devices ([#2608](https://github.com/Applitools-Dev/sdk/issues/2608)) ([e7647e0](https://github.com/Applitools-Dev/sdk/commit/e7647e0105a7aa47e6bf3b20ab033f1e389ca849))
29
+
30
+
31
+
32
+ * @applitools/nml-client bumped to 1.8.18
33
+
34
+ * @applitools/ec-client bumped to 1.9.14
35
+
36
+ * @applitools/core bumped to 4.24.0
37
+ #### Features
38
+
39
+ * add an option to keep the navigation bar for android devices ([#2608](https://github.com/Applitools-Dev/sdk/issues/2608)) ([e7647e0](https://github.com/Applitools-Dev/sdk/commit/e7647e0105a7aa47e6bf3b20ab033f1e389ca849))
40
+
41
+
42
+
43
+
3
44
  ## [1.26.4](https://github.com/Applitools-Dev/sdk/compare/js/eyes@1.26.3...js/eyes@1.26.4) (2024-11-11)
4
45
 
5
46
 
@@ -706,6 +706,19 @@ class ConfigurationData {
706
706
  this.matchTimeout = matchTimeout;
707
707
  return this;
708
708
  }
709
+ get mobileOptions() {
710
+ return this._config.mobileOptions;
711
+ }
712
+ set mobileOptions(mobileOptions) {
713
+ this._config.mobileOptions = mobileOptions;
714
+ }
715
+ getMobileOptions() {
716
+ return this.mobileOptions;
717
+ }
718
+ setMobileOptions(mobileOptions) {
719
+ this.mobileOptions = mobileOptions;
720
+ return this;
721
+ }
709
722
  get parentBranchName() {
710
723
  return this._config.parentBranchName;
711
724
  }
@@ -1092,6 +1105,7 @@ class ConfigurationData {
1092
1105
  ? this.debugScreenshots
1093
1106
  : undefined,
1094
1107
  captureStatusBar: this.captureStatusBar,
1108
+ mobileOptions: this.mobileOptions,
1095
1109
  }),
1096
1110
  check: utils.general.removeUndefinedProps({
1097
1111
  environments: (_b = this.browsersInfo) === null || _b === void 0 ? void 0 : _b.map(browserInfo => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/eyes",
3
- "version": "1.26.4",
3
+ "version": "1.27.0",
4
4
  "keywords": [
5
5
  "applitools",
6
6
  "eyes",
@@ -45,7 +45,7 @@
45
45
  "test": "run --top-level mocha './test/**/*.spec.ts'"
46
46
  },
47
47
  "dependencies": {
48
- "@applitools/core": "4.23.1",
48
+ "@applitools/core": "4.24.0",
49
49
  "@applitools/logger": "2.0.19",
50
50
  "@applitools/utils": "1.7.5"
51
51
  },
@@ -70,6 +70,9 @@ export type Configuration<TSpec extends Core.SpecType = Core.SpecType> = {
70
70
  };
71
71
  matchLevel?: MatchLevel;
72
72
  matchTimeout?: number;
73
+ mobileOptions?: {
74
+ keepNavigationBar?: boolean;
75
+ };
73
76
  parentBranchName?: string;
74
77
  properties?: PropertyData[];
75
78
  proxy?: ProxySettings;
@@ -305,6 +308,18 @@ export declare class ConfigurationData<TSpec extends Core.SpecType = Core.SpecTy
305
308
  set matchTimeout(matchTimeout: number);
306
309
  getMatchTimeout(): number;
307
310
  setMatchTimeout(matchTimeout: number): this;
311
+ get mobileOptions(): {
312
+ keepNavigationBar?: boolean;
313
+ };
314
+ set mobileOptions(mobileOptions: {
315
+ keepNavigationBar?: boolean;
316
+ });
317
+ getMobileOptions(): {
318
+ keepNavigationBar?: boolean;
319
+ };
320
+ setMobileOptions(mobileOptions: {
321
+ keepNavigationBar?: boolean;
322
+ }): this;
308
323
  get parentBranchName(): string;
309
324
  set parentBranchName(parentBranchName: string);
310
325
  getParentBranchName(): string;