5.8.1 • Published 2 years ago

@bazel/protractor v5.8.1

Weekly downloads
5,915
License
Apache-2.0
Repository
github
Last release
2 years ago

Protractor rules for Bazel

The Protractor rules run tests under the Protractor framework with Bazel.

Installation

Add the @bazel/protractor npm package to your devDependencies in package.json.

Known issues with running Chromium for macOS/Windows in Bazel

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:

  • Instruct Bazel to automatically disable runfile tree creation if not needed. More details here
  • Instruct Bazel to use an alternative experimental approach for creating runfile trees. More details here

protractor_web_test

USAGE

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

protractor_web_test_suite

USAGE

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.8.1

2 years ago

5.7.3

3 years ago

5.7.2

3 years ago

5.7.1

3 years ago

5.6.0

3 years ago

5.7.0

3 years ago

5.5.4

3 years ago

5.5.3

3 years ago

5.5.2

3 years ago

5.5.1

3 years ago

5.4.2

3 years ago

5.4.1

3 years ago

5.5.0

3 years ago

5.3.1

3 years ago

5.3.0

3 years ago

5.4.0

3 years ago

5.2.0

3 years ago

5.1.0

3 years ago

5.0.0-rc.0

3 years ago

5.0.0-rc.2

3 years ago

4.6.1

3 years ago

4.6.0

3 years ago

5.0.2

3 years ago

5.0.1

3 years ago

5.0.0

3 years ago

4.6.2

3 years ago

4.5.0

4 years ago

4.4.5

4 years ago

4.4.6

4 years ago

4.4.2

4 years ago

4.4.0

4 years ago

4.3.0

4 years ago

4.2.0

4 years ago

4.1.0

4 years ago

4.0.0

4 years ago

4.0.0-rc.1

4 years ago

3.8.0

4 years ago

4.0.0-rc.0

4 years ago

4.0.0-beta.1

4 years ago

3.7.0

4 years ago

4.0.0-beta.0

4 years ago

3.6.0

4 years ago

3.5.1

4 years ago

3.4.2

4 years ago

3.4.1

4 years ago

3.5.0

4 years ago

3.4.0

4 years ago

3.3.0

4 years ago

3.2.3

4 years ago

3.2.2

4 years ago

3.2.1

4 years ago

3.2.0

4 years ago

3.1.0

4 years ago

2.3.3

4 years ago

3.0.0

5 years ago

2.3.2

5 years ago

3.0.0-rc.1

5 years ago

3.0.0-rc.0

5 years ago

2.3.1

5 years ago

2.3.0

5 years ago

2.2.2

5 years ago

2.2.1

5 years ago

2.2.0

5 years ago

2.1.0

5 years ago

2.0.3

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

2.0.0-rc.3

5 years ago

2.0.0-rc.2

5 years ago

2.0.0-rc.1

5 years ago

2.0.0-rc.0

5 years ago

1.7.0

5 years ago

1.6.1

5 years ago

1.6.0

5 years ago

1.5.0

5 years ago

1.4.1

5 years ago

1.4.0

5 years ago

1.3.0

5 years ago

1.2.4

5 years ago

1.2.2

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.1

5 years ago

1.0.0

6 years ago

0.42.3

6 years ago

0.0.0

6 years ago

0.42.2

6 years ago

0.42.0

6 years ago

0.42.1

6 years ago

0.41.0

6 years ago

0.40.0

6 years ago

0.39.1

6 years ago

0.39.0

6 years ago

0.38.3

6 years ago

0.38.2

6 years ago

0.38.1

6 years ago

0.38.0

6 years ago

0.37.1

6 years ago

0.37.0

6 years ago

0.36.2

6 years ago

0.36.1

6 years ago

0.36.0

6 years ago

0.35.0

6 years ago

0.34.0

6 years ago