This commit is contained in:
Adam Chalmers
2025-01-17 16:15:11 -06:00
committed by Nick Cameron
parent 729a34efed
commit 26f01bce76
2 changed files with 5 additions and 2 deletions

View File

@ -80,7 +80,9 @@ test.describe('Code pane and errors', () => {
// Delete a character to break the KCL // Delete a character to break the KCL
await editor.openPane() await editor.openPane()
await editor.scrollToText('bracketLeg1Sketch, length = thickness)') await editor.scrollToText('bracketLeg1Sketch, length = thickness)')
await page.getByText('extrude(bracketLeg1Sketch, length = thickness)').click() await page
.getByText('extrude(bracketLeg1Sketch, length = thickness)')
.click()
await page.keyboard.press('Backspace') await page.keyboard.press('Backspace')
// Ensure that a badge appears on the button // Ensure that a badge appears on the button

View File

@ -332,7 +332,8 @@ test.describe('Testing segment overlays', () => {
await clickConstrained({ await clickConstrained({
hoverPos: { x: lineTo.x, y: lineTo.y }, hoverPos: { x: lineTo.x, y: lineTo.y },
constraintType: 'yAbsolute', constraintType: 'yAbsolute',
expectBeforeUnconstrained: 'line(endAbsolute = [5 + 33, 20 + 11.5 + 0])', expectBeforeUnconstrained:
'line(endAbsolute = [5 + 33, 20 + 11.5 + 0])',
expectAfterUnconstrained: 'line(endAbsolute = [5 + 33, 31.5], %)', expectAfterUnconstrained: 'line(endAbsolute = [5 + 33, 31.5], %)',
expectFinal: 'line(endAbsolute = [5 + 33, yAbs001])', expectFinal: 'line(endAbsolute = [5 + 33, yAbs001])',
steps: 8, steps: 8,