Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

If your testing framework is Cucumber.js, SeaLights agent integrates directly with it and reports the test results to the server directly.

Installing Sealights plugin

npm install sealights-cucumber-plugin

Require this package using --require argument to the cucumber command

node_modules/.bin/cucumber-js ./features --require sealights-cucumber-plugin


Using Sealights plugin with Cucumber

From the command line add sealights parameters with --sl- prefix

TBD

Parameter

Description

sl-token

Access token generated from the SeaLights server

sl-tokenFile

Path to file containing access token generated from the SeaLights server

sl-buildSessionId

Session ID of configuration created

sl-buildSessionIdFile

Path to file containing the Session ID of configuration created

sl-testStage

Name of the test stage

sl-labid

Unique ID for a set of test labs in case multiple labs are running simultaneously

sl-proxy

Address of proxy to run connection through


  • No labels