Browse Source

Print browser console logs when tests fail.

pull/776/head
Matthew Petroff 5 years ago
parent
commit
9e23ee0b57
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      tests/run_tests.py

+ 3
- 0
tests/run_tests.py View File

@@ -121,6 +121,9 @@ def run_tests():

try:
run_tests()
except AssertionError:
for entry in driver.get_log('browser'):
print(entry)
finally:
driver.quit()
httpd.shutdown()


Loading…
Cancel
Save