Browse Source

test(e2e): fix dump

Junyi 2 years ago
parent
commit
db11f48ed6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      e2e-tests/fixtures.ts

+ 1 - 1
e2e-tests/fixtures.ts

@@ -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