A shit ton of stuff

This commit is contained in:
49lf
2024-10-02 12:24:12 -04:00
parent 15b163bba8
commit 89309b6ccd
16 changed files with 427 additions and 222 deletions

View File

@ -500,8 +500,14 @@ test('Sketch on face', async ({ page }) => {
const center = await u.getCenterOfModelViewArea()
await page.mouse.move(center.x, 180)
await page.mouse.click(center.x, 180)
// This basically waits for sketch mode to be ready.
await u.doAndWaitForCmd(
async () => page.mouse.click(center.x, 180),
'default_camera_get_settings',
true
)
await page.waitForTimeout(300)
const firstClickPosition = [612, 238]
const secondClickPosition = [661, 242]