Skip to content

Conversation

@pavelfeldman
Copy link
Member

No description provided.

Copy link

@manimovassagh manimovassagh left a comment

Choose a reason for hiding this comment

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

Great job


const fileName = path.resolve(__dirname, '../packages/playwright/lib/mcp/terminal/help.json');
console.log('Writing ', path.relative(process.cwd(), fileName));
fs.writeFileSync(fileName, JSON.stringify(generateHelpJSON(), null, 2));

Choose a reason for hiding this comment

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

Just a recommendation: Consider adding error handling here to make build failures more obvious:

try {
  fs.writeFileSync(fileName, JSON.stringify(generateHelpJSON(), null, 2));
  console.log('✓ Successfully wrote', path.relative(process.cwd(), fileName));
} catch (error) {
  console.error('✗ Failed to write help file:', error.message);
  process.exit(1);
}

This will make it clearer if the file write fails during the build process.

nohup.out
.trace
.tmp
.playwright-cli

Choose a reason for hiding this comment

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

Should we also add the generated help file here?

Choose a reason for hiding this comment

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

Since help.json is now auto-generated during build, it probably shouldn't be checked into version control.

@pavelfeldman pavelfeldman merged commit ed17602 into microsoft:main Jan 24, 2026
28 of 32 checks passed
@github-actions
Copy link
Contributor

Test results for "tests 1"

8 failed
❌ [firefox-library] › library/firefox/launcher.spec.ts:49 › should support custom firefox policies @firefox-ubuntu-22.04-node20
❌ [playwright-test] › expect.spec.ts:542 › should respect expect.timeout in toHaveURL @macos-latest-node20
❌ [playwright-test] › expect.spec.ts:562 › should support toHaveURL predicate @macos-latest-node20
❌ [playwright-test] › playwright.spec.ts:485 › should work with video: on-first-retry @macos-latest-node20
❌ [playwright-test] › playwright.spec.ts:877 › page.pause() should disable test timeout @macos-latest-node20
❌ [playwright-test] › reporter-junit.spec.ts:310 › created › should render existing attachments, but not missing ones @macos-latest-node20
❌ [playwright-test] › reporter-junit.spec.ts:337 › created › should render attachment paths relative to report file when report file name is specified @macos-latest-node20
❌ [playwright-test] › reporter-line.spec.ts:193 › created › should show error context with relative path @macos-latest-node20

7 flaky ⚠️ [chromium-page] › page/page-request-continue.spec.ts:754 › propagate headers cross origin redirect after interception `@ubuntu-22.04-chromium-tip-of-tree`
⚠️ [chromium-library] › library/inspector/recorder-api.spec.ts:120 › should type `@chromium-ubuntu-22.04-node24`
⚠️ [firefox-library] › library/inspector/cli-codegen-1.spec.ts:1082 › cli codegen › should not throw csp directive violation errors `@firefox-ubuntu-22.04-node20`
⚠️ [firefox-page] › page/page-goto.spec.ts:83 › should work with Cross-Origin-Opener-Policy `@firefox-ubuntu-22.04-node20`
⚠️ [webkit-page] › page/page-network-request.spec.ts:288 › should parse the data if content-type is application/x-www-form-urlencoded `@webkit-ubuntu-22.04-node20`
⚠️ [playwright-test] › runner.spec.ts:124 › should ignore subprocess creation error because of SIGINT `@macos-latest-node20`
⚠️ [playwright-test] › ui-mode-trace.spec.ts:813 › should update state on subsequent run `@macos-latest-node20`

34658 passed, 695 skipped


Merge workflow run.

@github-actions
Copy link
Contributor

Test results for "MCP"

9 failed
❌ [webkit] › mcp/snapshot-mode.spec.ts:58 › should respect --snapshot-mode=incremental @mcp-windows-latest
❌ [chrome] › mcp/cli.spec.ts:274 › save as › screenshot --full-page @mcp-macos-15
❌ [chromium] › mcp/cli.spec.ts:169 › core › dialog-accept @mcp-macos-15
❌ [chromium] › mcp/cli.spec.ts:274 › save as › screenshot --full-page @mcp-macos-15
❌ [chromium] › mcp/cli.spec.ts:349 › devtools › tracing-start-stop @mcp-macos-15
❌ [firefox] › mcp/cli.spec.ts:274 › save as › screenshot --full-page @mcp-macos-15
❌ [firefox] › mcp/cli.spec.ts:349 › devtools › tracing-start-stop @mcp-macos-15
❌ [webkit] › mcp/cli.spec.ts:274 › save as › screenshot --full-page @mcp-macos-15
❌ [webkit] › mcp/snapshot-mode.spec.ts:58 › should respect --snapshot-mode=incremental @mcp-macos-15

3105 passed, 305 skipped


Merge workflow run.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants