1.0.2 • Published 3 years ago
@wefix-tech/wefix v1.0.2
WEFix
For Users
This is a tool to automatically fix web e2e flaky test. To use this tool, your test must be written in JavaScript using Selenium or Cypress for end-to-end testing purpose. You can find in example folder about how a typical test code looks like, and how this tool actually work.
how to install?
# NPM
$ npm install --save-dev @wefix-tech/wefix
# Yarn
$ yarn add --dev @wefix-tech/wefixhow to update to newest version?
# NPM
$ npm update wefix
# Yarn
$ yarn up @wefix-tech/wefixhow to use?
# NPM
$ npx wefix --help # User manual
$ npx wefix ui # Open UI panel on local server
# Yarn
$ yarn wefix --help
$ yarn wefix uiYou can preset the log file path by setting environment variable.
$ FT_LOG_PATH=<path/to/mutations.log>For Developers
How to deploy?
$ npm installHow to minify JS file?
$ npx minify lib/mutationObserver.js > lib/mutationObserver.min.jsHow to publish to NPM?
$ npm run git-push
$ npm run deployHow to test?
$ node bin/wefix.js --help
$ npx nodemon bin/wefix.js uiAll the mutation record will be saved in mutations.log file, located in lib/GUI/public directory.