@applitools/eyes-nightwatch 1.15.6 → 1.15.7

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,34 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.15.7](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-nightwatch@1.15.6...js/eyes-nightwatch@1.15.7) (2023-06-29)
4
+
5
+
6
+ ### Dependencies
7
+
8
+ * @applitools/eyes bumped from 1.4.1 to 1.5.0
9
+ #### Features
10
+
11
+ * added a new mode for taking native app screenshots ([#1682](https://github.com/applitools/eyes.sdk.javascript1/issues/1682)) ([0ab7d96](https://github.com/applitools/eyes.sdk.javascript1/commit/0ab7d96164c89ec65b87654fb271d4404bbf70e5))
12
+
13
+
14
+
15
+ * @applitools/core bumped from 3.3.1 to 3.4.0
16
+ #### Features
17
+
18
+ * added a new mode for taking native app screenshots ([#1682](https://github.com/applitools/eyes.sdk.javascript1/issues/1682)) ([0ab7d96](https://github.com/applitools/eyes.sdk.javascript1/commit/0ab7d96164c89ec65b87654fb271d4404bbf70e5))
19
+
20
+
21
+ #### Bug Fixes
22
+
23
+ * apply default scrolling mode ([f35aba4](https://github.com/applitools/eyes.sdk.javascript1/commit/f35aba454a344c8f0cf787afa2120ce57d91e307))
24
+
25
+
26
+
27
+ * @applitools/nml-client bumped from 1.4.0 to 1.5.0
28
+ #### Features
29
+
30
+ * added a new mode for taking native app screenshots ([#1682](https://github.com/applitools/eyes.sdk.javascript1/issues/1682)) ([0ab7d96](https://github.com/applitools/eyes.sdk.javascript1/commit/0ab7d96164c89ec65b87654fb271d4404bbf70e5))
31
+
3
32
  ## [1.15.6](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-nightwatch@1.15.5...js/eyes-nightwatch@1.15.6) (2023-06-28)
4
33
 
5
34
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/eyes-nightwatch",
3
- "version": "1.15.6",
3
+ "version": "1.15.7",
4
4
  "description": "Applitools Eyes SDK for Nightwatch.js",
5
5
  "keywords": [
6
6
  "eyes-nightwatch",
@@ -48,13 +48,11 @@
48
48
  "test:e2e": "nightwatch --config test/e2e/nightwatch.conf.js --eyes-config applitools.config.js test/e2e/*.spec.js",
49
49
  "test:coverage": "run generate:tests && APPLITOOLS_BATCH_NAME='JS Coverage Tests: eyes-nightwatch' APPLITOOLS_BATCH_ID=$(uuidgen) MOCHA_GROUP=coverage run --top-level mocha './test/generic/*.spec.js' -r @applitools/test-utils/mocha-hooks/docker --parallel --jobs ${MOCHA_JOBS:-15} --exit",
50
50
  "setup": "run --top-level browsers:setup",
51
- "up:framework": "run --top-level add-silent nightwatch",
52
- "report": "bongo report --name 'nightwatch' --result-path './logs' --meta-path './logs'"
51
+ "up:framework": "run --top-level add-silent nightwatch"
53
52
  },
54
- "notificationName": "nightwatch",
55
53
  "dependencies": {
56
54
  "@applitools/driver": "1.12.4",
57
- "@applitools/eyes": "1.4.1",
55
+ "@applitools/eyes": "1.5.0",
58
56
  "@applitools/spec-driver-webdriver": "1.0.36",
59
57
  "@applitools/utils": "1.5.0",
60
58
  "webdriver": "7.27.0"
package/types/index.d.ts CHANGED
@@ -5,6 +5,7 @@ export type SpecType = { driver: Driver; context: Driver; element: Element; sele
5
5
  export class Eyes {
6
6
  static setViewportSize: (driver: Driver, viewportSize: RectangleSize) => Promise<void>;
7
7
  static getExecutionCloudUrl(config?: undefined | ConfigurationPlain): Promise<string>;
8
+ static setMobileCapabilities<TCapabilities extends Record<string, any>>(capabilities: TCapabilities, config?: undefined | ConfigurationPlain): TCapabilities;
8
9
  constructor(runner?: undefined | EyesRunner, config?: undefined | ConfigurationPlain);
9
10
  constructor(config?: undefined | ConfigurationPlain);
10
11
  get logger(): Logger;
@@ -31,6 +32,7 @@ export class Eyes {
31
32
  off(event: string): void;
32
33
  off(handler: (...args: Array<any>) => any): void;
33
34
  getExecutionCloudUrl(): Promise<string>;
35
+ setMobileCapabilities<TCapabilities extends Record<string, any>>(capabilities: TCapabilities): TCapabilities;
34
36
  open(driver: Driver, config?: undefined | ConfigurationPlain): Promise<Driver>;
35
37
  open(driver: Driver, appName?: undefined | string, testName?: undefined | string, viewportSize?: undefined | RectangleSizePlain, sessionType?: undefined | SessionTypePlain): Promise<Driver>;
36
38
  open(config?: undefined | ConfigurationPlain): Promise<void>;
@@ -203,9 +205,8 @@ export type CheckSettingsAutomationPlain = CheckSettingsImagePlain & {
203
205
  disableBrowserFetching?: undefined | boolean;
204
206
  layoutBreakpoints?: undefined | boolean | Array<number> | { breakpoints: boolean | Array<number>; reload?: undefined | boolean; };
205
207
  visualGridOptions?: undefined | { [key: string]: any; };
206
- nmgOptions?: undefined | { [key: string]: any; };
208
+ useSystemScreenshot?: undefined | boolean;
207
209
  hooks?: undefined | { beforeCaptureScreenshot: string; };
208
- renderId?: undefined | string;
209
210
  timeout?: undefined | number;
210
211
  waitBeforeCapture?: undefined | number;
211
212
  lazyLoad?: undefined | boolean | { scrollLength?: undefined | number; waitingTime?: undefined | number; maxAmountToScroll?: undefined | number; };
@@ -237,9 +238,7 @@ export class CheckSettingsAutomation {
237
238
  ufgOptions(options: { [key: string]: any; }): CheckSettingsAutomation;
238
239
  visualGridOption(key: string, value: any): CheckSettingsAutomation;
239
240
  visualGridOptions(options: { [key: string]: any; }): CheckSettingsAutomation;
240
- nmgOption(key: string, value: any): CheckSettingsAutomation;
241
- nmgOptions(options: { [key: string]: any; }): CheckSettingsAutomation;
242
- renderId(renderId: string): CheckSettingsAutomation;
241
+ useSystemScreenshot(useSystemScreenshot: boolean): CheckSettingsAutomation;
243
242
  timeout(timeout: number): CheckSettingsAutomation;
244
243
  waitBeforeCapture(waitBeforeCapture: number): CheckSettingsAutomation;
245
244
  lazyLoad(options?: undefined | boolean): CheckSettingsAutomation;