aboutsummaryrefslogtreecommitdiff
path: root/testlib/selenium/runtime.js
diff options
context:
space:
mode:
Diffstat (limited to 'testlib/selenium/runtime.js')
-rw-r--r--testlib/selenium/runtime.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/testlib/selenium/runtime.js b/testlib/selenium/runtime.js
index 06597b984..58a6e45c1 100644
--- a/testlib/selenium/runtime.js
+++ b/testlib/selenium/runtime.js
@@ -69,6 +69,10 @@ try {
var script = `
+ function onStatus(s) {
+ document.body.appendChild(document.createTextNode(s));
+ document.body.appendChild(document.createElement("br"));
+ }
function f() {
if ("undefined" == typeof System) {
console.log("can't access module loader");
@@ -78,7 +82,7 @@ var script = `
.then(tt => {
SystemJS.import("http://localhost:${httpPort}/${testScript}")
.then(() => {
- return tt.run();
+ return tt.run(onStatus);
})
.then(() => {
window.__test_over = true;