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:
authorThomas Steur <thomas.steur@gmail.com>2017-02-11 07:40:07 +0300
committerThomas Steur <thomas.steur@gmail.com>2017-02-11 07:40:07 +0300
commitf2a648c2a0c931eead450faa931707db666f1b8f (patch)
tree545fce0046638a3cd5fa05ddfea4cc411c700c5f /tests/javascript
parent437e371dfb254ad0d143fed9a2b99b7a8536678f (diff)
exposing new method to detect whether a node is visible
Diffstat (limited to 'tests/javascript')
-rw-r--r--tests/javascript/index.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/javascript/index.php b/tests/javascript/index.php
index 2a890d3b0b..4e2e5ab0fc 100644
--- a/tests/javascript/index.php
+++ b/tests/javascript/index.php
@@ -610,7 +610,7 @@ function PiwikTest() {
});
test("Piwik plugin methods", function() {
- expect(31);
+ expect(33);
// TESTS FOR retryMissedPluginCalls
@@ -703,6 +703,8 @@ function PiwikTest() {
strictEqual('function', typeof Piwik.DOM.onReady, "DOM.onReady method is defined");
strictEqual('function', typeof Piwik.DOM.onLoad, "DOM.onLoad method is defined");
strictEqual('function', typeof Piwik.DOM.addEventListener, "DOM.addEventListener method is defined");
+ strictEqual('function', typeof Piwik.DOM.isNodeVisible, "DOM.isNodeVisible method is defined");
+ strictEqual('function', typeof Piwik.DOM.isOrWasNodeVisible, "DOM.isOrWasNodeVisible method is defined");
Piwik.DOM.onLoad(function () {
loaded = true;