Web Test rules for Typescript.
ts_web_test_suite
ts_web_test_suite(name, browsers, args, browser_overrides, config, flaky, local, shard_count, size, tags, test_suite_tags, timeout, visibility, web_test_data, wrapped_test_tags)
Defines a test_suite of web_test targets that wrap a ts_web_test target.
Attributes
name |
The base name of the test. |
browsers |
A sequence of labels specifying the browsers to use. |
args |
Args for web_test targets generated by this extension. |
browser_overrides |
Dictionary; optional; default is an empty dictionary. A dictionary mapping from browser names to browser-specific web_test attributes, such as shard_count, flakiness, timeout, etc. For example: {'//browsers:chrome-native': {'shard_count': 3, 'flaky': 1} '//browsers:firefox-native': {'shard_count': 1, 'timeout': 100}}. |
config |
Label; optional; Configuration of web test features. |
flaky |
A boolean specifying that the test is flaky. If set, the test will be retried up to 3 times (default: 0) |
local |
boolean; optional. |
shard_count |
The number of test shards to use per browser. (default: 1) |
size |
A string specifying the test size. (default: 'large') |
tags |
A list of test tag strings to apply to each generated web_test target. This macro adds a couple for ibazel. |
test_suite_tags |
A list of tag strings for the generated test_suite. |
timeout |
A string specifying the test timeout (default: computed from size) |
visibility |
List of labels; optional. |
web_test_data |
Data dependencies for the web_test. |
wrapped_test_tags |
A list of test tag strings to use for the wrapped test **remaining_keyword_args: Arguments for the wrapped test target. |