test(electron): enable trace file for desktop tests (#7692)
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/T2klNLEk0wxLh4NRDzhk/e8d87ee7-cea6-4188-80a7-1a64f6c74eca.webm">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/T2klNLEk0wxLh4NRDzhk/e8d87ee7-cea6-4188-80a7-1a64f6c74eca.webm">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/e8d87ee7-cea6-4188-80a7-1a64f6c74eca.webm">e02e866a6496b210b8883798d82783d8.webm</video>
one failed run but no valuable result
This commit is contained in:
@@ -18,9 +18,13 @@ const config: PlaywrightTestConfig = {
|
|||||||
fullyParallel: true,
|
fullyParallel: true,
|
||||||
workers: 2,
|
workers: 2,
|
||||||
timeout: process.env.CI ? 50_000 : 30_000,
|
timeout: process.env.CI ? 50_000 : 30_000,
|
||||||
|
expect: {
|
||||||
|
timeout: process.env.CI ? 5_000 : 10_000,
|
||||||
|
},
|
||||||
outputDir: testResultDir,
|
outputDir: testResultDir,
|
||||||
use: {
|
use: {
|
||||||
viewport: { width: 1440, height: 800 },
|
viewport: { width: 1440, height: 800 },
|
||||||
|
trace: 'on-first-retry',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user