diff --git a/docs/src/test-api/class-testconfig.md b/docs/src/test-api/class-testconfig.md index c071c6c3f5..c4f633018b 100644 --- a/docs/src/test-api/class-testconfig.md +++ b/docs/src/test-api/class-testconfig.md @@ -138,7 +138,7 @@ module.exports = config; ```js tab=js-ts // playwright.config.ts -import { type PlaywrightTestConfig, devices } from '@playwright/test'; +import { type PlaywrightTestConfig } from '@playwright/test'; const config: PlaywrightTestConfig = { globalSetup: './global-setup', @@ -167,7 +167,7 @@ module.exports = config; ```js tab=js-ts // playwright.config.ts -import { type PlaywrightTestConfig, devices } from '@playwright/test'; +import { type PlaywrightTestConfig } from '@playwright/test'; const config: PlaywrightTestConfig = { globalTeardown: './global-teardown', @@ -276,7 +276,7 @@ module.exports = config; ```js tab=js-ts // playwright.config.ts -import { type PlaywrightTestConfig, devices } from '@playwright/test'; +import { type PlaywrightTestConfig } from '@playwright/test'; const config: PlaywrightTestConfig = { outputDir: './test-results', @@ -508,7 +508,7 @@ module.exports = config; ```js tab=js-ts // playwright.config.ts -import { type PlaywrightTestConfig, devices } from '@playwright/test'; +import { type PlaywrightTestConfig } from '@playwright/test'; const config: PlaywrightTestConfig = { testIgnore: '**/test-assets/**', @@ -537,7 +537,7 @@ module.exports = config; ```js tab=js-ts // playwright.config.ts -import { type PlaywrightTestConfig, devices } from '@playwright/test'; +import { type PlaywrightTestConfig } from '@playwright/test'; const config: PlaywrightTestConfig = { testMatch: /.*\.e2e\.js/, diff --git a/packages/playwright-test/types/test.d.ts b/packages/playwright-test/types/test.d.ts index 73fc3b53da..8546b3b7a3 100644 --- a/packages/playwright-test/types/test.d.ts +++ b/packages/playwright-test/types/test.d.ts @@ -584,7 +584,7 @@ interface TestConfig { * * ```js * // playwright.config.ts - * import { type PlaywrightTestConfig, devices } from '@playwright/test'; + * import { type PlaywrightTestConfig } from '@playwright/test'; * * const config: PlaywrightTestConfig = { * globalSetup: './global-setup', @@ -603,7 +603,7 @@ interface TestConfig { * * ```js * // playwright.config.ts - * import { type PlaywrightTestConfig, devices } from '@playwright/test'; + * import { type PlaywrightTestConfig } from '@playwright/test'; * * const config: PlaywrightTestConfig = { * globalTeardown: './global-teardown', @@ -684,7 +684,7 @@ interface TestConfig { * * ```js * // playwright.config.ts - * import { type PlaywrightTestConfig, devices } from '@playwright/test'; + * import { type PlaywrightTestConfig } from '@playwright/test'; * * const config: PlaywrightTestConfig = { * outputDir: './test-results', @@ -829,7 +829,7 @@ interface TestConfig { * * ```js * // playwright.config.ts - * import { type PlaywrightTestConfig, devices } from '@playwright/test'; + * import { type PlaywrightTestConfig } from '@playwright/test'; * * const config: PlaywrightTestConfig = { * testIgnore: '**\/test-assets/**', @@ -848,7 +848,7 @@ interface TestConfig { * * ```js * // playwright.config.ts - * import { type PlaywrightTestConfig, devices } from '@playwright/test'; + * import { type PlaywrightTestConfig } from '@playwright/test'; * * const config: PlaywrightTestConfig = { * testMatch: /.*\.e2e\.js/, @@ -1018,7 +1018,7 @@ export interface FullConfig { * * ```js * // playwright.config.ts - * import { type PlaywrightTestConfig, devices } from '@playwright/test'; + * import { type PlaywrightTestConfig } from '@playwright/test'; * * const config: PlaywrightTestConfig = { * globalSetup: './global-setup', @@ -1036,7 +1036,7 @@ export interface FullConfig { * * ```js * // playwright.config.ts - * import { type PlaywrightTestConfig, devices } from '@playwright/test'; + * import { type PlaywrightTestConfig } from '@playwright/test'; * * const config: PlaywrightTestConfig = { * globalTeardown: './global-teardown',