fix: Needed to support the bad request flow, the toast will hang forever, the return control flows don't dismiss a forever toast
This commit is contained in:
@ -3342,7 +3342,7 @@ profile001 = startProfile(sketch001, at = [-20, 20])
|
||||
const testPoint = { x: 590, y: 400 }
|
||||
const extrudeColor: [number, number, number] = [100, 100, 100]
|
||||
const sketchColor: [number, number, number] = [140, 140, 140]
|
||||
const defaultPlaneColor: [number, number, number] = [50, 50, 100]
|
||||
const defaultPlaneColor: [number, number, number] = [88, 44, 45]
|
||||
|
||||
const deleteOperation = async (operationButton: Locator) => {
|
||||
if (shouldUseKeyboard) {
|
||||
@ -3386,7 +3386,11 @@ profile001 = startProfile(sketch001, at = [-20, 20])
|
||||
)
|
||||
await deleteOperation(operationButton)
|
||||
await editor.expectEditor.toContain('')
|
||||
await scene.expectPixelColor(defaultPlaneColor, testPoint, 20)
|
||||
// Cannot use test point anymore because the camera's position has been
|
||||
// reset and the rest of the test doesn't need to change just to check
|
||||
// if the scene is cleared.
|
||||
// Check that the scene is cleared
|
||||
await scene.expectPixelColor(defaultPlaneColor, { x: 574, y: 342 }, 20)
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user