test(e2e): fix dump

pull/7473/head
Junyi 2022-12-06 19:49:57 +08:00 committed by Tienson Qin
parent bd3479abda
commit db11f48ed6
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ base.afterAll(async () => {
// await electronApp.close()
//}
// use .dump as extension to avoid unfolded when zip by github
await context.tracing.stop({ path: 'e2e-dump/trace.zip.dump' });
await context.tracing.stop({ path: `e2e-dump/trace-${Date.now()}.zip.dump` });
})
// hijack electron app into the test context