1. @nightwatch/html-reporter-template
Nightwatch HTML reporter template
@nightwatch/html-reporter-template
Package: @nightwatch/html-reporter-template
Created by: nightwatchjs
Last modified: Wed, 24 Jan 2024 14:14:13 GMT
Version: 0.3.0
License: MIT
Downloads: 192,434
Repository: https://github.com/nightwatchjs/html-reporter

Install

npm install @nightwatch/html-reporter-template
yarn add @nightwatch/html-reporter-template

Nightwatch HTML Reporter template

npm
Discord

This package is used internally by the Nightwatch HTML reporter and it's not designed to be used directly.

This Repo contains template for HTML and VRT Reporter.

🏗 Installation

 npm install @nightwatch/html-reporter-template

🚀 Usage

 const { writeNightwatchHTMLReport } = require('@nightwatch/html-reporter-template');;

/**
 * This function will insert the result object within the HTML **reporter**
 * and add it to the destination folder.
 * The result object will be available in the "window.nightwatchReport" variable.
 *
 */
writeNightwatchHTMLReport(<destFolder>, <destFileName>, <result object>);

Note
You can find about more about function here

🐛 Issues

Issues with this Reporter Template can filed here

If you want to contribute (or have contributed in the past), feel free to add yourself to the list of contributors in the package.json before you open a PR!

👨‍💻 Development

Getting started

🛠️ Node.js and npm are required for the scripts. Make sure it's installed on your machine.

⬇️ Install the dependencies for the nightwatch reporter template

 npm install

🏃 Run the tool

 # To run HTML Reporter
npm run dev:html

# To run VRT Reporter
npm run dev:vrt

👷‍♂️ Build both reporters

 npm run build:html
npm run build:vrt

♻️ Clean build files

 npm run clean

Dependencies

RELATED POST

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin