* @param {function(!testing.Environment)} fn The top level suite function. * @param {testing.SuiteOptions=} options Suite specific options.
(fn, options = undefined)
| 28 | * @param {testing.SuiteOptions=} options Suite specific options. |
| 29 | */ |
| 30 | function 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 |