Commit 054b25a4 authored by liguangyu06's avatar liguangyu06
Browse files

Fix merge-reports spawn options syntax so CI can start Playwright.

parent fe65124c
...@@ -231,7 +231,7 @@ function mergeAllureResults(sourceDirs, dest) { ...@@ -231,7 +231,7 @@ function mergeAllureResults(sourceDirs, dest) {
function mergeBlobHtml(blobDir, htmlDir) { function mergeBlobHtml(blobDir, htmlDir) {
if (!existsSync(blobDir) || readdirSync(blobDir).length === 0) return false; if (!existsSync(blobDir) || readdirSync(blobDir).length === 0) return false;
const result = spawnSync(process.execPath, [PLAYWRIGHT_CLI, 'merge-reports', blobDir, '--reporter', 'html'], {}) const result = spawnSync(process.execPath, [PLAYWRIGHT_CLI, 'merge-reports', blobDir, '--reporter', 'html'], {
cwd: ROOT, cwd: ROOT,
stdio: 'inherit', stdio: 'inherit',
env: { env: {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment