Fixup after rebase

This commit is contained in:
lee-at-zoo-corp
2025-03-31 14:01:56 -04:00
parent 992fec6afb
commit ed1e2aedfd
2 changed files with 6 additions and 5 deletions

View File

@ -581,6 +581,7 @@ profile001 = startProfileAt([205.96, 254.59], sketch002)
editor, editor,
toolbar, toolbar,
scene, scene,
cmdBar,
}) => { }) => {
const u = await getUtils(page) const u = await getUtils(page)
@ -600,8 +601,6 @@ openSketch = startSketchOn(XY)
}, initialCode) }, initialCode)
await homePage.goToModelingScene() await homePage.goToModelingScene()
await u.waitForPageLoad()
await page.waitForTimeout(1000)
const pointInsideCircle = { const pointInsideCircle = {
x: viewPortSize.width * 0.63, x: viewPortSize.width * 0.63,
@ -631,8 +630,11 @@ openSketch = startSketchOn(XY)
} }
await test.step(`Double-click on the closed sketch`, async () => { await test.step(`Double-click on the closed sketch`, async () => {
await scene.settled(cmdBar)
await moveToCircle() await moveToCircle()
await page.waitForTimeout(1000)
await dblClickCircle() await dblClickCircle()
await page.waitForTimeout(1000)
await expect(toolbar.exitSketchBtn).toBeVisible() await expect(toolbar.exitSketchBtn).toBeVisible()
await editor.expectState({ await editor.expectState({
activeLines: [`|>circle(center=[8,5],radius=2)`], activeLines: [`|>circle(center=[8,5],radius=2)`],
@ -1268,8 +1270,6 @@ openSketch = startSketchOn(XY)
await page.keyboard.insertText('1') await page.keyboard.insertText('1')
await cmdBar.progressCmdBar() await cmdBar.progressCmdBar()
await page.keyboard.insertText('100') await page.keyboard.insertText('100')
await cmdBar.progressCmdBar()
await page.waitForTimeout(1000)
await cmdBar.expectState({ await cmdBar.expectState({
stage: 'review', stage: 'review',
headerArguments: { headerArguments: {
@ -1283,6 +1283,7 @@ openSketch = startSketchOn(XY)
commandName: 'Helix', commandName: 'Helix',
}) })
await cmdBar.progressCmdBar() await cmdBar.progressCmdBar()
await page.waitForTimeout(1000)
}) })
await test.step(`Confirm code is added to the editor, scene has changed`, async () => { await test.step(`Confirm code is added to the editor, scene has changed`, async () => {

View File

@ -315,7 +315,7 @@ export const EngineStream = (props: {
} }
const path = getArtifactOfTypes( const path = getArtifactOfTypes(
{ key: entity_id, types: ['path', 'solid2d', 'segment', 'helix'] }, { key: entity_id, types: ['path', 'solid2d', 'segment', 'helix'] },
engineCommandManager.artifactGraph kclManager.artifactGraph
) )
if (err(path)) { if (err(path)) {
return path return path