Handle error when invalid tags provided in py_web_test_suite and go_web_test_suite.
If tags[browser_name] is missing, below erorr will be raised.
File ".../.cache/bazel/53d5c478a9b654e0091a6804f2465ac0/external/io_bazel_rules_webtesting/web/web.bzl", line 114, column 22, in _get_kwargs
if not out_kwargs["tags"]:
Error: key "tags" not found in dictionary
After apply this PR, error message improved.
Error in fail: expeted "default" or "chromium-local" dict key in tags argument.
Example patch to reproduce error. (You can git apply to apply)
After apply this patch, run bazel build //testing/web:webtest_test_chromium-local to reproduce error.
Handle error when invalid
tags
provided inpy_web_test_suite
andgo_web_test_suite
. Iftags[browser_name]
is missing, below erorr will be raised.After apply this PR, error message improved.
Example patch to reproduce error. (You can
git apply
to apply) After apply this patch, runbazel build //testing/web:webtest_test_chromium-local
to reproduce error.