
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@qualitywatcher/wdio-service
Advanced tools
This @qualitywatcher/wdio-service works in conjunction with the @qualitywatcher/wdio-reporter
$ npm install @qualitywatcher/wdio-service --save-dev
@qualitywatcher/wdio-serviceimport QualityWatcherService from "@qualitywatcher/wdio-service";
services: [[QualityWatcherService, {
email: 'user@domain.com',
apiKey: process.env.QUALITYWATCHER_API_KEY,
testRunName: "Sample Automation results",
description: 'This is a sample test run from our sample test automation.',
projectId: 100,
includeAllCases: true,
// use more optional options
report: true,
includeCaseWithoutId: true,
complete: false,
ignoreSkipped: true,
generateShareableLink: true,
parentSuiteTitle: "Smoke suite",
screenshotFolder: "./screenshots",
uploadScreenshot: true,
}]],
Full reporter options
| Option | Required | Description |
|---|---|---|
| projectId | Yes | The ID of the project. |
| testRunName | Yes | The name of the test run. |
| description | Yes | A description of the test run. |
| includeAllCases | Yes | Whether to include all test cases from any suite that at least one automated result belongs to in the created run. |
| complete | No | If true, marks the test run as complete. |
| includeCaseWithoutId | No | Include test cases even if they don't have Suite and Case IDs mapping, this will create new test case/s in QualityWatcher from results. |
| report | No | If true, send results to QualityWatcher. |
| ignoreSkipped | No | If true, skipped tests will be ignored. |
| generateShareableLink | No | If true, generates a shareable link for the report. |
| parentSuiteTitle | No | The suite where test cases without IDs will be added. |
| screenshotFolder | No | The folder where screenshots are stored. |
| uploadScreenshot | No | If true, uploads screenshots with the report. |
.env file in the root of your project and add your API KEY, or update an existing .envtouch .env
echo "QUALITYWATCHER_API_KEY=[API Key]" >> .env
# For windows:
# type NUL > .env
# echo QUALITYWATCHER_API_KEY=[API Key] > .env
wdio.conf.{ts|js}
require("dotenv").config();
If you don't have any tests in QualityWatcher you can still push your results and create new tests by enabling
includeCaseWithoutIdin the service options.
OR
If you have existing test cases ensure that your WebdriverIO tests includes the ID of your QualityWatcher test case and suite that it belongs to. Make sure the suite and test case IDs are distinct from your test titles:
// Good:
it("[S12C1234] Can authenticate a valid user", ...
it("Can authenticate a valid user [S12C1234]", ...
// Bad:
it("S12C123Can authenticate a valid user", ...
it("Can authenticate a valid userS5C123", ...
When saving screenshots, ensure that whitespace/s in the name are replaced with "_", without this QualityWatcher will not be able to find screenshots for uploading. See example below:
afterEach(async function () {
// Take a screenshot after each test/assertion
const testName = this.currentTest?.fullTitle().replace(/\s/g, '_');
const screenshotPath = `./screenshots/${testName}.png`;
await browser.saveScreenshot(screenshotPath);
});
emailType: String
(optional)
Email address associated with the account
apiKeyType: String
(required)
Get API Key from QualityWatcher
testRunNameType: String
(required)
Title for the test run
descriptionType: String
(required)
Description for the test run
projectIdType: Number
(required)
The id for the project that include the tests
includeAllCasesType: Boolean
(required)
whether or not to include all test cases from each test suite used
FAQs
WebdriverIO Service for QualityWatcher
We found that @qualitywatcher/wdio-service demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.