Skip to content
Snippets Groups Projects
Unverified Commit f4e6024c authored by Uladzimir Havenchyk's avatar Uladzimir Havenchyk Committed by GitHub
Browse files

e2e: allow cypress to start with --browser=firefox passed (#46569)

parent ba66cf32
No related branches found
No related tags found
No related merge requests found
......@@ -106,7 +106,9 @@ const defaultConfig = {
);
if (!failures) {
// delete the video if the spec passed and no tests retried
fs.unlinkSync(results.video);
if (fs.existsSync(results.video)) {
fs.unlinkSync(results.video);
}
}
}
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment