Some colors and export file size changes occurred engine-side, update tests to match
This commit is contained in:
		| @ -104,7 +104,7 @@ test( | ||||
|             }, | ||||
|             { timeout: 15_000 } | ||||
|           ) | ||||
|           .toBe(477327) | ||||
|           .toBe(477715) | ||||
|  | ||||
|         // clean up output.gltf | ||||
|         await fsp.rm('output.gltf') | ||||
|  | ||||
| @ -173,7 +173,7 @@ test.describe('Can export from electron app', () => { | ||||
|           // gray at this pixel means the stream has loaded in the most | ||||
|           // user way we can verify it (pixel color) | ||||
|           await expect | ||||
|             .poll(() => u.getGreatestPixDiff(pointOnModel, [75, 75, 75]), { | ||||
|             .poll(() => u.getGreatestPixDiff(pointOnModel, [85, 85, 85]), { | ||||
|               timeout: 10_000, | ||||
|             }) | ||||
|             .toBeLessThan(10) | ||||
| @ -207,7 +207,7 @@ test.describe('Can export from electron app', () => { | ||||
|               }, | ||||
|               { timeout: 15_000 } | ||||
|             ) | ||||
|             .toBe(477327) | ||||
|             .toBe(477715) | ||||
|  | ||||
|           // clean up output.gltf | ||||
|           await fsp.rm('output.gltf') | ||||
| @ -856,7 +856,7 @@ const extrude001 = extrude(200, sketch001)`) | ||||
|     // gray at this pixel means the stream has loaded in the most | ||||
|     // user way we can verify it (pixel color) | ||||
|     await expect | ||||
|       .poll(() => u.getGreatestPixDiff(pointOnModel, [132, 132, 132]), { | ||||
|       .poll(() => u.getGreatestPixDiff(pointOnModel, [143, 143, 143]), { | ||||
|         timeout: 10_000, | ||||
|       }) | ||||
|       .toBeLessThan(10) | ||||
| @ -867,7 +867,7 @@ const extrude001 = extrude(200, sketch001)`) | ||||
|       await page.mouse.click(pointOnModel.x, pointOnModel.y) | ||||
|       // check user can interact with model by checking it turns yellow | ||||
|       await expect | ||||
|         .poll(() => u.getGreatestPixDiff(pointOnModel, [176, 180, 132])) | ||||
|         .poll(() => u.getGreatestPixDiff(pointOnModel, [185, 185, 142])) | ||||
|         .toBeLessThan(10) | ||||
|     }).toPass({ timeout: 40_000, intervals: [1_000] }) | ||||
|  | ||||
| @ -956,7 +956,7 @@ test( | ||||
|       // gray at this pixel means the stream has loaded in the most | ||||
|       // user way we can verify it (pixel color) | ||||
|       await expect | ||||
|         .poll(() => u.getGreatestPixDiff(pointOnModel, [75, 75, 75]), { | ||||
|         .poll(() => u.getGreatestPixDiff(pointOnModel, [85, 85, 85]), { | ||||
|           timeout: 10_000, | ||||
|         }) | ||||
|         .toBeLessThan(10) | ||||
| @ -990,7 +990,7 @@ test( | ||||
|       // gray at this pixel means the stream has loaded in the most | ||||
|       // user way we can verify it (pixel color) | ||||
|       await expect | ||||
|         .poll(() => u.getGreatestPixDiff(pointOnModel, [132, 132, 132]), { | ||||
|         .poll(() => u.getGreatestPixDiff(pointOnModel, [143, 143, 143]), { | ||||
|           timeout: 10_000, | ||||
|         }) | ||||
|         .toBeLessThan(10) | ||||
|  | ||||
		Reference in New Issue
	
	Block a user