diff --git a/common/private/zip_file.bzl b/common/private/zip_file.bzl index b013ec16b3dc2..24fc6c4252223 100644 --- a/common/private/zip_file.bzl +++ b/common/private/zip_file.bzl @@ -1,11 +1,10 @@ - def _expand(files, ex): expanded = [] for f in files: - more_f = ex.expand(f) - for mf in more_f: - if not mf.is_directory: - expanded.append("%s=%s" % (mf.short_path, mf.path)) + more_f = ex.expand(f) + for mf in more_f: + if not mf.is_directory: + expanded.append("%s=%s" % (mf.short_path, mf.path)) return expanded @@ -16,7 +15,7 @@ def _zip_file_impl(ctx): args = ctx.actions.args() args.add_all(["Cc", output]) - args.add_all([ctx.files.srcs], map_each=_expand) + args.add_all([ctx.files.srcs], map_each = _expand) ctx.actions.run( executable = ctx.executable._zip, @@ -32,17 +31,17 @@ def _zip_file_impl(ctx): zip_file = rule( _zip_file_impl, attrs = { - "extension": attr.string( - default = "zip", - ), - "srcs": attr.label_list( - allow_empty = True, - allow_files = True, - ), - "_zip": attr.label( - default = "@bazel_tools//tools/zip:zipper", - executable = True, - cfg = "host", - ), + "extension": attr.string( + default = "zip", + ), + "srcs": attr.label_list( + allow_empty = True, + allow_files = True, + ), + "_zip": attr.label( + default = "@bazel_tools//tools/zip:zipper", + executable = True, + cfg = "host", + ), }, ) diff --git a/java/client/test/org/openqa/selenium/devtools/BUILD.bazel b/java/client/test/org/openqa/selenium/devtools/BUILD.bazel index e953435d50275..79b9166660580 100644 --- a/java/client/test/org/openqa/selenium/devtools/BUILD.bazel +++ b/java/client/test/org/openqa/selenium/devtools/BUILD.bazel @@ -17,7 +17,7 @@ java_selenium_test_suite( "//java/client/src/org/openqa/selenium/json", "//java/client/src/org/openqa/selenium/remote", "//java/client/src/org/openqa/selenium/support", - "//java/client/test/org/openqa/selenium/environment:environment", + "//java/client/test/org/openqa/selenium/environment", "//java/client/test/org/openqa/selenium/testing:annotations", "//java/client/test/org/openqa/selenium/testing:test-base", artifact("com.google.guava:guava"), diff --git a/java/client/test/org/openqa/selenium/os/BUILD.bazel b/java/client/test/org/openqa/selenium/os/BUILD.bazel index eb5e65653dd95..d1d17f9354d6d 100644 --- a/java/client/test/org/openqa/selenium/os/BUILD.bazel +++ b/java/client/test/org/openqa/selenium/os/BUILD.bazel @@ -6,7 +6,7 @@ java_test_suite( size = "small", srcs = glob(["*Test.java"]), data = [ - ":echo" + ":echo", ], deps = [ "//java/client/src/org/openqa/selenium:core", @@ -20,8 +20,8 @@ java_test_suite( java_binary( name = "echo", - main_class = "org.openqa.selenium.os.Echo", srcs = [ "Echo.java", ], + main_class = "org.openqa.selenium.os.Echo", ) diff --git a/java/private/test.bzl b/java/private/test.bzl index 384675d62aaa9..e3f4378af23a3 100644 --- a/java/private/test.bzl +++ b/java/private/test.bzl @@ -109,16 +109,16 @@ def java_test_suite( ) if name in srcs: - native.test_suite( - name = "%s-suite" % name, - tests = tests, - tags = ["manual"] + tags, - visibility = visibility, - ) + native.test_suite( + name = "%s-suite" % name, + tests = tests, + tags = ["manual"] + tags, + visibility = visibility, + ) else: native.test_suite( - name = name, - tests = tests, - tags = ["manual"] + tags, - visibility = visibility, + name = name, + tests = tests, + tags = ["manual"] + tags, + visibility = visibility, ) diff --git a/java/server/src/org/openqa/selenium/grid/security/BUILD.bazel b/java/server/src/org/openqa/selenium/grid/security/BUILD.bazel index 838636545230b..2851617b9ac82 100644 --- a/java/server/src/org/openqa/selenium/grid/security/BUILD.bazel +++ b/java/server/src/org/openqa/selenium/grid/security/BUILD.bazel @@ -1,13 +1,13 @@ java_library( name = "security", srcs = glob(["*.java"]), + visibility = [ + "//java/server/src/org/openqa/selenium/grid:__subpackages__", + "//java/server/test/org/openqa/selenium/grid:__subpackages__", + ], deps = [ "//java/client/src/org/openqa/selenium:core", "//java/client/src/org/openqa/selenium/json", "//java/client/src/org/openqa/selenium/remote/http", ], - visibility = [ - "//java/server/src/org/openqa/selenium/grid:__subpackages__", - "//java/server/test/org/openqa/selenium/grid:__subpackages__", - ] ) diff --git a/java/server/src/org/openqa/selenium/grid/sessionqueue/BUILD.bazel b/java/server/src/org/openqa/selenium/grid/sessionqueue/BUILD.bazel index 19dc555e5b036..f6d5ee551c8fa 100644 --- a/java/server/src/org/openqa/selenium/grid/sessionqueue/BUILD.bazel +++ b/java/server/src/org/openqa/selenium/grid/sessionqueue/BUILD.bazel @@ -15,10 +15,10 @@ java_library( "//java/client/src/org/openqa/selenium/json", "//java/client/src/org/openqa/selenium/remote", "//java/client/src/org/openqa/selenium/remote/http", - "//java/server/src/org/openqa/selenium/grid/data", - "//java/server/src/org/openqa/selenium/status", "//java/server/src/org/openqa/selenium/events", + "//java/server/src/org/openqa/selenium/grid/data", "//java/server/src/org/openqa/selenium/grid/log", + "//java/server/src/org/openqa/selenium/status", artifact("com.google.guava:guava"), ], -) \ No newline at end of file +) diff --git a/java/server/src/org/openqa/selenium/grid/sessionqueue/httpd/BUILD.bazel b/java/server/src/org/openqa/selenium/grid/sessionqueue/httpd/BUILD.bazel index 4bf4d70298e95..98e8af8b4765f 100644 --- a/java/server/src/org/openqa/selenium/grid/sessionqueue/httpd/BUILD.bazel +++ b/java/server/src/org/openqa/selenium/grid/sessionqueue/httpd/BUILD.bazel @@ -16,8 +16,8 @@ java_library( "//java/server/src/org/openqa/selenium/grid/config", "//java/server/src/org/openqa/selenium/grid/server", "//java/server/src/org/openqa/selenium/grid/sessionqueue", - "//java/server/src/org/openqa/selenium/grid/sessionqueue/local", "//java/server/src/org/openqa/selenium/grid/sessionqueue/config", + "//java/server/src/org/openqa/selenium/grid/sessionqueue/local", "//java/server/src/org/openqa/selenium/netty/server", artifact("com.beust:jcommander"), artifact("com.google.guava:guava"), diff --git a/java/server/src/org/openqa/selenium/grid/sessionqueue/local/BUILD.bazel b/java/server/src/org/openqa/selenium/grid/sessionqueue/local/BUILD.bazel index 7d6533361bb4b..ec1d0f3c4ae0e 100644 --- a/java/server/src/org/openqa/selenium/grid/sessionqueue/local/BUILD.bazel +++ b/java/server/src/org/openqa/selenium/grid/sessionqueue/local/BUILD.bazel @@ -1,10 +1,11 @@ load("@rules_jvm_external//:defs.bzl", "artifact") + java_library( name = "local", srcs = glob(["*.java"]), visibility = [ - "//java/server/src/org/openqa/selenium/grid/commands:__pkg__", "//java/server/src/org/openqa/selenium/grid:__subpackages__", + "//java/server/src/org/openqa/selenium/grid/commands:__pkg__", "//java/server/test/org/openqa/selenium/grid:__subpackages__", ], deps = [ @@ -16,6 +17,6 @@ java_library( "//java/server/src/org/openqa/selenium/grid/server", "//java/server/src/org/openqa/selenium/grid/sessionqueue", "//java/server/src/org/openqa/selenium/grid/sessionqueue/config", - artifact("com.google.guava:guava"), + artifact("com.google.guava:guava"), ], ) diff --git a/java/server/src/org/openqa/selenium/grid/sessionqueue/remote/BUILD.bazel b/java/server/src/org/openqa/selenium/grid/sessionqueue/remote/BUILD.bazel index 818508ac36974..225d07c24992d 100644 --- a/java/server/src/org/openqa/selenium/grid/sessionqueue/remote/BUILD.bazel +++ b/java/server/src/org/openqa/selenium/grid/sessionqueue/remote/BUILD.bazel @@ -1,22 +1,22 @@ load("@rules_jvm_external//:defs.bzl", "artifact") + java_library( name = "remote", srcs = glob(["*.java"]), visibility = [ "//java/server/src/org/openqa/selenium/grid:__subpackages__", - "//java/server/test/org/openqa/selenium/grid/sessionqueue:__pkg__", "//java/server/test/org/openqa/selenium/grid/router:__pkg__", + "//java/server/test/org/openqa/selenium/grid/sessionqueue:__pkg__", ], deps = [ - "//java/client/src/org/openqa/selenium/remote", - "//java/server/src/org/openqa/selenium/grid/config", - "//java/server/src/org/openqa/selenium/grid/data", - "//java/server/src/org/openqa/selenium/grid/log", - "//java/server/src/org/openqa/selenium/grid/server", - "//java/server/src/org/openqa/selenium/grid/sessionqueue", - "//java/server/src/org/openqa/selenium/grid/sessionqueue/config", - "//java/server/src/org/openqa/selenium/grid/web", - artifact("com.google.guava:guava"), + "//java/client/src/org/openqa/selenium/remote", + "//java/server/src/org/openqa/selenium/grid/config", + "//java/server/src/org/openqa/selenium/grid/data", + "//java/server/src/org/openqa/selenium/grid/log", + "//java/server/src/org/openqa/selenium/grid/server", + "//java/server/src/org/openqa/selenium/grid/sessionqueue", + "//java/server/src/org/openqa/selenium/grid/sessionqueue/config", + "//java/server/src/org/openqa/selenium/grid/web", + artifact("com.google.guava:guava"), ], ) - diff --git a/java/server/test/org/openqa/selenium/events/BUILD.bazel b/java/server/test/org/openqa/selenium/events/BUILD.bazel index d98d82211889a..455d855a5105b 100644 --- a/java/server/test/org/openqa/selenium/events/BUILD.bazel +++ b/java/server/test/org/openqa/selenium/events/BUILD.bazel @@ -14,5 +14,5 @@ java_test_suite( artifact("junit:junit"), artifact("org.assertj:assertj-core"), artifact("org.zeromq:jeromq"), - ] + ], ) diff --git a/java/server/test/org/openqa/selenium/grid/sessionqueue/BUILD.bazel b/java/server/test/org/openqa/selenium/grid/sessionqueue/BUILD.bazel index 8da6d23833bbe..3b1fedc4304a1 100644 --- a/java/server/test/org/openqa/selenium/grid/sessionqueue/BUILD.bazel +++ b/java/server/test/org/openqa/selenium/grid/sessionqueue/BUILD.bazel @@ -6,6 +6,7 @@ java_test_suite( size = "small", srcs = glob(["*Test.java"]), deps = [ + "//java/client/src/org/openqa/selenium/json", "//java/client/src/org/openqa/selenium/remote", "//java/client/src/org/openqa/selenium/support", "//java/client/test/org/openqa/selenium/remote/tracing:tracing-support", @@ -16,7 +17,6 @@ java_test_suite( "//java/server/src/org/openqa/selenium/grid/sessionqueue/local", "//java/server/src/org/openqa/selenium/grid/sessionqueue/remote", "//java/server/test/org/openqa/selenium/grid/testing", - "//java/client/src/org/openqa/selenium/json", artifact("junit:junit"), artifact("io.opentelemetry:opentelemetry-api"), artifact("org.assertj:assertj-core"), diff --git a/java/server/test/org/openqa/selenium/grid/web/BUILD.bazel b/java/server/test/org/openqa/selenium/grid/web/BUILD.bazel index adbf4c32630b5..21fec35536165 100644 --- a/java/server/test/org/openqa/selenium/grid/web/BUILD.bazel +++ b/java/server/test/org/openqa/selenium/grid/web/BUILD.bazel @@ -5,12 +5,12 @@ java_test_suite( name = "SmallTests", size = "small", srcs = glob(["*Test.java"]), - tags = [ - "no-sandbox", - ], resources = [ "packaged-file.txt", ], + tags = [ + "no-sandbox", + ], deps = [ "//java/client/src/org/openqa/selenium/json", "//java/client/src/org/openqa/selenium/remote", diff --git a/javascript/grid-ui/BUILD.bazel b/javascript/grid-ui/BUILD.bazel index 02317a3b572f3..0d927bded4d64 100644 --- a/javascript/grid-ui/BUILD.bazel +++ b/javascript/grid-ui/BUILD.bazel @@ -70,11 +70,11 @@ react_scripts( zip_file( name = "react_jar", - extension = "jar", srcs = [ ":build", ], + extension = "jar", visibility = [ "//java/server/src/org/openqa/selenium/grid:__pkg__", - ] + ], ) diff --git a/javascript/node/selenium-webdriver/BUILD.bazel b/javascript/node/selenium-webdriver/BUILD.bazel index d49ef2389c70f..60c7c80a7c9de 100644 --- a/javascript/node/selenium-webdriver/BUILD.bazel +++ b/javascript/node/selenium-webdriver/BUILD.bazel @@ -2,7 +2,12 @@ load("@build_bazel_rules_nodejs//:index.bzl", "nodejs_binary", "pkg_npm") load("@npm//@bazel/jasmine:index.bzl", "jasmine_node_test") load("//common:defs.bzl", "copy_file") -BROWSER_VERSIONS = ['v84', 'v85', 'v86'] +BROWSER_VERSIONS = [ + "v84", + "v85", + "v86", +] + SRC_FILES = [ "CHANGES.md", "README.md", @@ -96,33 +101,37 @@ genrule( [copy_file( name = "browser_protocol_" + n, src = "//common/devtools/chromium/" + n + ":browser_protocol.json", - out = "devtools/generator/" + n + "/browser_protocol.json") for n in BROWSER_VERSIONS ] + out = "devtools/generator/" + n + "/browser_protocol.json", +) for n in BROWSER_VERSIONS] [copy_file( name = "js_protocol_" + n, src = "//common/devtools/chromium/" + n + ":js_protocol.json", - out = "devtools/generator/" + n + "/js_protocol.json") for n in BROWSER_VERSIONS ] + out = "devtools/generator/" + n + "/js_protocol.json", +) for n in BROWSER_VERSIONS] [nodejs_binary( - name = "cdp-srcs-generator-" + n, - data = [ - ":browser_protocol_" + n, - ":js_protocol_" + n, - ], - entry_point = "devtools/generator/protocol-dts-generator.js") for n in BROWSER_VERSIONS ] + name = "cdp-srcs-generator-" + n, + data = [ + ":browser_protocol_" + n, + ":js_protocol_" + n, + ], + entry_point = "devtools/generator/protocol-dts-generator.js", +) for n in BROWSER_VERSIONS] [genrule( - name = "create-cdp-srcs-" + n, - srcs = [ - ":browser_protocol_" + n, - ":js_protocol_" + n, - ], - outs = [ - "devtools/generator/" + n + "/protocol.d.js", - "devtools/generator/" + n + "/protocol-mapping.d.js", - "devtools/generator/" + n + "/protocol-proxy-api.d.js", - ], - cmd = "$(location :cdp-srcs-generator-" + n + ") $(location :browser_protocol_" + n + ") $(location :js_protocol_"+ n + ") $(OUTS)", - tools = [ - ":cdp-srcs-generator-" + n, - ]) for n in BROWSER_VERSIONS ] + name = "create-cdp-srcs-" + n, + srcs = [ + ":browser_protocol_" + n, + ":js_protocol_" + n, + ], + outs = [ + "devtools/generator/" + n + "/protocol.d.js", + "devtools/generator/" + n + "/protocol-mapping.d.js", + "devtools/generator/" + n + "/protocol-proxy-api.d.js", + ], + cmd = "$(location :cdp-srcs-generator-" + n + ") $(location :browser_protocol_" + n + ") $(location :js_protocol_" + n + ") $(OUTS)", + tools = [ + ":cdp-srcs-generator-" + n, + ], +) for n in BROWSER_VERSIONS] diff --git a/py/BUILD.bazel b/py/BUILD.bazel index c58e5316c56ef..6a6ccfe6f34e1 100644 --- a/py/BUILD.bazel +++ b/py/BUILD.bazel @@ -4,56 +4,59 @@ load("@dev_requirements//:requirements.bzl", "requirement") load("//common:defs.bzl", "copy_file") load("//py:defs.bzl", "py_test_suite", "pytest_test") - -BROWSER_VERSIONS = ['v84', 'v85', 'v86'] +BROWSER_VERSIONS = [ + "v84", + "v85", + "v86", +] copy_file( - name="get-attribute", - src="//javascript/webdriver/atoms:get-attribute.js", - out="selenium/webdriver/remote/getAttribute.js", + name = "get-attribute", + src = "//javascript/webdriver/atoms:get-attribute.js", + out = "selenium/webdriver/remote/getAttribute.js", ) copy_file( - name="is-displayed", - src="//javascript/atoms/fragments:is-displayed.js", - out="selenium/webdriver/remote/isDisplayed.js", + name = "is-displayed", + src = "//javascript/atoms/fragments:is-displayed.js", + out = "selenium/webdriver/remote/isDisplayed.js", ) copy_file( - name="find-elements", - src="//javascript/atoms/fragments:find-elements.js", - out="selenium/webdriver/remote/findElements.js", + name = "find-elements", + src = "//javascript/atoms/fragments:find-elements.js", + out = "selenium/webdriver/remote/findElements.js", ) copy_file( - name="firefox-driver-prefs", - src="//third_party/js/selenium:webdriver_json", - out="selenium/webdriver/firefox/webdriver_prefs.json", + name = "firefox-driver-prefs", + src = "//third_party/js/selenium:webdriver_json", + out = "selenium/webdriver/firefox/webdriver_prefs.json", ) py_library( - name="selenium", - srcs=glob( + name = "selenium", + srcs = glob( ["selenium/**/*.py"], - exclude=["generate.py"], + exclude = ["generate.py"], ), - data=[ + data = [ ":find-elements", ":firefox-driver-prefs", ":get-attribute", ":is-displayed", ] + [":create-cdp-srcs-" + n for n in BROWSER_VERSIONS], - imports=["."], - visibility=["//visibility:public"], - deps=[ + imports = ["."], + visibility = ["//visibility:public"], + deps = [ "//third_party/py:certifi", "//third_party/py:urllib3", ], ) py_package( - name="selenium-pkg", - packages=[ + name = "selenium-pkg", + packages = [ "py.selenium", "py.selenium.common", "py.selenium.webdriver", @@ -66,33 +69,33 @@ py_package( "py.selenium.webdriver.remote", "py.selenium.webdriver.safari", ], - deps=[":selenium"], + deps = [":selenium"], ) py_wheel( - name="selenium-wheel", - distribution="selenium", - python_tag=[ + name = "selenium-wheel", + distribution = "selenium", + python_tag = [ "py2", "py3", ], - requires=[ + requires = [ "urllib3[secure]", ], - strip_path_prefixes=[ + strip_path_prefixes = [ "py", ], - version="4.0.0.a6", - visibility=["//visibility:public"], - deps=[ + version = "4.0.0.a6", + visibility = ["//visibility:public"], + deps = [ ":selenium-pkg", ], ) py_library( - name="init-tree", - testonly=True, - srcs=[ + name = "init-tree", + testonly = True, + srcs = [ "conftest.py", "test/__init__.py", "test/selenium/__init__.py", @@ -110,47 +113,47 @@ py_library( "test/selenium/webdriver/support/__init__.py", "test/selenium/webdriver/support/conftest.py", ], - data=[ - "setup.cfg", + data = [ "pytest.ini", + "setup.cfg", ], - imports=["."], - deps=[ + imports = ["."], + deps = [ ":webserver", ], ) py_binary( - name="generate", - srcs=["generate.py"], - srcs_version="PY3", - deps=[requirement("inflection")], + name = "generate", + srcs = ["generate.py"], + srcs_version = "PY3", + deps = [requirement("inflection")], ) [genrule( - name="create-cdp-srcs-" + n, - srcs=[ + name = "create-cdp-srcs-" + n, + srcs = [ "//common/devtools/chromium/" + n + ":browser_protocol", "//common/devtools/chromium/" + n + ":js_protocol", ], - outs=["selenium/webdriver/common/devtools/" + n], - cmd="python3 $(location :generate) $(location //common/devtools/chromium/" + n + ":browser_protocol) $(location //common/devtools/chromium/" + n + ":js_protocol) $@", - tools=[ + outs = ["selenium/webdriver/common/devtools/" + n], + cmd = "python3 $(location :generate) $(location //common/devtools/chromium/" + n + ":browser_protocol) $(location //common/devtools/chromium/" + n + ":js_protocol) $@", + tools = [ ":generate", ], ) for n in BROWSER_VERSIONS] py_test_suite( - name="unit", - size="small", - srcs=glob([ + name = "unit", + size = "small", + srcs = glob([ "test/unit/**/*.py", ]), - args=[ + args = [ "-n=auto", "--instafail", ], - deps=[ + deps = [ ":init-tree", ":selenium", "//third_party/py:pytest", @@ -158,73 +161,73 @@ py_test_suite( ) py_library( - name="webserver", - testonly=True, - srcs=[ + name = "webserver", + testonly = True, + srcs = [ "test/selenium/webdriver/common/network.py", "test/selenium/webdriver/common/webserver.py", ], - data=[ + data = [ "//common/src/web", ], - deps=[], + deps = [], ) py_test_suite( - name="test-chrome", - size="large", - srcs=glob([ + name = "test-chrome", + size = "large", + srcs = glob([ "test/selenium/webdriver/chrome/**/*.py", "test/selenium/webdriver/common/**/*.py", "test/selenium/webdriver/support/**/*.py", ]), - args=[ + args = [ "--instafail", "--driver=Chrome", ], - tags=[ + tags = [ "no-sandbox", ], - deps=[ + deps = [ ":init-tree", ":selenium", ":webserver", - requirement('async_generator'), + requirement("async_generator"), requirement("attrs"), - requirement('idna'), - requirement('iniconfig'), - requirement('h11'), - requirement('more_itertools'), - requirement('multidict'), - requirement('outcome'), + requirement("idna"), + requirement("iniconfig"), + requirement("h11"), + requirement("more_itertools"), + requirement("multidict"), + requirement("outcome"), requirement("pluggy"), requirement("py"), requirement("pytest"), - requirement('pytest-instafail'), - requirement('pytest-trio'), - requirement('sortedcontainers'), - requirement('sniffio'), - requirement('trio'), - requirement('trio_websocket') + requirement("pytest-instafail"), + requirement("pytest-trio"), + requirement("sortedcontainers"), + requirement("sniffio"), + requirement("trio"), + requirement("trio_websocket"), ], ) py_test_suite( - name="test-edge", - size="large", - srcs=glob([ + name = "test-edge", + size = "large", + srcs = glob([ "test/selenium/webdriver/edge/**/*.py", "test/selenium/webdriver/common/**/*.py", "test/selenium/webdriver/support/**/*.py", ]), - args=[ + args = [ "--instafail", "--driver=Edge", ], - tags=[ + tags = [ "no-sandbox", ], - deps=[ + deps = [ ":init-tree", ":selenium", ":webserver", @@ -233,21 +236,21 @@ py_test_suite( ) py_test_suite( - name="test-edge-chromium", - size="large", - srcs=glob([ + name = "test-edge-chromium", + size = "large", + srcs = glob([ "test/selenium/webdriver/edge/**/*.py", "test/selenium/webdriver/common/**/*.py", "test/selenium/webdriver/support/**/*.py", ]), - args=[ + args = [ "--instafail", "--driver=ChromiumEdge", ], - tags=[ + tags = [ "no-sandbox", ], - deps=[ + deps = [ ":init-tree", ":selenium", ":webserver", @@ -256,21 +259,21 @@ py_test_suite( ) py_test_suite( - name="test-firefox", - size="large", - srcs=glob([ + name = "test-firefox", + size = "large", + srcs = glob([ "test/selenium/webdriver/common/**/*.py", "test/selenium/webdriver/marionette/**/*.py", "test/selenium/webdriver/support/**/*.py", ]), - args=[ + args = [ "--instafail", "--driver=Firefox", ], - tags=[ + tags = [ "no-sandbox", ], - deps=[ + deps = [ ":init-tree", ":selenium", ":webserver", @@ -279,23 +282,23 @@ py_test_suite( ) py_test_suite( - name="test-remote", - size="large", - srcs=glob([ + name = "test-remote", + size = "large", + srcs = glob([ "test/selenium/webdriver/common/**/*.py", "test/selenium/webdriver/support/**/*.py", ]), - args=[ + args = [ "--instafail", "--driver=Remote", ], - data=[ + data = [ "//java/server/src/org/openqa/selenium/grid:selenium_server_deploy.jar", ], - tags=[ + tags = [ "no-sandbox", ], - deps=[ + deps = [ ":init-tree", ":selenium", ":webserver", @@ -304,21 +307,21 @@ py_test_suite( ) py_test_suite( - name="test-ie", - size="large", - srcs=glob([ + name = "test-ie", + size = "large", + srcs = glob([ "test/selenium/webdriver/common/**/*.py", "test/selenium/webdriver/ie/**/*.py", "test/selenium/webdriver/support/**/*.py", ]), - args=[ + args = [ "--instafail", "--driver=Ie", ], - tags=[ + tags = [ "no-sandbox", ], - deps=[ + deps = [ ":init-tree", ":selenium", ":webserver", @@ -327,22 +330,22 @@ py_test_suite( ) py_test_suite( - name="test-safari", - size="large", - srcs=glob([ + name = "test-safari", + size = "large", + srcs = glob([ "test/selenium/webdriver/common/**/*.py", "test/selenium/webdriver/safari/**/*.py", "test/selenium/webdriver/support/**/*.py", ]), - args=[ + args = [ "--instafail", "--driver=Safari", ], - tags=[ + tags = [ "exclusive", "no-sandbox", ], - deps=[ + deps = [ ":init-tree", ":selenium", ":webserver", @@ -351,23 +354,23 @@ py_test_suite( ) py_test_suite( - name="test-webkitgtk", - size="large", - srcs=glob([ + name = "test-webkitgtk", + size = "large", + srcs = glob([ "test/selenium/webdriver/common/**/*.py", "test/selenium/webdriver/support/**/*.py", ]), - args=[ + args = [ "--instafail", "--driver=WebKitGTK", "--browser-binary=MiniBrowser", "--browser-args=--automation", ], - tags=[ + tags = [ "exclusive", "no-sandbox", ], - deps=[ + deps = [ ":init-tree", ":selenium", ":webserver", @@ -376,23 +379,23 @@ py_test_suite( ) py_test_suite( - name="test-wpewebkit", - size="large", - srcs=glob([ + name = "test-wpewebkit", + size = "large", + srcs = glob([ "test/selenium/webdriver/common/**/*.py", "test/selenium/webdriver/support/**/*.py", ]), - args=[ + args = [ "--instafail", "--driver=WPEWebKit", "--browser-binary=MiniBrowser", "--browser-args=--automation --headless", ], - tags=[ + tags = [ "exclusive", "no-sandbox", ], - deps=[ + deps = [ ":init-tree", ":selenium", ":webserver",