Repository navigation
test(agent): stop the app tests opening Notion in the browser - #1495
Merged
Merged
Conversation
`an_app_with_nothing_to_ask_starts_straight_away` clicked Connect on Notion against the real test backend. Every app test run reached mcp.notion.com and opened Notion's sign-in page in the default browser. Delete it: `an_apps_usual_address_is_tried_before_asking` already checks that Connect starts a sign-in without asking first. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Deletes
an_app_with_nothing_to_ask_starts_straight_away, added in #1488. It clicked Connect on Notion against the real test backend, so every run of the app tests reachedmcp.notion.com, registered a client and opened Notion's sign-in page in the default browser. Anyone running the app suite on a Mac, including pre-commit hooks, got a Notion tab.an_apps_usual_address_is_tried_before_askingalready checks that Connect starts a sign-in without asking for anything first, so no coverage is lost.Evidence
The macOS unified log shows
maple_agent-<hash>test binaries asking LaunchServices to open a URL once per run from 09:12 PT on Nov 7, starting about 20 minutes after #1488 merged.Testing
MAPLE_HOOK_SKIP=1to get this up quickly; the full app suite andcargo fmt --checkabove were run by hand, and CI runs the rest.Not covered
The Home Assistant tests in the same file also start real sign-ins, at
http://homeassistant.local:8123andhttp://192.168.1.20:8123. They open nothing unless an MCP server answers at one of those addresses.🤖 Generated with Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.