From 64305aec3beb9ecb7d5296fcd723f9fbf2abba34 Mon Sep 17 00:00:00 2001 From: Simon Knott Date: Fri, 20 Dec 2024 16:58:36 +0100 Subject: [PATCH] revert test change --- tests/playwright-test/playwright.trace.spec.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/playwright-test/playwright.trace.spec.ts b/tests/playwright-test/playwright.trace.spec.ts index 9165cb6165..5af961dedb 100644 --- a/tests/playwright-test/playwright.trace.spec.ts +++ b/tests/playwright-test/playwright.trace.spec.ts @@ -730,6 +730,8 @@ test('should not throw when attachment is missing', async ({ runInlineTest }, te expect(result.exitCode).toBe(0); expect(result.passed).toBe(1); + const trace = await parseTrace(testInfo.outputPath('test-results', 'a-passes', 'trace.zip')); + expect(trace.actionTree).toContain('attach "screenshot"'); }); test('should not throw when screenshot on failure fails', async ({ runInlineTest, server }, testInfo) => {