Bug 1598471 - Use fis/tp5n version of bild.de for DevTools complicated DAMP tests r=ochameau

Differential Revision: https://phabricator.services.mozilla.com/D58773

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Julian Descottes 2020-01-08 18:16:45 +00:00
Родитель 4f35aa4277
Коммит 5f90dd410c
2 изменённых файлов: 12 добавлений и 2 удалений

Просмотреть файл

@ -24,8 +24,12 @@ const PAGES_BASE_URL = BASE_DOMAIN + "/tests/devtools/addon/content/pages/";
exports.PAGES_BASE_URL = PAGES_BASE_URL;
exports.SIMPLE_URL = PAGES_BASE_URL + "simple.html";
// The test page in fis/tp5n/bild.de contains a modified version of the initial
// bild.de test website, where same-site iframes have been replaced with remote
// frames.
exports.COMPLICATED_URL =
BASE_DOMAIN + "/tests/tp5n/bild.de/www.bild.de/index.html";
"http://www.bild.de-talos/fis/tp5n/bild.de/www.bild.de/index.html";
let damp = null;
/*
@ -163,3 +167,7 @@ exports.reloadPageAndLog = async function(name, toolbox, onReload) {
await recordPendingPaints(`${name}.reload`, toolbox);
};
exports.isFissionEnabled = function() {
return Services.prefs.getBoolPref("fission.autostart", false);
};

Просмотреть файл

@ -7,19 +7,21 @@
const {
openToolboxAndLog,
closeToolboxAndLog,
isFissionEnabled,
testSetup,
testTeardown,
COMPLICATED_URL,
} = require("../head");
const { reloadConsoleAndLog } = require("./webconsole-helpers");
const EXPECTED_MESSAGES = 7;
const EXPECTED_MESSAGES = isFissionEnabled() ? 3 : 7;
module.exports = async function() {
await testSetup(COMPLICATED_URL);
let toolbox = await openToolboxAndLog("complicated.webconsole", "webconsole");
await reloadConsoleAndLog("complicated", toolbox, EXPECTED_MESSAGES);
await closeToolboxAndLog("complicated.webconsole", toolbox);
await testTeardown();