fix: fixing react race condition on parsing numeric literals in command bar on open

This commit is contained in:
Kevin Nadro
2025-02-05 12:34:08 -06:00
parent 2ac836c0b8
commit a8d76950d0
6 changed files with 34 additions and 3 deletions

View File

@ -30,11 +30,13 @@ test('verify extruding circle works', async ({
localStorage.setItem('persistCode', file)
}, file)
await homePage.goToModelingScene()
await scene.waitForExecutionDone()
const [clickCircle, moveToCircle] = scene.makeMouseHelpers(582, 217)
await test.step('because there is sweepable geometry, verify extrude is enable when nothing is selected', async () => {
await scene.clickNoWhere()
// FIXME: Do not click, clicking removes the activeLines in future checks
// await scene.clickNoWhere()
await expect(toolbar.extrudeButton).toBeEnabled()
})