From 25c73aae6cd2575a105250801d19cea24e35fb99 Mon Sep 17 00:00:00 2001 From: Kevin Nadro Date: Tue, 4 Feb 2025 15:05:30 -0600 Subject: [PATCH] fix: again another wait for execution does not work --- e2e/playwright/desktop-export.spec.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/e2e/playwright/desktop-export.spec.ts b/e2e/playwright/desktop-export.spec.ts index 0d6eebfef..a9d184438 100644 --- a/e2e/playwright/desktop-export.spec.ts +++ b/e2e/playwright/desktop-export.spec.ts @@ -10,7 +10,7 @@ import fsp from 'fs/promises' test( 'export works on the first try', { tag: '@electron' }, - async ({ page, context }, testInfo) => { + async ({ page, context, scene }, testInfo) => { await context.folderSetupFn(async (dir) => { const bracketDir = path.join(dir, 'bracket') await Promise.all([fsp.mkdir(bracketDir, { recursive: true })]) @@ -118,8 +118,9 @@ test( // Close the file pane await u.closeFilePanel() - // wait for it to finish executing (todo: make this more robust) - await page.waitForTimeout(1000) + // FIXME: await scene.waitForExecutionDone() does not work. The modeling indicator stays in -receive-reliable and not execution done + await page.waitForTimeout(10000) + // expect zero errors in guter await expect(page.locator('.cm-lint-marker-error')).not.toBeVisible()