mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
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:
parent
73b07610c3
commit
9787de92f3
@ -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: [
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user