From 5e78b13c7e4e9f2effde08a2a1ef13ca1a7d5777 Mon Sep 17 00:00:00 2001 From: osohyun0224 Date: Sun, 5 May 2024 21:51:08 +0900 Subject: [PATCH] feat(test): Add URL field to the basic test code --- packages/playwright/types/test.d.ts | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/packages/playwright/types/test.d.ts b/packages/playwright/types/test.d.ts index 74c31bc937..ad81931e9c 100644 --- a/packages/playwright/types/test.d.ts +++ b/packages/playwright/types/test.d.ts @@ -2156,7 +2156,8 @@ interface TestFunction { * test('basic test', { * annotation: { * type: 'issue', - * description: 'https://github.com/microsoft/playwright/issues/23180', + * description: 'feature tags API', + * url: 'https://github.com/microsoft/playwright/issues/23180' * }, * }, async ({ page }) => { * await page.goto('https://playwright.dev/'); @@ -2232,7 +2233,8 @@ interface TestFunction { * test('basic test', { * annotation: { * type: 'issue', - * description: 'https://github.com/microsoft/playwright/issues/23180', + * description: 'feature tags API', + * url: 'https://github.com/microsoft/playwright/issues/23180' * }, * }, async ({ page }) => { * await page.goto('https://playwright.dev/'); @@ -8120,11 +8122,6 @@ export interface TestInfo { * Optional description. */ description?: string; - - /** - * Optional URL to provide additional context or link to an issue tracker. - */ - url?: string; }>; /**