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:
pengx17 2024-08-02 04:07:32 +00:00
parent 2cfe9e8b9e
commit 854718db0e
No known key found for this signature in database
GPG Key ID: 23F23D9E8B3971ED

View File

@ -18,9 +18,13 @@ const config: PlaywrightTestConfig = {
fullyParallel: true,
workers: 2,
timeout: process.env.CI ? 50_000 : 30_000,
expect: {
timeout: process.env.CI ? 5_000 : 10_000,
},
outputDir: testResultDir,
use: {
viewport: { width: 1440, height: 800 },
trace: 'on-first-retry',
},
};