aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/test.js b/test.js
index 7c4b5ba..b2b0aec 100644
--- a/test.js
+++ b/test.js
@@ -46,7 +46,10 @@
.then(_ => driver.wait(_ =>
driver.findElement(webdriver.By.css('.jasmine-alert'))
.then(e => e.getText()), 10000))
- .then(_ => driver.findElement(webdriver.By.css('.jasmine-alert')))
+ .then(_ => driver.findElement(webdriver.By.css('.jasmine-overall-result')))
+ .then(e => e.getText())
+ .then(console.log)
+ .then(_ => driver.findElement(webdriver.By.css('.jasmine-results')))
.then(e => e.getText())
.then(console.log)
.then(_ => driver.quit())