diff options
author | Yuchen Pei <hi@ypei.me> | 2022-07-25 14:16:59 +1000 |
---|---|---|
committer | Yuchen Pei <hi@ypei.me> | 2022-07-25 14:17:18 +1000 |
commit | b1c24afb18fd461d4abb1de52de9051f4a49aa32 (patch) | |
tree | 7008ba696b8b023106ea45ed3a3a3b38f89e0849 | |
parent | 6b0e27a5afc3ca8ca1fefbfd2326b104232d5f0e (diff) |
update test script to include errors in output
-rw-r--r-- | test.js | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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()) |