Commit fcdf20b0 authored by Romain Casati's avatar Romain Casati

Restarting (softly) Basthon before each test run.

parent ead5f0de
......@@ -301,6 +301,7 @@ if pytest is not None:
# selenium instance cached at the module level
try:
_selenium_cached.clean_logs()
_selenium_cached.run_js("Basthon.restart()")
yield _selenium_cached
finally:
print(_selenium_cached.logs)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment