Repository navigation
Expand file tree
/
Copy pathBUCK
More file actions
70 lines (66 loc) · 1.36 KB
/
Copy pathBUCK
File metadata and controls
70 lines (66 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
js_library(name = 'http',
srcs = glob([
'capabilities.js',
'command.js',
'http/*.js',
'logging.js',
'session.js',
]),
deps = [
'//javascript/atoms:errors',
'//third_party/closure:closure',
],
visibility = [
'//javascript/remote:client',
],
)
js_library(name = 'key',
srcs = [
'key.js',
],
visibility = [
'//javascript/...',
],
)
js_library(name = 'logging',
srcs = [
'logging.js',
],
deps = [
'//third_party/closure:closure',
],
visibility = [
'//javascript/...',
],
)
js_library(name = 'stacktrace',
srcs = [
'stacktrace.js',
],
deps = [
'//third_party/closure:closure',
],
)
browsers = {
'firefox': 'ff',
'chrome': 'chrome',
'ie': 'ie'}
for browser in browsers.keys():
java_test(
name = 'webdriver-%s' % browser,
vm_args = [
'-Dselenium.browser=%s' % browsers[browser],
'-Djs.test.timeout=120',
'-Djs.test.dir=%s' % get_base_path(),
],
test_classes = [
'org.openqa.selenium.javascript.ClosureTestSuite',
],
deps = [
'//java/client/test/org/openqa/selenium/javascript:javascript',
'//java/client/src/org/openqa/selenium/chrome:chrome',
'//java/client/src/org/openqa/selenium/edge:edge',
'//java/client/src/org/openqa/selenium/ie:ie',
'//java/client/src/org/openqa/selenium/firefox:firefox',
],
)