Bug 1535082 - Enable browser_jsterm_helper_dollar_dollar on windows arch. r=Honza.

The failure indicates a pending request to the highlighter
actor. This patch moves the mouse at the top left corner of
the console to avoid hovering any dom elements that might
trigger the highlighter.

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

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Nicolas Chevobbe 2019-12-18 11:04:16 +00:00
parent eaa9dad1da
commit 2701df0ea9
2 changed files with 10 additions and 1 deletions

View File

@ -271,7 +271,6 @@ skip-if = os != 'mac' # The tested ctrl+key shortcuts are OSX only
[browser_jsterm_focus_reload.js]
[browser_jsterm_helper_clear.js]
[browser_jsterm_helper_dollar_dollar.js]
skip-if = (os == "win" && processor == "aarch64") # disabled on aarch64 due to 1535082
[browser_jsterm_helper_dollar_x.js]
[browser_jsterm_helper_dollar.js]
[browser_jsterm_helper_help.js]

View File

@ -16,6 +16,16 @@ const TEST_URI = `data:text/html,
add_task(async function() {
const hud = await openNewTabAndConsole(TEST_URI);
// Place the mouse on the top left corner to avoid triggering an highlighter request
// to the server. See Bug 1535082.
EventUtils.synthesizeMouse(
hud.ui.outputNode,
0,
0,
{ type: "mousemove" },
hud.iframeWindow
);
let message = await executeAndWaitForMessage(
hud,
"$$('main')",