fix snapshot test

This commit is contained in:
Kurt Hutten Irev-Dev
2025-02-12 18:46:23 +11:00
parent de526ae36e
commit a78ec6cd17

View File

@ -455,7 +455,9 @@ test(
mask: [page.getByTestId('model-state-indicator')], mask: [page.getByTestId('model-state-indicator')],
}) })
await page.mouse.click(startXPx + PUR * 20, 500 - PUR * 10) const lineEndClick = () =>
page.mouse.click(startXPx + PUR * 20, 500 - PUR * 10)
await lineEndClick()
await page.waitForTimeout(100) await page.waitForTimeout(100)
code += ` code += `
@ -466,6 +468,11 @@ test(
.getByRole('button', { name: 'arc Tangential Arc', exact: true }) .getByRole('button', { name: 'arc Tangential Arc', exact: true })
.click() .click()
// click on the end of the profile to continue it
await page.waitForTimeout(300)
await lineEndClick()
await page.waitForTimeout(100)
// click to continue profile // click to continue profile
await page.mouse.move(813, 392, { steps: 10 }) await page.mouse.move(813, 392, { steps: 10 })
await page.waitForTimeout(100) await page.waitForTimeout(100)