Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

chore(create-playwright): add stable channels to example config (#10514)

Max Schmittc08bb427cfd6
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',
+ // },
// },
],
};