// Fire a mousemove to trigger the tooltip. // Margin from the anchor and stuff depends on the platform, but these // should be big enough so that all platforms pass, but not big enough so // that it'd pass even when messing up the coordinates would. const DISTANCE = 300; const EPSILON = 25;
await popupShown;
ok( true,
`popup should be shown (coords: ${tooltip.screenX}, ${tooltip.screenY})`
);
isfuzzy(
tooltip.screenX,
browser.screenX + DISTANCE,
EPSILON, "Should be at the right x position, more or less"
);
isfuzzy(
tooltip.screenY,
browser.screenY + DISTANCE,
EPSILON, "Should be at the right y position, more or less"
);
});
});
Messung V0.5
¤ Dauer der Verarbeitung: 0.34 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.