
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
protractor-error
Advanced tools
A protractor runner that allows you to run errors from previous runs.
A Jasmine wrapper for re-running failed Jasmine tests in Protractor.
npm install --save-dev protractor-errors
or npm install -g protractor-errors
to add cli
Require the protractor-error module inside the Protractor config onPrepare
function. This will execute the function
that adds a JUnitXmlReporter
to the Jasmine environment. If the params.errorsRun
flag is set, the module will execute only errored specs
from the most recent run inside the directory params.errorsPath
. The error output is written to the directory
params.errorsPath
+ params.currentTime
.
The module is configured by passing the following args or setting them inside the Protractor config:
params.errorsPath
: string, directory where the JUnitXmlReporter
will write output and the module will look for previous run data. I
recommend setting this in the Protractor configuration file since this should not change often.
params.currentTime
: string, timestamp of the current test run. Triggering the test with the protractor-error
cli runner will
set this value automatically.
params.errorsRun
?: boolean, default false
, should the module limit the current run to previous errors
params.errorsTag
?: string, mark the current run/reference previously tagged run for errors
Example:
protractor config.js --params.errorsPath 'jasmineReports' --params.currentTime '2017-01-24T23:53:06' --params.errorRun true
or
protractor-errors config.js --params.errorsPath 'jasmineReports' --params.errorRun true
To automate setting the param.currentTime
argument, trigger your protractor tests using the cli.
To run, either install protractor-errors
globally and call: protractor-errors <config> [args]
from the command line, with
the same parameters you would call protractor
. Or call the script by referencing the node_modules file directly:
./node_modules/protractor-errors/bin/protractor-errors.js <config> [args]
.
FAQs
A protractor runner that allows you to run errors from previous runs.
The npm package protractor-error receives a total of 3 weekly downloads. As such, protractor-error popularity was classified as not popular.
We found that protractor-error demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.