development - screens - fix screenshot on failure

feature/default_network_editable
kumavis 7 years ago
parent d05a2ca968
commit 7a406d51c3
  1. 7
      test/screens/new.spec.js

@ -16,12 +16,13 @@ let driver
captureAllScreens().catch((err) => {
try {
verboseReportOnFailure()
console.error(err)
verboseReportOnFailure()
driver.quit()
} finally {
process.exit(1)
} catch (err) {
console.error(err)
}
process.exit(1)
})
async function captureAllScreens() {

Loading…
Cancel
Save