test: log html output for a flaky test to debug it (#78424)
this test has been flaky recently but we don't know why and can't repro
locally. this PR adds a log to inspect the full HTML when it fails
x-ref: https://vercel.slack.com/archives/C05KYT5S9FF/p1745259844464719