Bug 1885602 - Part 4: Implement navigating to the settings from the menu header for...
[gecko.git] / testing / performance / perftest_pageload.js
blob36a0ca8b68902c665b9b3326bfbbc8793d755e82
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!");
22 module.exports = {
23   setUp,
24   tearDown,
25   test,
26   owner: "Performance Team",
27   name: "pageload",
28   description: "Measures time to load mozilla page",