Another one

This commit is contained in:
Pierre Jacquier
2025-02-14 13:55:41 -05:00
parent 433ec2d6cc
commit 3d5307264b

View File

@ -2045,14 +2045,10 @@ extrude001 = extrude(profile003, length = 5)
}) })
} }
) )
test('exit new sketch without drawing anything should not be a problem', async ({ test(
homePage, 'exit new sketch without drawing anything should not be a problem',
scene, { tag: '@skipWin' },
toolbar, async ({ homePage, scene, toolbar, editor, cmdBar, page }) => {
editor,
cmdBar,
page,
}) => {
await page.addInitScript(async () => { await page.addInitScript(async () => {
localStorage.setItem('persistCode', `myVar = 5`) localStorage.setItem('persistCode', `myVar = 5`)
}) })
@ -2088,7 +2084,8 @@ extrude001 = extrude(profile003, length = 5)
await scene.expectPixelColor([255, 255, 255], { x: 633, y: 211 }, 15) await scene.expectPixelColor([255, 255, 255], { x: 633, y: 211 }, 15)
}) })
}) }
)
test( test(
'A sketch with only "startProfileAt" and no segments should still be able to be continued', 'A sketch with only "startProfileAt" and no segments should still be able to be continued',
{ tag: ['@skipWin'] }, { tag: ['@skipWin'] },