Two bugs in the browser suite, both dating from step 7 adding eyes, brows and teeth to the stage. The shut-mouth check asked for exactly one tone on the whole canvas. That was true when the stage held nothing but a mouth; since step 7 every frame carries five or six tones whatever the mouth is doing, so the check failed on a correct picture. Ask instead whether :mouth-dark is on the stage at all: nothing else carries that tone, so it answers "is the interior drawn" without needing to know where the mouth is. freeze_test already got this same rescoping; its browser twin did not. The failure went unnoticed because close() raced Chrome's own profile writes and threw ENOTEMPTY out of main's `finally`, past the summary line and the process.exit that reports the failure count. The suite therefore exited 2 and printed no verdict whether it passed or failed. Teardown is now allowed to fail out loud without taking the exit code with it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B87NVmiU36qQmN9gmFYnJ9 |
||
|---|---|---|
| .. | ||
| arthur | ||
| browser | ||