Skip to content

Publishes WebdriverIO runs on QualityWatcher. This reporter works in conjunction with the @qualitywatcher/wdio-service

Notifications You must be signed in to change notification settings

QualityWorksCG/qualitywatcher.wdio-reporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QualityWatcher Reporter for Webdriverio

Publishes WebdriverIO runs on QualityWatcher.

This reporter works in conjunction with the @qualitywatcher/wdio-service

Install

$ npm install @qualitywatcher/wdio-reporter --save-dev

or

yarn add -D @qualitywatcher/wdio-reporter

Usage

  1. Import QualityWatcher reporter to your config file wdio.conf.js
import QualityWatcherReporter from "@qualitywatcher/wdio-reporter";

or

const QualityWatcherReporter = require("@qualitywatcher/wdio-reporter");
  1. Add QualityWatcher reporter to the list of reporters in your config file wdio.conf.js:
reporters: ['spec', QualityWatcherReporter],
  1. Your WebdriverIO tests should include 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", ...
  1. Install @qualitywatcher/wdio-service this reporter works in conjunction with that service.

NB: To ensure that we can handle retries properly, we had to make a compromise that all test suite (using the describe block in your code base) must have a unique name.

About

Publishes WebdriverIO runs on QualityWatcher. This reporter works in conjunction with the @qualitywatcher/wdio-service

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published