Skip to content

fix: replace stale chrome-devtools refs in tests and scripts#1967

Closed
triuzzi wants to merge 6 commits intoChromeDevTools:mainfrom
triuzzi:fix/brave-rename-test-stale-refs
Closed

fix: replace stale chrome-devtools refs in tests and scripts#1967
triuzzi wants to merge 6 commits intoChromeDevTools:mainfrom
triuzzi:fix/brave-rename-test-stale-refs

Conversation

@triuzzi
Copy link
Copy Markdown

@triuzzi triuzzi commented Apr 28, 2026

Summary

Cleans up stale chrome-devtools references that were missed during the Brave port and were causing test failures.

  • tests/utils.ts: CLI_PATH now points at the actual build/src/bin/brave-devtools.js binary
  • tests/check-for-updates.test.ts: env var renamed from CHROME_DEVTOOLS_MCP_NO_UPDATE_CHECKS to BRAVE_DEVTOOLS_MCP_NO_UPDATE_CHECKS to match the implementation
  • tests/tools/{screencast,pagesNavigateAllowlist}.test.ts: type-only ParsedArguments import points at brave-devtools-mcp-cli-options.js (came in via the upstream sync but kept the chrome path)
  • scripts/{generate-docs,generate-cli,eval_gemini}.ts: spawn build/src/bin/brave-devtools-mcp.js instead of the chrome binary so dev/eval tooling actually starts the server
  • tests/third_party_notices.test.js.snapshot: regenerated after recent upstream dependency bumps

Test plan

  • npm run typecheck passes
  • npm run build passes
  • npm test passes — full suite green on a Mac with Brave Browser installed (after clearing stale /tmp/brave-devtools-mcp-* state from previous runs)

triuzzi and others added 6 commits April 28, 2026 10:09
Co-Authored-By: Giancarlo Sorrentino <57813140+SirGian99@users.noreply.github.com>
* docs: rebrand CLI guide for Brave

* 0.2.1
Co-Authored-By: Claude <noreply@anthropic.com>
Updates remaining chrome-devtools references missed during the Brave
port to point at the renamed brave-devtools binaries and env vars,
and refreshes the third-party notices snapshot after recent dep bumps.

- tests/utils.ts: CLI_PATH points to build/src/bin/brave-devtools.js
- tests/check-for-updates.test.ts: BRAVE_DEVTOOLS_MCP_NO_UPDATE_CHECKS
- tests/tools/{screencast,pagesNavigateAllowlist}.test.ts:
  import ParsedArguments from brave-devtools-mcp-cli-options
- scripts/{generate-docs,generate-cli,eval_gemini}.ts: spawn
  build/src/bin/brave-devtools-mcp.js
- tests/third_party_notices.test.js.snapshot: regenerated

Co-Authored-By: Claude <noreply@anthropic.com>
@triuzzi
Copy link
Copy Markdown
Author

triuzzi commented Apr 28, 2026

Wrong repo — closing.

@triuzzi triuzzi closed this Apr 28, 2026
@google-cla
Copy link
Copy Markdown

google-cla Bot commented Apr 28, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

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.

1 participant