Skip to content

Commit

Permalink
Merge pull request #30 from sakalaca/cypress_v10_support
Browse files Browse the repository at this point in the history
Update reporter to be able to use with Cypress v10
  • Loading branch information
milosh012 authored Jul 18, 2022
2 parents 52a26e3 + 7d58bf5 commit adb4f75
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 3 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ Core features:
* Multi suite project support (set **suiteId=1** in **cypress.json** or set it as a part of runtime environment variables as **testRailSuiteId=1**)
* Reporting retest status of a test cases - handy in terms of marking tests as flaky (test is reported with retest status for the first try and after second try it passes) Note: cypress retry logic must be enabled for this feature.

**Important note:** Keep your tests under the one of the following folder structure:

* `cypress/e2e` - default path for Cypress v10 and above
* `cypress/integration` - default path for Cypress v9 and bellow
* `cypress/tests`

## Install

Expand Down
2 changes: 1 addition & 1 deletion dist/cypress-testrail-reporter.js

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

2 changes: 1 addition & 1 deletion dist/cypress-testrail-reporter.js.map

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

1 change: 1 addition & 0 deletions dist/testrail.validation.js

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

2 changes: 1 addition & 1 deletion dist/testrail.validation.js.map

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

1 change: 1 addition & 0 deletions src/lib/testrail.validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ export class TestRailValidation {
value = cliArgs[index];
if (
value.includes("cypress/integration") === true ||
value.includes("cypress/e2e") === true ||
value.includes("cypress/tests") === true
) {
result = value;
Expand Down

0 comments on commit adb4f75

Please sign in to comment.