From 9787de92f375c268b76ceca3b59b4c29b2517e5f Mon Sep 17 00:00:00 2001 From: Takuto Yuki Date: Mon, 6 Feb 2023 18:29:24 +0900 Subject: [PATCH] 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 --- docs/src/test-advanced-js.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/src/test-advanced-js.md b/docs/src/test-advanced-js.md index 6e4da0d229..a5074bd285 100644 --- a/docs/src/test-advanced-js.md +++ b/docs/src/test-advanced-js.md @@ -453,7 +453,8 @@ module.exports = defineConfig({ ```js tab=js-ts // playwright.config.ts -import { defineConfig } from '@playwright/test'; +import { defineConfig, devices } from '@playwright/test'; + export default defineConfig({ projects: [ {