Helper methods for qualityc.app
npm i qualityc --save-dev
const qualityc = require('qualityc')
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)
})
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')