UNPKG

might-ui

Version:

A no-code solution for performing end-to-end tests

38 lines (25 loc) 2.09 kB
[![npm (tag)](https://img.shields.io/npm/v/might-ui/latest)](http://npmjs.com/package/might-ui) End-to-end testing can get very complicated and overwhelming; especially if you need to start testing huge apps, that would take a lot of time and afford, and will be boring and repetitive. ### The Solution A no-code method to perform and manage end-to-end tests, handling all of the mess in the background. [Might UI](https://github.com/ker0olos/Might) is an easy way to create, manage and edit tests, and [Might CLI](https://github.com/ker0olos/might-cli) runs those tests. ### Installation > For a better experience, use Might with a browser that supports the [File System Access API](https://web.dev/file-system-access/); Chrome/Chromium 86+ </br> `npm install --save-dev might-cli might-ui` ### Usage `npx might -m` or `npx might-ui`. After that it opens automatically in your browser, **(to actually run the tests you need to use [might-cli](https://github.com/ker0olos/might-cli)).** - [Waiting](https://github.com/ker0olos/Might/blob/main/src/documentation/wait.md) - [Changing the Viewport](https://github.com/ker0olos/Might/blob/main/src/documentation/viewport.md) - [Going to Different Pages](https://github.com/ker0olos/Might/blob/main/src/documentation/goto.md) - [Setting Media Features](https://github.com/ker0olos/Might/blob/main/src/documentation/media.md) - [Keypresses](https://github.com/ker0olos/Might/blob/main/src/documentation/keyboard.md) - [Hovering](https://github.com/ker0olos/Might/blob/main/src/documentation/hover.md) - [Clicking](https://github.com/ker0olos/Might/blob/main/src/documentation/click.md) - [Dragging Elements](https://github.com/ker0olos/Might/blob/main/src/documentation/drag.md) - [Swiping the Screen](https://github.com/ker0olos/Might/blob/main/src/documentation/swipe.md) - [Typing](https://github.com/ker0olos/Might/blob/main/src/documentation/type.md) [![](./screenshots/1.png)](https://github.com/ker0olos/Might/raw/main/screenshots/1.png) [![](./screenshots/2.png)](https://github.com/ker0olos/Might/raw/main/screenshots/2.png)