blob: 373cc44489bcecf22f480bfef2d669364902939c [file] [log] [blame]
Tests for the DOM.hideHighlight command.
== Running test suite: DOM.hideHighlight
-- Running test case: CheckEmptyHighlight
PASS: Should not be a highlight yet.
-- Running test case: HighlightRect
PASS: Should be one highlight rect.
Highlight Rect: {"x":0,"y":0,"width":100,"height":100,"top":0,"right":100,"bottom":100,"left":0}
-- Running test case: HideHighlight
PASS: Should be no highlight.
-- Running test case: HighlightQuad
PASS: Should be one highlight rect.
Highlight Rect: {"x":50,"y":100,"width":100,"height":100,"top":100,"right":150,"bottom":200,"left":50}
-- Running test case: HideHighlight
PASS: Should be no highlight.
-- Running test case: HighlightNode
PASS: Should be one highlighted node.
Highlighted Element Data: {"tagName":"p","idValue":"target","size":{"width":500,"height":100},"role":""}
-- Running test case: HideHighlight
PASS: Should be no highlight.
-- Running test case: HideHighlight
PASS: Should be no highlight.