testplane 8.31.3 → 8.31.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testplane",
3
- "version": "8.31.3",
3
+ "version": "8.31.4",
4
4
  "description": "Tests framework based on mocha and wdio",
5
5
  "main": "build/src/index.js",
6
6
  "files": [
@@ -4,6 +4,6 @@ type MoveToOptions = {
4
4
  xOffset?: number;
5
5
  yOffset?: number;
6
6
  };
7
- export type MoveCursorToCommand = (this: WebdriverIO.Element | ChainablePromiseElement<WebdriverIO.Element>, options: MoveToOptions) => Promise<void>;
7
+ export type MoveCursorToCommand = (this: WebdriverIO.Element | ChainablePromiseElement<WebdriverIO.Element>, options?: MoveToOptions) => Promise<void>;
8
8
  declare const _default: (browser: Browser) => void;
9
9
  export default _default;
@@ -318,9 +318,13 @@ export interface SetsConfigParsed {
318
318
  ignoreFiles: Array<string>;
319
319
  browsers: Array<string>;
320
320
  }
321
- type PartialCommonConfig = Partial<Omit<CommonConfig, "system" | "timeTravel">> & {
321
+ type PartialCommonConfig = Partial<Omit<CommonConfig, "system" | "timeTravel" | "takeScreenshotOnFails" | "lastFailed" | "openAndWaitOpts" | "devServer">> & {
322
322
  system?: Partial<SystemConfig>;
323
323
  timeTravel?: TimeTravelMode | TimeTravelConfig;
324
+ takeScreenshotOnFails?: Partial<CommonConfig["takeScreenshotOnFails"]>;
325
+ lastFailed?: Partial<CommonConfig["lastFailed"]>;
326
+ openAndWaitOpts?: Partial<CommonConfig["openAndWaitOpts"]>;
327
+ devServer?: Partial<CommonConfig["devServer"]>;
324
328
  };
325
329
  export type ConfigInput = Partial<PartialCommonConfig> & {
326
330
  browsers: Record<string, PartialCommonConfig & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testplane",
3
- "version": "8.31.3",
3
+ "version": "8.31.4",
4
4
  "description": "Tests framework based on mocha and wdio",
5
5
  "main": "build/src/index.js",
6
6
  "files": [