Multi-profile sweeps and more robust edit flows in point-and-click (#6437)
This commit is contained in:
@ -229,7 +229,7 @@ test.describe('Feature Tree pane', () => {
|
||||
const initialCode = `sketch001 = startSketchOn(XZ)
|
||||
|> circle(center = [0, 0], radius = 5)
|
||||
renamedExtrude = extrude(sketch001, length = ${initialInput})`
|
||||
const newConstantName = 'distance001'
|
||||
const newConstantName = 'length001'
|
||||
const expectedCode = `${newConstantName} = 23
|
||||
sketch001 = startSketchOn(XZ)
|
||||
|> circle(center = [0, 0], radius = 5)
|
||||
@ -270,12 +270,12 @@ test.describe('Feature Tree pane', () => {
|
||||
await cmdBar.expectState({
|
||||
commandName: 'Extrude',
|
||||
stage: 'arguments',
|
||||
currentArgKey: 'distance',
|
||||
currentArgKey: 'length',
|
||||
currentArgValue: initialInput,
|
||||
headerArguments: {
|
||||
Distance: initialInput,
|
||||
Length: initialInput,
|
||||
},
|
||||
highlightedHeaderArg: 'distance',
|
||||
highlightedHeaderArg: 'length',
|
||||
})
|
||||
})
|
||||
|
||||
@ -290,7 +290,7 @@ test.describe('Feature Tree pane', () => {
|
||||
stage: 'review',
|
||||
headerArguments: {
|
||||
// The calculated value is shown in the argument summary
|
||||
Distance: initialInput,
|
||||
Length: initialInput,
|
||||
},
|
||||
commandName: 'Extrude',
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user