Skip to content

Conversation

@pavelfeldman
Copy link
Member

@pavelfeldman pavelfeldman commented Jan 24, 2026

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@pavelfeldman pavelfeldman force-pushed the cli_config branch 2 times, most recently from 62f06e5 to 26fdc09 Compare January 25, 2026 01:27
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@microsoft microsoft deleted a comment from github-actions bot Jan 25, 2026
@microsoft microsoft deleted a comment from github-actions bot Jan 25, 2026
@github-actions
Copy link
Contributor

Test results for "tests 1"

3 failed
❌ [playwright-test] › reporter.spec.ts:251 › created › should not have internal error when steps are finished after timeout @macos-latest-node20
❌ [playwright-test] › test-step.spec.ts:369 › should not pass return value from step @macos-latest-node20
❌ [playwright-test] › to-have-screenshot.spec.ts:98 › should not retry serial mode suites with missing expectation errors @macos-latest-node20

1 flaky ⚠️ [playwright-test] › runner.spec.ts:124 › should ignore subprocess creation error because of SIGINT `@macos-latest-node20`

33892 passed, 691 skipped


Merge workflow run.

@github-actions
Copy link
Contributor

Test results for "MCP"

33 failed
❌ [chrome] › mcp/cli.spec.ts:275 › save as › screenshot --full-page @mcp-ubuntu-latest
❌ [chrome] › mcp/cli.spec.ts:433 › session › session-stop-all @mcp-ubuntu-latest
❌ [chromium] › mcp/cli.spec.ts:350 › devtools › tracing-start-stop @mcp-ubuntu-latest
❌ [chromium] › mcp/cli.spec.ts:433 › session › session-stop-all @mcp-ubuntu-latest
❌ [firefox] › mcp/cli.spec.ts:433 › session › session-stop-all @mcp-ubuntu-latest
❌ [firefox] › mcp/cli.spec.ts:458 › session › session-delete named session @mcp-ubuntu-latest
❌ [webkit] › mcp/cli.spec.ts:275 › save as › screenshot --full-page @mcp-ubuntu-latest
❌ [webkit] › mcp/cli.spec.ts:433 › session › session-stop-all @mcp-ubuntu-latest
❌ [webkit] › mcp/snapshot-mode.spec.ts:58 › should respect --snapshot-mode=incremental @mcp-windows-latest
❌ [chrome] › mcp/cli.spec.ts:310 › devtools › console --clear @mcp-macos-15
❌ [chrome] › mcp/cli.spec.ts:328 › devtools › network --static @mcp-macos-15
❌ [chrome] › mcp/cli.spec.ts:335 › devtools › network --clear @mcp-macos-15
❌ [chrome] › mcp/cli.spec.ts:433 › session › session-stop-all @mcp-macos-15
❌ [chromium] › mcp/cli.spec.ts:218 › keyboard › keydown keyup @mcp-macos-15
❌ [chromium] › mcp/cli.spec.ts:238 › mouse › mousedown mouseup @mcp-macos-15
❌ [chromium] › mcp/cli.spec.ts:267 › save as › screenshot @mcp-macos-15
❌ [chromium] › mcp/cli.spec.ts:275 › save as › screenshot --full-page @mcp-macos-15
❌ [chromium] › mcp/cli.spec.ts:300 › devtools › console error @mcp-macos-15
❌ [chromium] › mcp/cli.spec.ts:372 › config › context options @mcp-macos-15
❌ [chromium] › mcp/cli.spec.ts:433 › session › session-stop-all @mcp-macos-15
❌ [chromium] › mcp/cli.spec.ts:447 › session › session-delete @mcp-macos-15
❌ [chromium] › mcp/cli.spec.ts:458 › session › session-delete named session @mcp-macos-15
❌ [chromium] › mcp/launch.spec.ts:79 › persistent context @mcp-macos-15
❌ [firefox] › mcp/cli.spec.ts:238 › mouse › mousedown mouseup @mcp-macos-15
❌ [firefox] › mcp/cli.spec.ts:267 › save as › screenshot @mcp-macos-15
❌ [firefox] › mcp/cli.spec.ts:310 › devtools › console --clear @mcp-macos-15
❌ [firefox] › mcp/cli.spec.ts:335 › devtools › network --clear @mcp-macos-15
❌ [firefox] › mcp/cli.spec.ts:433 › session › session-stop-all @mcp-macos-15
❌ [webkit] › mcp/cli.spec.ts:310 › devtools › console --clear @mcp-macos-15
❌ [webkit] › mcp/cli.spec.ts:328 › devtools › network --static @mcp-macos-15
❌ [webkit] › mcp/cli.spec.ts:335 › devtools › network --clear @mcp-macos-15
❌ [webkit] › mcp/cli.spec.ts:433 › session › session-stop-all @mcp-macos-15
❌ [webkit] › mcp/snapshot-mode.spec.ts:58 › should respect --snapshot-mode=incremental @mcp-macos-15

3169 passed, 360 skipped


Merge workflow run.

console.log(`Deleted user data for session '${sessionName}'.`);
break;
} catch (e: any) {
await new Promise(resolve => setTimeout(resolve, 1000));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move this after line 170?


try {
if (fs.existsSync(path.resolve(process.cwd(), 'playwright-cli.json')))
return path.resolve(process.cwd(), 'playwright-cli.json');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: do path.resolve(process.cwd(), 'playwright-cli.json'); only once?

return `\\\\.\\pipe\\${installationDirHash}-${socketName}`;
if (process.env.PLAYWRIGHT_DAEMON_SOCKET_DIR)
return path.join(process.env.PLAYWRIGHT_DAEMON_SOCKET_DIR, socketName);
return path.join(os.tmpdir(), 'playwright-cli', installationDirHash, socketName);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what about already running daemons with old socket path, just leak?

...this.config.browser.launchOptions,
handleSIGINT: false,
handleSIGTERM: false,
...(options.forceHeadless !== undefined ? { headless: options.forceHeadless === 'headless' } : {}),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does launching headed mode still work when there is an existing headless session?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants