To install: npm install
To run demo test locally: node testrunner.js
more info on testRunner: http://devexpress.github.io/testcafe/documentation/using-testcafe/programming-interface/runner.html
if you want to run on saucelab:
export SAUCE_USERNAME="your Sauce username"
export SAUCE_ACCESS_KEY="your sauce access key"
also change your browser/s here: localConfig.json:
{
"desktop": {
"testsFolder": "tests/srp/",
"browser": [
"saucelabs:iPad [email protected]","saucelabs:Samsung Galaxy S8 WQHD GoogleAPI [email protected]","saucelabs:Chrome","saucelabs:Safari","saucelabs:Internet Explorer","saucelabs:Firefox"
]
}
then same commmand node testrunner.js