Qase TMS Cypress Reporter

Installation
npm install cypress-qase-reporter
Configuration
cypress.json configuration:
{
"reporter": "cypress-qase-reporter",
"reporterOptions": {
"apiToken": "578e3b73a34f06e84eafea103cd44dc24253b2c5",
"projectCode": "PRJCODE",
"runId": 45,
"logging": true # Show debug logs for run
}
}
ENV variables:
QASE_REPORT=1 - enable qase reporter
QASE_RUN_ID=45 - override runId from ENV
Using Reporter
If you want to decorate come test with Qase Case ID you could use qase function:
import { qase } from 'cypress-qase-reporter/dist/mocha';
describe('My First Test', () => {
qase(3,
it('Correct test', () => {
expect(true).to.equal(true);
})
);
qase(4,
it.skip('Skipped test', () => {
expect(true).to.equal(true);
})
);
);
qase(5,
it('Failed test', () => {
expect(true).to.equal(false);
})
);
});
Running Qase Reporter
To start cypress run with qase reporter run it like this:
QASE_REPORT=1 npx cypress run
