Skip to content

glacejs/glace-xvfb

Repository files navigation

Build Status | Source Code | Release Notes

GlaceJS Xvfb plugin

Provides steps for GlaceJS framework to launch tests inside virtual display on Linux machines.

Features

  • Start & stop Xvfb server

Requirements

  • Installed Xvfb server, for example, on ubuntu may be installed with command sudo apt-get install xvfb

How to install

npm i glace-xvfb

How to use

var glaceXvfb = require("glace-xvfb");
glaceXvfb.Steps;
glaceXvfb.config;

If plugin is used as a part of GlaceJS it will be loaded automatically.

CLI options

  • --xvfb - Use Xvfb server to launch autotests.

API

Test examples

See integration tests in order to explore examples.

Tests and quality

  • Project tests report is here
  • Code coverage report is here