feat(test): Add URL field to the basic test code

This commit is contained in:
osohyun0224 2024-05-05 21:51:08 +09:00
parent 5254c83ff1
commit 5e78b13c7e

View file

@ -2156,7 +2156,8 @@ interface TestFunction<TestArgs> {
* 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<TestArgs> {
* 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;
}>;
/**