From 45e5b25cdaebba62dc035aef09580ffb216b588a Mon Sep 17 00:00:00 2001 From: Jace Browning Date: Fri, 4 Apr 2025 04:35:15 -0400 Subject: [PATCH] Use scene fixture to make test more reliable on macOS (#6140) --- e2e/playwright/desktop-export.spec.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/e2e/playwright/desktop-export.spec.ts b/e2e/playwright/desktop-export.spec.ts index f491d5d6a..6aa34876e 100644 --- a/e2e/playwright/desktop-export.spec.ts +++ b/e2e/playwright/desktop-export.spec.ts @@ -47,11 +47,7 @@ test( const exportButton = page.getByTestId('export-pane-button') await expect(exportButton).toBeVisible() - // Wait for the model to finish loading - const modelStateIndicator = page.getByTestId( - 'model-state-indicator-execution-done' - ) - await expect(modelStateIndicator).toBeVisible({ timeout: 60000 }) + await scene.waitForExecutionDone() const gltfOption = page.getByText('glTF') const submitButton = page.getByText('Confirm Export')