Fixup after rebase
This commit is contained in:
@ -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 () => {
|
||||||
|
@ -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
|
||||||
|
Reference in New Issue
Block a user