npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

wdio-google-chat-service

v1.0.3

Published

Biblioteca Webdriverio para enviar resultados de testes como notificação/mensagem de folga para espaços do google chat.

Downloads

134

Readme

wdio-google-chat-service

Webdriverio library to send test results as notification/off message to google chat spaces.

Installation

npm install wdio-google-chat-service --save-dev

or

yarn add wdio-google-chat-service

settings

First, import the service into the wdio configuration file wdio.conf.js

// wdio.conf.js
const slack = require('wdio-google-chat-service');

To use the service you need to have the google chat webhook url to send the notification and add the url in 'webhook'

Example:

services: [[GoogleChatService, {
            webhookUrl: 'https://chat.googleapis.com/v1/spaces/xxxxxxxxx/messages?key=xxxxxxxx&token=xxxxxxxxx',
            notifyOnlyOnFailure: false //Send notification only in case of test failure
        }]
],

Getting google chat webhook

Note: Google chat only has the webhook for business accounts. If you use a personal account you should not have the webhook option.

  1. Create a space on google chat
  2. Click the arrow on the chat space name
  3. Click [Manage Webhooks]
  4. Add one or copy the presented webhook Url.
  5. Paste the URL of the webhook in the service inside the option 'webhookUrl' as in the example above.

Features

  • Support for mocha runner
  • Error details
  • Send notification only in case of test failure

Results

Test pass and fail