machai
TypeScript icon, indicating that this package has built-in type declarations

0.20.0 • Public • Published

Machai

CircleCI branch GitHub tag (latest SemVer)

It's a test suite for Selenium E2E tests.

Supported browsers: Firefox, Safari, Chromium like browsers(Google Chrome, Edge, Opera)

Safari Setup

Enable driver

Windows Setup

Download and install driver for Firefox, Chrome and Edge.

Run

Run tests with yarn machai.

Examples

Can be found in e2e.

FAQ

Machai is not working with typescript and ES6 files.

Set "module": "commonjs" in tsconfig.json.

Options

To see all available options run yarn machai --help.

Todo

  • Override the configured url with --url
  • Personal variables can be set with --param : and used in the test, useful for eg login credentials
  • Algorithm that searches for test suits, adds them to the testingcenter runs them afterwards in Machai.ts
  • add -v or --verbose prints nothing, with --json combined it will print the json result
  • add https://github.com/winstonjs/winston for logging
  • add jest
  • use eslint
  • fix logger output file

Release

Releases are triggered locally. Check out this repo via ssh and run the command.

Major

Run yarn trigger-release:major locally.

Minor

Run yarn trigger-release:minor locally.

Patch

Run yarn trigger-release:patch locally.

Package Sidebar

Install

npm i machai

Weekly Downloads

1

Version

0.20.0

License

Apache-2.0

Unpacked Size

33 kB

Total Files

16

Last publish

Collaborators

  • leftshiftone