Example for @reportportal/agent-js-cypress
Install the packages:
npm installSpecify the following options in the cypress.json:
{
"reporter": "@reportportal/agent-js-cypress",
"reporterOptions": {
"endpoint": "http://your-instance.com:8080/api/v1",
"token": "00000000-0000-0000-0000-000000000000",
"launch": "LAUNCH_NAME",
"project": "PROJECT_NAME",
"description": "PROJECT_DESCRIPTION"
}
}
To run the tests, use the following command:
npm test