@@ -11,30 +11,31 @@ nunit_test(
11
11
]),
12
12
out = "WebDriver.Support.Tests.dll" ,
13
13
args = [
14
- "--agents=1" ,
15
- "--params=ConfigFile=$(location appconfig.json)" ,
16
- "--params=ActiveWebsiteConfig=HostsFileRedirect" ,
14
+ "--workers=1" ,
15
+ "--params=ConfigFile=$(location //dotnet/test/common:appconfig.json)" ,
17
16
"--params=ActiveDriverConfig={}" .format (config_setting ),
17
+ "--params=ActiveWebsiteConfig=HostsFileRedirect" ,
18
18
],
19
19
data = [
20
- "appconfig.json" ,
20
+ "//dotnet/test/common: appconfig.json" ,
21
21
"//common/src/web" ,
22
22
"//java/client/test/org/openqa/selenium/environment:appserver_deploy.jar" ,
23
23
],
24
- dotnet_context_data = "@io_bazel_rules_dotnet//:net_context_data_net47" ,
24
+ is_windows = select ({
25
+ "@bazel_tools//src/conditions:host_windows" : True ,
26
+ "//conditions:default" : False ,
27
+ }),
28
+ tags = [
29
+ "no-sandbox" ,
30
+ "requires-network" ,
31
+ ],
32
+ target_frameworks = ["netcoreapp2.1" ],
25
33
visibility = ["//visibility:public" ],
26
34
deps = [
27
- "//dotnet/src/support:net47" ,
28
- "//dotnet/src/webdriver:net47" ,
29
- "@castle.core//:net45" ,
30
- "@io_bazel_rules_dotnet//dotnet/stdlib.net:system.core.dll" ,
31
- "@io_bazel_rules_dotnet//dotnet/stdlib.net:system.data.dll" ,
32
- "@io_bazel_rules_dotnet//dotnet/stdlib.net:system.dll" ,
33
- "@io_bazel_rules_dotnet//dotnet/stdlib.net:system.drawing.dll" ,
34
- "@io_bazel_rules_dotnet//dotnet/stdlib.net:system.xml.dll" ,
35
- "@json.net//:net45" ,
36
- "@moq//:net45" ,
37
- "@nunit//:net45" ,
38
- "@system.threading.tasks.extensions//:net45" ,
35
+ "//dotnet/src/support:netstandard2.0" ,
36
+ "//dotnet/src/webdriver:netstandard2.0" ,
37
+ "//dotnet/test/common:firefox" ,
38
+ "@json.net//:Newtonsoft.Json" ,
39
+ "@moq//:Moq" ,
39
40
],
40
41
)
0 commit comments