Stabilize multiprofile sketch test further (#7373)
* increase timeout after rectangle tool is clicked from 200ms -> 400ms * Delay after each primitive mouse interaction * Update snapshots * Update snapshots --------- Co-authored-by: jacebrowning <jacebrowning@gmail.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
@ -2329,16 +2329,18 @@ profile004 = circleThreePoint(sketch001, p1 = [13.44, -6.8], p2 = [13.39, -2.07]
|
||||
await page.mouse.down()
|
||||
await rectDragTo()
|
||||
await page.mouse.up()
|
||||
await page.waitForTimeout(200)
|
||||
await editor.expectEditor.toContain(
|
||||
`angledLine(angle = -7, length = 10.27, tag = $rectangleSegmentA001)`
|
||||
)
|
||||
})
|
||||
|
||||
await test.step('edit existing circl', async () => {
|
||||
await test.step('edit existing circle', async () => {
|
||||
await circleEdge()
|
||||
await page.mouse.down()
|
||||
await dragCircleTo()
|
||||
await page.mouse.up()
|
||||
await page.waitForTimeout(200)
|
||||
await editor.expectEditor.toContain(
|
||||
`profile003 = circle(sketch001, center = [6.92, -4.2], radius = 4.81)`
|
||||
)
|
||||
@ -2349,6 +2351,7 @@ profile004 = circleThreePoint(sketch001, p1 = [13.44, -6.8], p2 = [13.39, -2.07]
|
||||
await page.mouse.down()
|
||||
await circ3PEnd()
|
||||
await page.mouse.up()
|
||||
await page.waitForTimeout(200)
|
||||
await editor.expectEditor.toContain(
|
||||
`profile004 = circleThreePoint(
|
||||
sketch001,
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 52 KiB After Width: | Height: | Size: 52 KiB |
Binary file not shown.
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 58 KiB |
Reference in New Issue
Block a user