Source code
Revision control
Copy as Markdown
Other Tools
/* 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
"use strict";
const {
openToolboxAndLog,
closeToolboxAndLog,
testSetup,
testTeardown,
PAGES_BASE_URL,
} = require("damp-test/tests/head");
const {
reloadStyleEditorAndLog,
} = require("damp-test/tests/styleeditor/styleeditor-helpers");
const TEST_URL = PAGES_BASE_URL + "custom/styleeditor/index.html";
module.exports = async function () {
await testSetup(TEST_URL);
const toolbox = await openToolboxAndLog("custom.styleeditor", "styleeditor");
await reloadStyleEditorAndLog("custom.styleeditor", toolbox);
await closeToolboxAndLog("custom.styleeditor", toolbox);
await testTeardown();
};