1.0.1 • Published 5 months ago
nightwatch-lambdatest-endlambda v1.0.1
nightwatch-lambdatest-endlambda
Nightwatch.js custom command for adding test name and status for LambdaTest.
Installation
npm install nightwatch-lambdatest-endlambda
In your nightwatch configuration file you'll want to update your plugins like so:
"plugins": "nightwatch-lambdatest-endlambda"
TypeScript Support
To include the types in your project you can either import 'nightwatch-lambdatest-endlambda'
in your test or in your nightwatch.d.ts
file.
Usage
In your afterEach
before calling end()
you can call browser.endLambda()
like so:
afterEach(function (browser: NightwatchAPI) {
browser.endLambda()
browser.end()
})