Skip to content

Commit

Permalink
Use Cypress test title in TestRail comments (#48)
Browse files Browse the repository at this point in the history
* Custom Comment : Issue # #47

* Updated only version

---------

Co-authored-by: viji.karthikeyan <[email protected]>
Co-authored-by: Christian <[email protected]>
  • Loading branch information
3 people authored Jan 2, 2024
1 parent bb2f470 commit 5f30614
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cypress-testrail",
"version": "2.8.2",
"version": "2.8.3",
"description": "Easy and decoupled Cypress TestRail reporter",
"private": false,
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/Reporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ class Reporter {
}
}

let comment = 'Tested by Cypress';
let comment = convertedTestResult.getTitle() ? convertedTestResult.getTitle() : 'Tested by Cypress';

// this is already part of the run description
// if it was created dynamically.
Expand Down

0 comments on commit 5f30614

Please sign in to comment.