projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
704f3d7
)
jasmine puts the status message in a different class on failure
author
Wolfram Schneider
<wosch@indexdata.dk>
Tue, 4 Feb 2014 17:16:44 +0000
(17:16 +0000)
committer
Wolfram Schneider
<wosch@indexdata.dk>
Tue, 4 Feb 2014 17:16:44 +0000
(17:16 +0000)
test/phantom/evaluate.js
patch
|
blob
|
history
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 {
+ var passing = window.$(".passingAlert").text() || window.$(".failingAlert").text();
+
return {
mkws: window.mkws,
html: window.$("html").html(),
duration: window.$(".duration").text(),
- passing: window.$(".passingAlert").text()
+ passing: passing
};
}
})