Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

test(electron): enable trace file for desktop tests (#7692)

pengx17854718db0e63
diff --git a/tests/affine-desktop/playwright.config.ts b/tests/affine-desktop/playwright.config.ts
index d415817cca..8037c3e711 100644
--- a/tests/affine-desktop/playwright.config.ts
+++ b/tests/affine-desktop/playwright.config.ts
@@ -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',
},
};