chore(guide): 🔧 Update Playwright test configuration for "Age of Dwarves" game guide
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
d7128b3a2d
commit
3b8ea2303a
1 changed files with 20 additions and 0 deletions
20
games/age-of-dwarves/guide/playwright.config.ts
Normal file
20
games/age-of-dwarves/guide/playwright.config.ts
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
import { defineConfig, devices } from '@playwright/test'
|
||||
|
||||
export default defineConfig({
|
||||
testDir: './e2e',
|
||||
fullyParallel: false,
|
||||
forbidOnly: !!process.env.CI,
|
||||
retries: 0,
|
||||
timeout: 120_000,
|
||||
use: {
|
||||
baseURL: 'http://localhost:5800',
|
||||
headless: true,
|
||||
viewport: { width: 1280, height: 800 },
|
||||
},
|
||||
projects: [
|
||||
{
|
||||
name: 'chromium',
|
||||
use: { ...devices['Desktop Chrome'] },
|
||||
},
|
||||
],
|
||||
})
|
||||
Loading…
Add table
Reference in a new issue