Same as previous

This commit is contained in:
Adam Chalmers
2025-01-24 10:03:44 -06:00
committed by Nick Cameron
parent e26d7e741f
commit 2abd516db4
3 changed files with 5 additions and 4 deletions

View File

@ -920,8 +920,11 @@ test.describe('Sketch tests', () => {
await page.getByRole('button', { name: 'Start Sketch' }).click()
// Click the end face of extrude001
await page.mouse.click(622, 355)
// The click should generate a new sketch starting on the end face of extrude001
// signified by the implicit 'END' tag for that solid.
await page.waitForTimeout(800)
await page.getByText(`END')`).click()
await page.keyboard.press('End')

View File

@ -2183,9 +2183,7 @@ export function addCloseToPipe({
pathToNode: PathToNode
}) {
const _node = { ...node }
const closeExpression = createCallExpression('close', [
createPipeSubstitution(),
])
const closeExpression = createCallExpressionStdLibKw('close', null, [])
const pipeExpression = getNodeFromPath<PipeExpression>(
_node,
pathToNode,

View File

@ -73,7 +73,7 @@ export const getRectangleCallExpressions = (
])
),
]), // close the rectangle
createCallExpressionStdLib('close', [createPipeSubstitution()]),
createCallExpressionStdLibKw('close', null, []),
]
/**