fix(conformance): draw.models.parts waits for frames, not a settled scene, while a part spins

This commit is contained in:
Sameh Khamis committed 2026-11-17 15:59:10 -08:00
1 parent dbe632b51f
commit 7ea0903fe2
1 file changed
+5 -2
+5 -2
View File
@@ -4284,13 +4284,16 @@ export function portChecks() {
ok(pickedAt(armAt(forward)), 'and stays ahead');
}
await show(
// A spinning part asks for frames for as long as it spins, so the
// scene never settles; wait for frames to be drawn instead.
set.upsert([
model('m', {
spin: { pod: 90 },
deploy: { pod: 1, missing: 1 },
poses: { pod: { highlight: true }, missing: { hidden: true } },
}),
);
]);
await drawn(h, r, 3);
if (picks) ok(pickedAt(pos), 'spinning and highlighted, where it is');
await show(model('m'));
if (picks) ok(pickedAt(pos), 'back at rest');