Bug 1891340 - Part 1: Add parameters to customize the before and after icon tints...
[gecko.git] / testing / performance / perftest_jsconf_warm.js
blobbe58553ab69ed1cef027e559da2f76110552cc43
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 test(context, commands) {
6   let rootUrl = "https://2019.jsconf.eu/";
8   await commands.navigate(rootUrl);
10   // Wait for browser to settle
11   await commands.wait.byTime(10000);
13   // Click on the link and wait a few seconds
14   await commands.click.byLinkTextAndWait("Artists");
15   await commands.wait.byTime(3000);
17   // Back to about
18   await commands.click.byLinkTextAndWait("About");
19   await commands.wait.byTime(3000);
21   // Start the measurement
22   await commands.measure.start("pageload");
23   await commands.click.byLinkTextAndWait("Artists");
25   // Stop and collect the measurement
26   await commands.measure.stop();
29 module.exports = {
30   test,
31   owner: "Performance Team",
32   name: "JSConf (warm)",
33   description: "Measures time to load JSConf page (warm)",