浏览代码

test(e2e): fix dump

Junyi 2 年之前
父节点
当前提交
db11f48ed6
共有 1 个文件被更改,包括 1 次插入1 次删除
  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