docs(test-advanced): fix import config example (#20635)

https://playwright.dev/docs/test-advanced#same-tests-different-configuration

Missing include in config.ts file. add import `devices`.

Signed-off-by: Takuto Yuki <ppppp303@gmail.com>
This commit is contained in:
Takuto Yuki 2023-02-06 18:29:24 +09:00 committed by GitHub
parent 73b07610c3
commit 9787de92f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -453,7 +453,8 @@ module.exports = defineConfig({
```js tab=js-ts ```js tab=js-ts
// playwright.config.ts // playwright.config.ts
import { defineConfig } from '@playwright/test'; import { defineConfig, devices } from '@playwright/test';
export default defineConfig({ export default defineConfig({
projects: [ projects: [
{ {