wdio-ms-teams-service
TypeScript icon, indicating that this package has built-in type declarations

0.1.9 • Public • Published

wdio-ms-teams-reporter

This service will report your test run results to a Microsoft Teams channel using a webhook.

(note: this has only been tested with WebdriverIO v7)

Setup

Install wdio-ms-teams-service as a devDependency

npm install wdio-ms-teams-service --save-dev

Next, configure your config file

// wdio.conf.js
export.config = {
    // ...
    services: [["ms-teams", {
        webhookURL: "https://your-webhook.url.com/c0ffee",
        failingTestsOnly: true,
    }]]
    // ...
};

Options

webhookURL

The URL of the Microsoft Teams webhook

Example: https://your-webhook.url.com/c0ffee

Type: string

Required: true

failingTestsOnly

Decide whether to report on failures only. If a test has no failures, it will not be reported.

Type: boolean

Default: false

Required: false

message

Provide a custom message to show at the top of each webhook message, default: An automated test run just completed

Type: string (A subset of markdown is supported)

Default: An automated test run just completed

Required: false

timeout

Provide a timeout for the webhook request.

Type number

Default: 10000

Required: false

Author

Marcel Blijleven marcelblijleven@gmail.com

Package Sidebar

Install

npm i wdio-ms-teams-service

Weekly Downloads

17,109

Version

0.1.9

License

MIT

Unpacked Size

25.4 kB

Total Files

24

Last publish

Collaborators

  • marcelblijleven