Same as previous
This commit is contained in:
committed by
Nick Cameron
parent
e26d7e741f
commit
2abd516db4
@ -920,8 +920,11 @@ test.describe('Sketch tests', () => {
|
|||||||
|
|
||||||
await page.getByRole('button', { name: 'Start Sketch' }).click()
|
await page.getByRole('button', { name: 'Start Sketch' }).click()
|
||||||
|
|
||||||
|
// Click the end face of extrude001
|
||||||
await page.mouse.click(622, 355)
|
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.waitForTimeout(800)
|
||||||
await page.getByText(`END')`).click()
|
await page.getByText(`END')`).click()
|
||||||
await page.keyboard.press('End')
|
await page.keyboard.press('End')
|
||||||
|
|||||||
@ -2183,9 +2183,7 @@ export function addCloseToPipe({
|
|||||||
pathToNode: PathToNode
|
pathToNode: PathToNode
|
||||||
}) {
|
}) {
|
||||||
const _node = { ...node }
|
const _node = { ...node }
|
||||||
const closeExpression = createCallExpression('close', [
|
const closeExpression = createCallExpressionStdLibKw('close', null, [])
|
||||||
createPipeSubstitution(),
|
|
||||||
])
|
|
||||||
const pipeExpression = getNodeFromPath<PipeExpression>(
|
const pipeExpression = getNodeFromPath<PipeExpression>(
|
||||||
_node,
|
_node,
|
||||||
pathToNode,
|
pathToNode,
|
||||||
|
|||||||
@ -73,7 +73,7 @@ export const getRectangleCallExpressions = (
|
|||||||
])
|
])
|
||||||
),
|
),
|
||||||
]), // close the rectangle
|
]), // close the rectangle
|
||||||
createCallExpressionStdLib('close', [createPipeSubstitution()]),
|
createCallExpressionStdLibKw('close', null, []),
|
||||||
]
|
]
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user