I\'m getting UnhandledPromiseRejectionWarning Error and the browser is closed when trying to simulate test failure which shouldn\'t close the browser.
The documentati