JSPM

qualityc

0.1.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q9392F
  • License ISC

Helper methods for qualityc.app

Package Exports

  • qualityc

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (qualityc) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Qualityc NPM Module

npm

Helper methods for qualityc.app

Install

npm i qualityc --save-dev

Usage

const qualityc = require('qualityc')

addCheckpoint

The Add Checkpoint command creates a checkpoint on qualityc.app with a screenshot.

Name Type Details
name string Checkpoint name to be displayed
screenshot string The base64-encoded PNG image data comprising the screenshot.
driver.takeScreenshot().then(function(screenshot) {
    qualityc.addCheckpoint('Checkpoint name', screenshot)
})

addLog

The Add Log command creates a log message on qualityc.app.

Name Type Details
message string Log message to be displayed
qualityc.addLog('Log message')