"Fossies" - the Fresh Open Source Software Archive 
Member "selenium-selenium-4.8.1/rb/spec/integration/selenium/webdriver/BUILD.bazel" (17 Feb 2023, 2640 Bytes) of package /linux/www/selenium-selenium-4.8.1.tar.gz:
As a special service "Fossies" has tried to format the requested text file into HTML format (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
1 load("@rules_ruby//ruby:defs.bzl", "rb_library", "rb_test")
2 load("//rb/spec/integration:configuration.bzl", "ENV", "TAGS")
3
4 package(default_visibility = ["//rb:__subpackages__"])
5
6 rb_library(
7 name = "spec_helper",
8 testonly = True,
9 srcs = glob([
10 "spec_helper.rb",
11 "spec_support.rb",
12 "spec_support/**/*",
13 ]),
14 data = [
15 "//rb:manager-macos",
16 "//rb:manager-windows",
17 "//rb:manager-linux",
18 ] + select({
19 "//rb/spec/integration:remote": ["//java/src/org/openqa/selenium/grid:selenium_server_deploy.jar"],
20 "//conditions:default": [],
21 }),
22 deps = ["@bundle"],
23 )
24
25 [
26 rb_test(
27 name = file[:-8],
28 srcs = [file],
29 args = ["rb/spec/"],
30 env = ENV,
31 main = "@bundle//:bin/rspec",
32 tags = TAGS,
33 deps = [
34 ":spec_helper",
35 "//rb/lib/selenium/webdriver:common",
36 ],
37 )
38 for file in glob(
39 ["*_spec.rb"],
40 exclude = [
41 "bidi_spec.rb",
42 "driver_spec.rb",
43 "devtools_spec.rb",
44 "element_spec.rb",
45 ],
46 )
47 ]
48
49 rb_test(
50 name = "bidi",
51 srcs = ["bidi_spec.rb"],
52 args = ["rb/spec/"],
53 env = ENV,
54 main = "@bundle//:bin/rspec",
55 tags = TAGS,
56 deps = [
57 ":spec_helper",
58 "//rb/lib/selenium/devtools",
59 "//rb/lib/selenium/webdriver:bidi",
60 ],
61 )
62
63 rb_test(
64 name = "devtools",
65 srcs = ["devtools_spec.rb"],
66 args = ["rb/spec/"],
67 env = ENV,
68 main = "@bundle//:bin/rspec",
69 tags = TAGS,
70 deps = [
71 ":spec_helper",
72 "//rb/lib/selenium/devtools",
73 "//rb/lib/selenium/webdriver:bidi",
74 ],
75 )
76
77 rb_test(
78 name = "driver",
79 srcs = ["driver_spec.rb"],
80 args = ["rb/spec/"],
81 env = ENV,
82 main = "@bundle//:bin/rspec",
83 tags = TAGS,
84 deps = [
85 ":spec_helper",
86 "//rb/lib/selenium/webdriver:chrome",
87 "//rb/lib/selenium/webdriver:edge",
88 "//rb/lib/selenium/webdriver:firefox",
89 "//rb/lib/selenium/webdriver:ie",
90 "//rb/lib/selenium/webdriver:remote",
91 "//rb/lib/selenium/webdriver:safari",
92 ],
93 )
94
95 rb_test(
96 name = "element",
97 srcs = ["element_spec.rb"],
98 args = ["rb/spec/"],
99 env = ENV,
100 main = "@bundle//:bin/rspec",
101 tags = TAGS,
102 deps = [
103 ":spec_helper",
104 "//rb/lib/selenium/webdriver:chrome",
105 "//rb/lib/selenium/webdriver:edge",
106 "//rb/lib/selenium/webdriver:firefox",
107 "//rb/lib/selenium/webdriver:ie",
108 "//rb/lib/selenium/webdriver:remote",
109 "//rb/lib/selenium/webdriver:safari",
110 ],
111 )