Skip to content

qualitycapp/qualityc-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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')

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published