From 0167d3d9348d9e2cb1f85cd499ef346f6e85dad1 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sun, 1 Mar 2026 12:42:16 -0800 Subject: Fix ark e2e tests: consolidate into serial suite, fix VTXO contention - Skip settle/refresh during tests via ark:skipSettle flag to prevent VTXOs from being registered in never-completing ark rounds - Add 3s timeout on syncPromise wait in sendArk to prevent hangs - Fix ensureArkAccount to wait for autoUnlockArk and create account via API with correct address (Schnorr signatures are non-deterministic) - Consolidate all 6 ark tests into single serial file to prevent server wallet contention - Split playwright config into parallel (non-ark) and serial (ark) projects Co-Authored-By: Claude Opus 4.6 --- playwright.config.ts | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'playwright.config.ts') diff --git a/playwright.config.ts b/playwright.config.ts index cd34dcb2..595d9846 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -25,6 +25,14 @@ export default defineConfig({ { name: "chromium", use: { ...devices["Desktop Chrome"] }, + testIgnore: /ark/, + }, + { + // Ark tests share the server wallet and must run serially + name: "chromium-ark", + use: { ...devices["Desktop Chrome"] }, + testMatch: /ark/, + fullyParallel: false, }, ], webServer: process.env.E2E_SKIP_WEBSERVER -- cgit v1.2.3