@ -364,13 +364,15 @@ test('extrude on each default plane should be stable', async ({
|
|||||||
await u.removeCurrentCode()
|
await u.removeCurrentCode()
|
||||||
// add makeCode('XZ')
|
// add makeCode('XZ')
|
||||||
await u.openAndClearDebugPanel()
|
await u.openAndClearDebugPanel()
|
||||||
await page.locator('.cm-content').fill(makeCode(plane))
|
await u.doAndWaitForImageDiff(
|
||||||
|
() => page.locator('.cm-content').fill(makeCode(plane)),
|
||||||
|
200
|
||||||
|
)
|
||||||
// wait for execution done
|
// wait for execution done
|
||||||
await u.expectCmdLog('[data-message-type="execution-done"]')
|
await u.expectCmdLog('[data-message-type="execution-done"]')
|
||||||
await u.clearAndCloseDebugPanel()
|
await u.clearAndCloseDebugPanel()
|
||||||
|
|
||||||
await page.getByText('Code').click()
|
await page.getByText('Code').click()
|
||||||
await page.waitForTimeout(150)
|
|
||||||
await expect(page).toHaveScreenshot({
|
await expect(page).toHaveScreenshot({
|
||||||
maxDiffPixels: 100,
|
maxDiffPixels: 100,
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user