From c08bb427cfd60f357158d0be98b36e002d6bbd4c Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Wed, 24 Nov 2021 21:50:29 +0100 Subject: [PATCH] chore(create-playwright): add stable channels to example config (#10514) --- .../assets/playwright.config.js | 17 ++++++++++++++++- .../assets/playwright.config.ts | 17 ++++++++++++++++- 2 files changed, 32 insertions(+), 2 deletions(-) diff --git a/packages/create-playwright/assets/playwright.config.js b/packages/create-playwright/assets/playwright.config.js index 0f1cbbb5d5..52a15183e4 100644 --- a/packages/create-playwright/assets/playwright.config.js +++ b/packages/create-playwright/assets/playwright.config.js @@ -53,7 +53,22 @@ const config = { // }, // { // name: 'Mobile Safari', - // use: devices['iPhone 12'], + // use: { + // ...devices['iPhone 12'], + // }, + // }, + /* Test against stable browsers. */ + // { + // name: 'Microsoft Edge', + // use: { + // channel: 'msedge', + // }, + // }, + // { + // name: 'Google Chrome', + // use: { + // channel: 'chrome', + // }, // }, ], }; diff --git a/packages/create-playwright/assets/playwright.config.ts b/packages/create-playwright/assets/playwright.config.ts index 8f13537f27..6d0d0d4496 100644 --- a/packages/create-playwright/assets/playwright.config.ts +++ b/packages/create-playwright/assets/playwright.config.ts @@ -49,7 +49,22 @@ const config: PlaywrightTestConfig = { // }, // { // name: 'Mobile Safari', - // use: devices['iPhone 12'], + // use: { + // ...devices['iPhone 12'], + // }, + // }, + /* Test against stable browsers. */ + // { + // name: 'Microsoft Edge', + // use: { + // channel: 'msedge', + // }, + // }, + // { + // name: 'Google Chrome', + // use: { + // channel: 'chrome', + // }, // }, ], };