revert test change

This commit is contained in:
Simon Knott 2024-12-20 16:58:36 +01:00
parent 866cc81125
commit 64305aec3b
No known key found for this signature in database
GPG key ID: 8CEDC00028084AEC

View file

@ -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) => {