This repository contains a demo of Suitest JS API e2e tests with Cucumber test runner.
-
Copy
.suitestrc.dist
file as.suitestrc
and fill in it's contents with your values according to documentation. .suitestrc.base.json, .suitestrc.json, .suitestrc.parallel.json - are example of defining configuration files for running single or several devices. -
In terminal run
npm ci
. -
Run
npm run start
for run tests on single device ornpm run parallel
for run tests for several devices.
You can find some Suitest tests written for WatchMe app (every Suitest account has this app by default). Those tests rely on some elements from Suitest "Element repository" and configuration where base url set to https://watchme.suite.st/hbbtv.html - HbbTv configuration in WatchMe app. So make sure you properly adjusted .suitestrc file.