Fix race conditions and launch flakiness in next-pages HMR test (
9daa1f7)
This test update closes several CI-only failure modes: it attaches console listeners before reloads, waits for the page state and styles to settle before asserting, and re-queries DOM handles after HMR so React rerenders don't leave stale references. It also makes Puppeteer launch more resilient on macOS by adjusting launch flags, stripping quarantine on downloaded Chrome, and retrying browser startup up to three times; the longer subprocess timeout helps slow runners finish reliably.
Other misc changes
- None