From cd76bb7d3ebdcf67cc14aba794d7bf65fffcb347 Mon Sep 17 00:00:00 2001 From: Simon Knott Date: Thu, 10 Oct 2024 11:41:30 +0200 Subject: [PATCH] test with html --- tests/playwright-test/reporter-html.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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

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