Skip to content

Commit 389a484

Browse files
authored
Merge pull request #446 from bcorfman/chrometest
Added chrome channel
2 parents 2f75783 + d672ff1 commit 389a484

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

playwright.config.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { defineConfig, devices } from '@playwright/test';
22

3-
type E2EProjectName = 'chromium' | 'firefox' | 'webkit' | 'msedge';
3+
type E2EProjectName = 'chromium' | 'chrome' | 'firefox' | 'webkit' | 'msedge';
44
type EnvLike = Record<string, string | undefined>;
55

66
const E2E_PREVIEW_COMMAND =
@@ -80,6 +80,14 @@ export default defineConfig({
8080
name,
8181
use: { ...devices['Desktop Chrome'] },
8282
};
83+
case 'chrome':
84+
return {
85+
name,
86+
use: {
87+
...devices['Desktop Chrome'],
88+
channel: 'chrome',
89+
},
90+
};
8391
case 'firefox':
8492
return {
8593
name,

0 commit comments

Comments
 (0)