
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
End-to-end frontend 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.
A no-code method to perform and manage frontend tests, handling all of the mess in the background.
Might UI is an easy way to create, manage and edit tests, and Might CLI runs those tests.
npm install --save-dev might-cli
yarn add --dev might-cli
npx might
yarn might
When you run the command for the first time, it will walk you through all the things you need to configure:
More optional configurations are available in
might.config.json, which will be automatically generated after you finish those prompts.
Now you have to create a few tests to run, tests are described inside a file called might.map.json, the easiest way to create tests is with the help of Might UI.
Run npx might -m or yarn might -m to open the UI regardless of it's installed or not;
If you really want to write tests manually (not recommended) look at map.md.
Now that you have at least one test in might.map.json.
The first time each individual test is performed, its outcome (after all the steps) is screenshotted and saved inside a folder in your project directory.
When the test is performed for a second time, a new screenshot is compared with the first screenshot, if both match the test passes, but if they mismatch the test fails and an error diff-image will be created to show the difference between both screenshots).
Run npx might -h or yarn might -h to see additional information about how to run specific tests and skip the rest, how to update failed tests, how to control the amount of parallel tests, and how to get a coverage report.
Please use this Docker image or this GitHub Action.
And here's an example of a project using Might with Github Actions.
Want a feature that we don't have yet?
Any feature requests related to the UI should be requested there.
FAQs
A no-code solution for performing frontend tests
The npm package might-cli receives a total of 3 weekly downloads. As such, might-cli popularity was classified as not popular.
We found that might-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.