qualityc
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -12,6 +12,3 @@ const https = require('https') | ||
exports.addLog = function (message) { | ||
post('log', | ||
JSON.stringify({ | ||
data: ' ' + message + ' ' | ||
})) | ||
post('log', message) | ||
} | ||
@@ -18,0 +15,0 @@ |
{ | ||
"name": "qualityc", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Helper methods for qualityc.app", | ||
@@ -11,3 +11,3 @@ "main": "index.js", | ||
"type": "git", | ||
"url": "git+https://github.com/otomatikmuhendis/qualityc-module.git" | ||
"url": "git+https://github.com/qualitycapp/qualityc-module.git" | ||
}, | ||
@@ -25,8 +25,8 @@ "keywords": [ | ||
], | ||
"author": "Olcay Bayram <otomatikmuhendis@yahoo.com> (https://olcay.dev)", | ||
"author": "Olcay Bayram <postbox@olcay.dev> (https://olcay.dev)", | ||
"license": "ISC", | ||
"bugs": { | ||
"url": "https://github.com/otomatikmuhendis/qualityc-module/issues" | ||
"url": "https://github.com/qualitycapp/qualityc-module/issues" | ||
}, | ||
"homepage": "https://github.com/otomatikmuhendis/qualityc-module#readme" | ||
"homepage": "https://github.com/qualitycapp/qualityc-module#readme" | ||
} |
# Qualityc NPM Module | ||
[![npm](https://img.shields.io/npm/v/qualityc.svg?style=flat-square)](http://www.npmjs.com/package/qualityc) | ||
Helper methods for [qualityc.app](https://qualityc.app/) | ||
@@ -7,3 +9,3 @@ | ||
`npm install qualityc` | ||
`npm i qualityc --save-dev` | ||
@@ -18,4 +20,9 @@ ## Usage | ||
Use this method with a screenshot data to create a checkpoint on qualityc.app. | ||
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. | | ||
```js | ||
@@ -29,6 +36,10 @@ driver.takeScreenshot().then(function(screenshot) { | ||
Use this method to create a log message on qualityc.app. | ||
The Add Log command creates a log message on qualityc.app. | ||
| Name | Type | Details | | ||
|-|-|-| | ||
| `message` | string | Log message to be displayed | | ||
```js | ||
qualityc.addLog('Log message') | ||
``` |
3705
4
43
33