Skip to content

Commit c08bb42

Browse files
authored
chore(create-playwright): add stable channels to example config (microsoft#10514)
1 parent 7eb3f76 commit c08bb42

File tree

2 files changed

+32
-2
lines changed

2 files changed

+32
-2
lines changed

packages/create-playwright/assets/playwright.config.js

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,22 @@ const config = {
5353
// },
5454
// {
5555
// name: 'Mobile Safari',
56-
// use: devices['iPhone 12'],
56+
// use: {
57+
// ...devices['iPhone 12'],
58+
// },
59+
// },
60+
/* Test against stable browsers. */
61+
// {
62+
// name: 'Microsoft Edge',
63+
// use: {
64+
// channel: 'msedge',
65+
// },
66+
// },
67+
// {
68+
// name: 'Google Chrome',
69+
// use: {
70+
// channel: 'chrome',
71+
// },
5772
// },
5873
],
5974
};

packages/create-playwright/assets/playwright.config.ts

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,22 @@ const config: PlaywrightTestConfig = {
4949
// },
5050
// {
5151
// name: 'Mobile Safari',
52-
// use: devices['iPhone 12'],
52+
// use: {
53+
// ...devices['iPhone 12'],
54+
// },
55+
// },
56+
/* Test against stable browsers. */
57+
// {
58+
// name: 'Microsoft Edge',
59+
// use: {
60+
// channel: 'msedge',
61+
// },
62+
// },
63+
// {
64+
// name: 'Google Chrome',
65+
// use: {
66+
// channel: 'chrome',
67+
// },
5368
// },
5469
],
5570
};

0 commit comments

Comments
 (0)