mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 04:45:45 +00:00
Bug 1505747 - Reset flex overlay colors before testing them; r=gl
Differential Revision: https://phabricator.services.mozilla.com/D13680 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
45794c41ea
commit
5df2db204f
@ -3,12 +3,17 @@
|
||||
|
||||
"use strict";
|
||||
|
||||
const asyncStorage = require("devtools/shared/async-storage");
|
||||
|
||||
// Test that the flexbox highlighter color change in the color picker is reverted when
|
||||
// ESCAPE is pressed.
|
||||
|
||||
const TEST_URI = URL_ROOT + "doc_flexbox_specific_cases.html";
|
||||
|
||||
add_task(async function() {
|
||||
// Make sure there are no custom highlighter colors stored before starting.
|
||||
await asyncStorage.removeItem("flexboxInspectorHostColors");
|
||||
|
||||
await addTab(TEST_URI);
|
||||
const { inspector, flexboxInspector, layoutView } = await openLayoutView();
|
||||
const { document: doc } = flexboxInspector;
|
||||
|
@ -3,12 +3,17 @@
|
||||
|
||||
"use strict";
|
||||
|
||||
const asyncStorage = require("devtools/shared/async-storage");
|
||||
|
||||
// Test that the flexbox highlighter color change in the color picker is committed when
|
||||
// RETURN is pressed.
|
||||
|
||||
const TEST_URI = URL_ROOT + "doc_flexbox_specific_cases.html";
|
||||
|
||||
add_task(async function() {
|
||||
// Make sure there are no custom highlighter colors stored before starting.
|
||||
await asyncStorage.removeItem("flexboxInspectorHostColors");
|
||||
|
||||
await addTab(TEST_URI);
|
||||
const { inspector, flexboxInspector, layoutView } = await openLayoutView();
|
||||
const { document: doc } = flexboxInspector;
|
||||
|
Loading…
Reference in New Issue
Block a user