cypress-testbench-reporter

1.0.33 • Public • Published

TestBench Reporter for Cypress

Publishes Cypress runs on TestBench CS.

Install

$ npm install cypress-testbench-reporter --save-dev

Usage

Add reporter to your cypress.json:

...
"reporter": "cypress-testbench-reporter",
"reporterOptions": {
  "domain": "https://server.testbench.com",
  "tenantName": "tenantName",
  "username": "username",
  "password": "password",
  "productId": 1,
}

Your Cypress tests should include the ID of your TestBench test case:

// Good:
it("[CYP-123] Can authenticate a valid user", ...

// Bad:
it("(CYP-123) Can authenticate a valid user", ...
it("<CYP-123> Can authenticate a valid user", ...
it("{CYP-123} Can authenticate a valid user", ...

Reporter Options

domain: string domain name of your TestBench CS Server (e.g. https://server01.testbench.com).

tenantName: string name of the tenant to which the user belongs.

username: string login of the user under which the automation should run.

password: string password for the user.

productId: number product under which the automated test cases will be executed.

closeAlreadyRunningAutomation: boolean closes already existing automation, that was not closed properly in previous runs.

Author

Samir Chouaieb - github

License

This project is licensed under the MIT license.

Package Sidebar

Install

npm i cypress-testbench-reporter

Weekly Downloads

4

Version

1.0.33

License

MIT

Unpacked Size

10.6 kB

Total Files

8

Last publish

Collaborators

  • samir-chouaieb