projects
/
mkws-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
run tidy by default
[mkws-moved-to-github.git]
/
test
/
phantom
/
evaluate.js
diff --git
a/test/phantom/evaluate.js
b/test/phantom/evaluate.js
index
8cc4c3e
..
0cf56f0
100644
(file)
--- a/
test/phantom/evaluate.js
+++ b/
test/phantom/evaluate.js
@@
-99,11
+99,13
@@
page.open(url, function (status) {
if (!window || !window.$ || !window.mkws) {
return false;
} else {
if (!window || !window.$ || !window.mkws) {
return false;
} else {
+ var passing = window.$(".passingAlert").text() || window.$(".failingAlert").text();
+
return {
mkws: window.mkws,
html: window.$("html").html(),
duration: window.$(".duration").text(),
return {
mkws: window.mkws,
html: window.$("html").html(),
duration: window.$(".duration").text(),
- passing: window.$(".passingAlert").text()
+ passing: passing
};
}
})
};
}
})