feat(test): Add URL field to the basic test code
This commit is contained in:
parent
5254c83ff1
commit
5e78b13c7e
11
packages/playwright/types/test.d.ts
vendored
11
packages/playwright/types/test.d.ts
vendored
|
|
@ -2156,7 +2156,8 @@ interface TestFunction<TestArgs> {
|
||||||
* test('basic test', {
|
* test('basic test', {
|
||||||
* annotation: {
|
* annotation: {
|
||||||
* type: 'issue',
|
* type: 'issue',
|
||||||
* description: 'https://github.com/microsoft/playwright/issues/23180',
|
* description: 'feature tags API',
|
||||||
|
* url: 'https://github.com/microsoft/playwright/issues/23180'
|
||||||
* },
|
* },
|
||||||
* }, async ({ page }) => {
|
* }, async ({ page }) => {
|
||||||
* await page.goto('https://playwright.dev/');
|
* await page.goto('https://playwright.dev/');
|
||||||
|
|
@ -2232,7 +2233,8 @@ interface TestFunction<TestArgs> {
|
||||||
* test('basic test', {
|
* test('basic test', {
|
||||||
* annotation: {
|
* annotation: {
|
||||||
* type: 'issue',
|
* type: 'issue',
|
||||||
* description: 'https://github.com/microsoft/playwright/issues/23180',
|
* description: 'feature tags API',
|
||||||
|
* url: 'https://github.com/microsoft/playwright/issues/23180'
|
||||||
* },
|
* },
|
||||||
* }, async ({ page }) => {
|
* }, async ({ page }) => {
|
||||||
* await page.goto('https://playwright.dev/');
|
* await page.goto('https://playwright.dev/');
|
||||||
|
|
@ -8120,11 +8122,6 @@ export interface TestInfo {
|
||||||
* Optional description.
|
* Optional description.
|
||||||
*/
|
*/
|
||||||
description?: string;
|
description?: string;
|
||||||
|
|
||||||
/**
|
|
||||||
* Optional URL to provide additional context or link to an issue tracker.
|
|
||||||
*/
|
|
||||||
url?: string;
|
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue