Fix zoom to fit at the right moments...

This commit is contained in:
lee-at-zoo-corp
2025-04-04 00:57:17 -04:00
parent 4d06a917f2
commit cdc0fa4ed9
4 changed files with 77 additions and 37 deletions

View File

@ -82,7 +82,7 @@ sketch001 = startSketchOn(XY)
.poll(() =>
page.locator('[data-receive-command-type="scene_clear_all"]').count()
)
.toBe(2)
.toBe(3)
await expect
.poll(() => page.locator('[data-message-type="execution-done"]').count())
.toBe(2)
@ -103,10 +103,10 @@ sketch001 = startSketchOn(XY)
// Make sure we didn't clear the scene.
await expect(
page.locator('[data-message-type="execution-done"]')
).toHaveCount(2)
).toHaveCount(3)
await expect(
page.locator('[data-receive-command-type="scene_clear_all"]')
).toHaveCount(1)
).toHaveCount(3)
})
test('ensure we use the cache, and do not clear on append', async ({