Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@bazel/protractor
Advanced tools
The Protractor rules run tests under the Protractor framework with Bazel.
Add the @bazel/protractor
npm package to your devDependencies
in package.json
.
For macOS and Windows, Chromium comes with files that contain spaces in their file names. This breaks runfile tree creation within Bazel due to a bug. There are various workarounds that allow for Chromium on these platforms:
USAGE
protractor_web_test(name, configuration, on_prepare, srcs, deps, data, server, tags, peer_deps, protractor_entry_point, kwargs)
Runs a protractor test in a browser.
PARAMETERS
The name of the test
Protractor configuration file.
Defaults to None
A file with a node.js script to run once before all tests run. If the script exports a function which returns a promise, protractor will wait for the promise to resolve before beginning tests.
Defaults to None
JavaScript source files
Defaults to []
Other targets which produce JavaScript such as ts_library
Defaults to []
Runtime dependencies
Defaults to []
Optional server executable target
Defaults to None
Standard Bazel tags, this macro adds one for ibazel
Defaults to []
List of peer npm deps required by protractor_web_test
Defaults to ["@npm//@bazel/protractor", "@npm//protractor"]
A label providing the protractor entry point
Default to :node_modules/protractor/bin/protractor
.
Defaults to Label("@npm//:node_modules/protractor/bin/protractor")
passed through to protractor_web_test
USAGE
protractor_web_test_suite(name, browsers, web_test_data, wrapped_test_tags, kwargs)
Defines a test_suite of web_test targets that wrap a protractor_web_test target.
PARAMETERS
The base name of the test
A sequence of labels specifying the browsers to use.
Defaults to None
Data dependencies for the wrapper web_test targets.
Defaults to []
A list of test tag strings to use for the wrapped karma_web_test target.
Defaults to ["manual", "noci"]
Arguments for the wrapped karma_web_test target.
5.2.0 (2022-03-01)
FAQs
Run Protractor tests under Bazel
The npm package @bazel/protractor receives a total of 13,988 weekly downloads. As such, @bazel/protractor popularity was classified as popular.
We found that @bazel/protractor demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.