Use scene fixture to make test more reliable on macOS (#6140)

This commit is contained in:
Jace Browning
2025-04-04 04:35:15 -04:00
committed by GitHub
parent bdec611cf3
commit 45e5b25cda

View File

@ -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')