From 212030d5c2f080fbb6a7aa5cbf6cf998435e1400 Mon Sep 17 00:00:00 2001 From: osohyun0224 <53892427+osohyun0224@users.noreply.github.com> Date: Sun, 9 Jun 2024 17:15:55 +0900 Subject: [PATCH] fix(lint) : no annotation in url --- packages/playwright/src/reporters/html.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/playwright/src/reporters/html.ts b/packages/playwright/src/reporters/html.ts index d17977cc89..bb0acf19aa 100644 --- a/packages/playwright/src/reporters/html.ts +++ b/packages/playwright/src/reporters/html.ts @@ -382,8 +382,7 @@ class HtmlBuilder { // Annotations can be pushed directly, with a wrong type. annotations: test.annotations.map(a => ({ type: a.type, - description: a.description ? String(a.description) : a.description, - url: a.url ? String(a.url) : a.url + description: a.description ? String(a.description) : a.description })), tags: test.tags, outcome: test.outcome(), @@ -400,8 +399,7 @@ class HtmlBuilder { // Annotations can be pushed directly, with a wrong type. annotations: test.annotations.map(a => ({ type: a.type, - description: a.description ? String(a.description) : a.description, - url: a.url ? String(a.url) : a.url + description: a.description ? String(a.description) : a.description })), tags: test.tags, outcome: test.outcome(),