mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
development - screens - fix screenshot on failure
This commit is contained in:
parent
d05a2ca968
commit
7a406d51c3
@ -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…
Reference in New Issue
Block a user