add annotation

This commit is contained in:
Simon Knott 2025-02-03 10:45:49 +01:00
parent 4d13eb5d58
commit 9593947555
No known key found for this signature in database
GPG key ID: 8CEDC00028084AEC

View file

@ -735,7 +735,7 @@ test('step attachments are referentially equal to result attachments', async ({
]);
});
test('attachments are reported in onStepEnd', async ({ runInlineTest }) => {
test('attachments are reported in onStepEnd', { annotation: { type: 'issue', description: 'https://github.com/microsoft/playwright/issues/14364' } }, async ({ runInlineTest }) => {
class TestReporter implements Reporter {
onStepEnd(test: TestCase, result: TestResult, step: TestStep) {
console.log(`%%${step.title}: ${result.attachments.length} attachments in result`);