chore(nx-dev): add missing projects to playwright config (#21423)

This commit is contained in:
Leosvel Pérez Espinosa 2024-01-30 15:56:57 +01:00 committed by GitHub
parent 8b371b09d6
commit 230e6c06cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,4 @@
import { defineConfig } from '@playwright/test';
import { defineConfig, devices } from '@playwright/test';
import { nxE2EPreset } from '@nx/playwright/preset';
// nx-ignore-next-line
@ -39,4 +39,20 @@ export default defineConfig({
reuseExistingServer: !process.env.CI,
cwd: workspaceRoot,
},
projects: [
{
name: 'chromium',
use: { ...devices['Desktop Chrome'] },
},
{
name: 'firefox',
use: { ...devices['Desktop Firefox'] },
},
{
name: 'webkit',
use: { ...devices['Desktop Safari'] },
},
],
});