Bug 1462564 - Remove performance tests. r=yulia draft
authorAlexandre Poirot <poirot.alex@gmail.com>
Mon, 07 May 2018 04:06:36 -0700
changeset 796739 ff623dbfe1b16393fe82be7dc4e64fc06c7ec27a
parent 796738 88d532c2755310ba0f48f10d15b01aa472f7a7f7
push id110354
push userbmo:poirot.alex@gmail.com
push dateFri, 18 May 2018 08:49:07 +0000
reviewersyulia
bugs1462564
milestone62.0a1
Bug 1462564 - Remove performance tests. r=yulia MozReview-Commit-ID: BwhJi1Ql4wU
testing/talos/talos/tests/devtools/addon/content/damp-tests.js
testing/talos/talos/tests/devtools/addon/content/tests/performance/complicated.js
testing/talos/talos/tests/devtools/addon/content/tests/performance/simple.js
--- a/testing/talos/talos/tests/devtools/addon/content/damp-tests.js
+++ b/testing/talos/talos/tests/devtools/addon/content/damp-tests.js
@@ -37,20 +37,16 @@ window.DAMP_TESTS = [
     name: "simple.debugger",
     path: "debugger/simple.js",
     description: "Measure open/close toolbox on debugger panel against simple document"
   }, {
     name: "simple.styleeditor",
     path: "styleeditor/simple.js",
     description: "Measure open/close toolbox on style editor panel against simple document"
   }, {
-    name: "simple.performance",
-    path: "performance/simple.js",
-    description: "Measure open/close toolbox on performance panel against simple document"
-  }, {
     name: "simple.netmonitor",
     path: "netmonitor/simple.js",
     description: "Measure open/close toolbox on network monitor panel against simple document"
   },
   // Run all tests against "complicated" document
   {
     name: "complicated.webconsole",
     path: "webconsole/complicated.js",
@@ -63,20 +59,16 @@ window.DAMP_TESTS = [
     name: "complicated.debugger",
     path: "debugger/complicated.js",
     description: "Measure open/close toolbox on debugger panel against complicated document"
   }, {
     name: "complicated.styleeditor",
     path: "styleeditor/complicated.js",
     description: "Measure open/close toolbox on style editor panel against complicated document"
   }, {
-    name: "complicated.performance",
-    path: "performance/complicated.js",
-    description: "Measure open/close toolbox on performance panel against complicated document"
-  }, {
     name: "complicated.netmonitor",
     path: "netmonitor/complicated.js",
     description: "Measure open/close toolbox on network monitor panel against complicated document"
   },
   // Run all tests against a document specific to each tool
   {
     name: "custom.webconsole",
     path: "webconsole/custom.js"
deleted file mode 100644
--- a/testing/talos/talos/tests/devtools/addon/content/tests/performance/complicated.js
+++ /dev/null
@@ -1,16 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-
-"use strict";
-
-const { openToolboxAndLog, closeToolboxAndLog, reloadPageAndLog, testSetup,
-        testTeardown, COMPLICATED_URL } = require("../head");
-
-module.exports = async function() {
-  await testSetup(COMPLICATED_URL);
-  const toolbox = await openToolboxAndLog("complicated.performance", "performance");
-  await reloadPageAndLog("complicated.performance", toolbox);
-  await closeToolboxAndLog("complicated.performance", toolbox);
-  await testTeardown();
-};
deleted file mode 100644
--- a/testing/talos/talos/tests/devtools/addon/content/tests/performance/simple.js
+++ /dev/null
@@ -1,16 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-
-"use strict";
-
-const { openToolboxAndLog, closeToolboxAndLog, reloadPageAndLog, testSetup,
-        testTeardown, SIMPLE_URL } = require("../head");
-
-module.exports = async function() {
-  await testSetup(SIMPLE_URL);
-  const toolbox = await openToolboxAndLog("simple.performance", "performance");
-  await reloadPageAndLog("simple.performance", toolbox);
-  await closeToolboxAndLog("simple.performance", toolbox);
-  await testTeardown();
-};