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>2013-11-25 07:40:13 +0400
committerThomas Steur <thomas.steur@gmail.com>2013-11-25 07:40:13 +0400
commitc85ebdf790c5e83dd844d9e84b7255a9ad5572d7 (patch)
tree18343cc15efa1e348b3ebb7966178f30a83f5947 /tests/javascript/testrunner.js
parent20d4c26853ebcbbffd614f75b3e06f183eb878f4 (diff)
refs #4225 output alert messages
Diffstat (limited to 'tests/javascript/testrunner.js')
-rw-r--r--tests/javascript/testrunner.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/javascript/testrunner.js b/tests/javascript/testrunner.js
index 216fc7be44..61ca183f97 100644
--- a/tests/javascript/testrunner.js
+++ b/tests/javascript/testrunner.js
@@ -73,6 +73,10 @@ page.onConsoleMessage = function(message) {
console.log(message);
}
+page.onAlert = function(msg) {
+ console.log('ALERT: ' + msg + "\n");
+}
+
page.open(url, function(success) {
if (success === "success") {
if (!isPhantomAttached()) {