This repo contains tests for Cypress.io test application with Testomat.io plugins.
This is a playground for your first steps in testing, so instead of installing it from NPM it is recommended to clone it from repo instead.
git clone git@github.com:testomatio/examples.git && cd examples/cypressInstall dependencies.
npm i- Create empty project in Testomat.io.
- Obtain
{API_KEY}from Testomat.io. - Run
npx check-teststo upload tests data into testomat.io. Pass{API_KEY}asTESTOMATIOenvironment variable:
TESTOMATIO={API_KEY} npx check-tests cypress "**/**.spec.js" -d cypress/**Environment variables It is recommended to store Testomatio
{API_KEY}as environment variable and never save it in the source code. Set them directly when running tests or use dotenv package to save environment variable in a file and load them for tests.
TESTOMATIO={API_KEY} npx cypress run