jest-environment-winappdriver
TypeScript icon, indicating that this package has built-in type declarations

3.0.0 • Public • Published

jest-environment-winappdriver

This package allows Jest to run WebDriverIO tests through WinAppDriver.

Usage

Environment options can be configured through Jest configuration, like the example below:

module.exports = {
...
  testEnvironment: 'jest-environment-winappdriver',
  maxWorkers: 1,
  testEnvironmentOptions: {
    app: 'ReactUWPTestApp',
    webdriverOptions: {
      logLevel: 'error',
      ...
    },
    winAppDriverBin: 'D:\\Program Files (x86)\\Windows Application Driver\\WinAppDriver.exe',
  },
};

WebDriverIO options for initializing a remote may be passed through testEnvironmentOptions.webdriverOptions.

Custom installation paths of WinAppDriver can be specified through testEnvironmentOptions.winAppDriverBin.

Readme

Keywords

none

Package Sidebar

Install

npm i jest-environment-winappdriver

Weekly Downloads

6

Version

3.0.0

License

MIT

Unpacked Size

89.7 kB

Total Files

7

Last publish

Collaborators

  • rnbot
  • microsoft1es