fix(test/e2e/prerender): Remove race condition in test (#77222)
Fixed `setTimeout`s in tests are bad for flakiness, as they introduce
potential race conditions.
https://vercel.slack.com/archives/C07UCHRBWGK/p1742074798403739
Instead of using a fixed timeout, check for a special marker file in a
loop every 100ms.