The cwd-variants test asserted footer text right after setup()'s single tick. On slow Windows runners the TUI has only written the color-scheme query and hideCursor by then — no first frame — so the /opt assertion failed (PR #498, windows coverage lane). Wait for each first-frame assertion with vi.waitFor, the pattern 7fddeb446 and df38095a1 already use in this file.