diff --git a/tests/playwright-test/reporter-html.spec.ts b/tests/playwright-test/reporter-html.spec.ts index 6148c6bce7..f21f146415 100644 --- a/tests/playwright-test/reporter-html.spec.ts +++ b/tests/playwright-test/reporter-html.spec.ts @@ -889,8 +889,8 @@ for (const useIntermediateMergeReport of [false] as const) { await test.step('step', async () => { testInfo.attachments.push({ name: 'step-attachment.txt', - contentType: 'text/plain', - body: Buffer.from('foo'), + contentType: 'text/html', + body: Buffer.from('

step attachment

'), }); }); });