Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordiosmosis <benakamoorthi@fastmail.fm>2014-03-06 22:20:29 +0400
committerdiosmosis <benakamoorthi@fastmail.fm>2014-03-06 22:20:29 +0400
commitc9f13e1cc9c8348df8a3f4679116c8e85df2455e (patch)
tree2f958e4b2f51d47bd32c109447742c2b0a6cb503 /tests/README.screenshots.md
parent9c9a91fc883b61bd3cd3330e23f9a64f29d2e1fc (diff)
Refs #4739, add dragDrop utility function to screenshot test page renderer and capture alert()'s during screenshot tests.
Diffstat (limited to 'tests/README.screenshots.md')
-rw-r--r--tests/README.screenshots.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/README.screenshots.md b/tests/README.screenshots.md
index 1748f60244..bcf35ba99d 100644
--- a/tests/README.screenshots.md
+++ b/tests/README.screenshots.md
@@ -166,6 +166,7 @@ The page renderer object has the following methods:
* **mouseup(selector, [waitTime])**: Sends a mouse up event to the element referenced by `selector`.
* **sendKeys(selector, keyString, [waitTime])**: Clicks an element to bring it into focus and then simulates typing a string of keys.
* **sendMouseEvent(type, pos. [waitTime])**: Sends a mouse event by name to a specific position. `type` is the name of an event that phantomjs will recognize. `pos` is a point, eg, `{x: 0, y: 0}`.
+ * **dragDrop(selectorStart, selectorEnd, waitTime)**: Performs a drag/drop of an element (mousedown, mousemove, mouseup) from the element referenced by `selectorStart` and the element referenced by `selectorEnd`.
* **wait([waitTime])**: Waits without doing anything.
* **load(url, [waitTime])**: Loads a URL.
* **reload([waitTime])**: Reloads the current URL.