We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2f75783 + d672ff1 commit 389a484Copy full SHA for 389a484
1 file changed
playwright.config.ts
@@ -1,6 +1,6 @@
1
import { defineConfig, devices } from '@playwright/test';
2
3
-type E2EProjectName = 'chromium' | 'firefox' | 'webkit' | 'msedge';
+type E2EProjectName = 'chromium' | 'chrome' | 'firefox' | 'webkit' | 'msedge';
4
type EnvLike = Record<string, string | undefined>;
5
6
const E2E_PREVIEW_COMMAND =
@@ -80,6 +80,14 @@ export default defineConfig({
80
name,
81
use: { ...devices['Desktop Chrome'] },
82
};
83
+ case 'chrome':
84
+ return {
85
+ name,
86
+ use: {
87
+ ...devices['Desktop Chrome'],
88
+ channel: 'chrome',
89
+ },
90
+ };
91
case 'firefox':
92
return {
93
0 commit comments