integration test remove remaining windows when browser has been quit

This commit is contained in:
Vincent Sanders 2020-03-22 22:47:17 +00:00
parent 710818f346
commit e070f13093
1 changed files with 2 additions and 0 deletions

View File

@ -643,6 +643,8 @@ def run_test_step_action_quit(ctx, step):
assert_browser(ctx)
browser = ctx.pop('browser')
assert browser.quit_and_wait()
# clean up context as all windows have gone away after browser quit
ctx.pop('windows')
STEP_HANDLERS = {