MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / suite

Function suite

javascript/selenium-webdriver/lib/test/index.js:30–47  ·  view source on GitHub ↗

* @param {function(!testing.Environment)} fn The top level suite function. * @param {testing.SuiteOptions=} options Suite specific options.

(fn, options = undefined)

Source from the content-addressed store, hash-verified

28 * @param {testing.SuiteOptions=} options Suite specific options.
29 */
30function suite(fn, options = undefined) {
31 testing.suite(function (env) {
32 /*
33 before(function () {
34 if (false && !NO_BUILD) {
35 return build
36 .of(
37 '//javascript/atoms/fragments:is-displayed',
38 '//javascript/webdriver/atoms:get-attribute'
39 )
40 .onlyOnce()
41 .go()
42 }
43 })
44 */
45 fn(env)
46 }, options)
47}
48
49// GLOBAL TEST SETUP
50

Callers

nothing calls this directly

Calls 1

fnFunction · 0.85

Tested by

no test coverage detected