Explorar el Código

test(e2e): fix dump

Junyi hace 3 años
padre
commit
db11f48ed6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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