
Security News
Critical Security Vulnerability in React Server Components
React disclosed a CVSS 10.0 RCE in React Server Components and is advising users to upgrade affected packages and frameworks to patched versions now.
@madlan145/wdio-5-testrail-reporter
Advanced tools
#Testrail Reporter adaptation for Webdriver.io 5
Pushes test results into Testrail system. Fork from mocha testrail reporter
$ npm install wdio-5-testrail-reporter --save-dev
Ensure that your testrail installation API is enabled and generate your API keys. See http://docs.gurock.com/
Add reporter to wdio.conf.js:
let WdioTestRailReporter = require('wdio-5-testrail-reporter');
...
reporters: [[WdioTestRailReporter, {
domain: "yourdomain.testrail.net",
username: "username",
password: "password",
projectId: 1,
suiteId: 1,
runName: "My test run"
}]]
Mark your mocha suite names with ID of Testrail test suites. Ensure that your suite ids are well distinct from descriptions.
describe("S23 S24 Authenticate with invalid user", . . .
describe("Authenticate a valid user S21", . . .
Mark your mocha test names with ID of Testrail test cases. Ensure that your case ids are well distinct from test descriptions.
it("C123 C124 Authenticate with invalid user", . . .
it("Authenticate a valid user C321", . . .
Only passed or failed tests will be published. Skipped or pending tests will not be published resulting in a "Pending" status in testrail test run.
domain: string domain name of your Testrail instance (e.g. for a hosted instance instance.testrail.net)
username: string user under which the test run will be created (e.g. jenkins or ci)
password: string password or API token for user
projectId: number projet number with which the tests are associated
suiteId: number suite number with which the tests are associated
assignedToId: number (optional) user id which will be assigned failed tests
You can use next command to generate sections/cases based on your tests in test real:
node scripts/generate-cases.js {path_to_your_wdio.conf} {path_o_your_mail_test_folders}
Example: You have tests structure:
- node_modules
- test-project
-- wdio.conf.js
-- tests
--- test-group-1
---- test-1.js
--- test-group-2
---- test-sub-group-1
----- test-2.js
----- test-3.js
---- test-sub-groop-2
----- test-4.js
Command:
node node_modules/wdio-5-testrail-reporter/scripts/generate-cases.js test-project/wdio.conf.js test-project/tests
will create in test rail:
also test files (test-1.js - test-4.js) will be updated: id of case will be added to it() function
FAQs
A WebdriverIO plugin to report testrail service
We found that @madlan145/wdio-5-testrail-reporter demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 32 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
React disclosed a CVSS 10.0 RCE in React Server Components and is advising users to upgrade affected packages and frameworks to patched versions now.

Research
/Security News
We spotted a wave of auto-generated “elf-*” npm packages published every two minutes from new accounts, with simple malware variants and early takedowns underway.

Security News
TypeScript 6.0 will be the last JavaScript-based major release, as the project shifts to the TypeScript 7 native toolchain with major build speedups.