zapi-reporter TestCafe reporter plugin.
npm install testcafe-reporter-api-reporter
`
Required Environment Variables
$3
The reporter should be able to read issue keys, infer their issue id, and associate them with a Zephyr execution.
`env
JIRA_USER
JIRA_API_TOKEN
`
Usage
When you run tests from the command line, specify the reporter name by using the --reporter option:
`
testcafe chrome 'path/to/test/file.js' --reporter api-reporter
`
When you use API, pass the reporter name to the reporter() method:
`js
testCafe
.createRunner()
.src('path/to/test/file.js')
.browsers('chrome')
.reporter('api-reporter') // <-
.run();
``