1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 async function setUp(context) {
6 context.log.info("setUp example!");
9 async function test(context, commands) {
10 let url = context.options.browsertime.url;
11 await commands.navigate("https://www.mozilla.org/en-US/");
12 await commands.wait.byTime(100);
13 await commands.navigate("about:blank");
14 await commands.wait.byTime(50);
15 return commands.measure.start(url);
18 async function tearDown(context) {
19 context.log.info("tearDown example!");
26 owner: "Performance Team",
28 description: "Measures time to load mozilla page",