machai
v0.20.0
Published
[![CircleCI branch](https://img.shields.io/circleci/project/github/leftshiftone/machai/master.svg?style=flat-square)](https://circleci.com/gh/leftshiftone/machai) [![GitHub tag (latest SemVer)](https://img.shields.io/github/tag/leftshiftone/machai.svg?sty
Downloads
22
Maintainers
Readme
Machai
It's a test suite for Selenium E2E tests.
Supported browsers: Firefox, Safari, Chromium like browsers(Google Chrome, Edge, Opera)
Safari Setup
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.