Merge pull request #48 from beatz174-bit/codex/add-executablepath-to-playwright.config.ts
Allow configuring Playwright Chrome path
This commit is contained in:
Vendored
+4
-1
@@ -20,7 +20,10 @@
|
||||
"type": "node-terminal",
|
||||
"request": "launch",
|
||||
"command": "npm run test:e2e",
|
||||
"cwd": "${workspaceFolder}"
|
||||
"cwd": "${workspaceFolder}",
|
||||
"env": {
|
||||
"CHROME_PATH": "<path to flatpak chrome wrapper>"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -12,7 +12,10 @@ export default defineConfig({
|
||||
projects: [
|
||||
{
|
||||
name: 'chromium',
|
||||
use: { ...devices['Desktop Chrome'] },
|
||||
use: {
|
||||
...devices['Desktop Chrome'],
|
||||
executablePath: process.env.CHROME_PATH,
|
||||
},
|
||||
},
|
||||
],
|
||||
webServer: {
|
||||
|
||||
Reference in New Issue
Block a user