Skip to content

test(mcp): isolate invalid action trace test - #66

Open
RohanOnKeys wants to merge 1 commit into
google:mainfrom
RohanOnKeys:fix/mobile-inspect-invalid-action-62
Open

RohanOnKeys wants to merge 1 commit into
google:mainfrom
RohanOnKeys:fix/mobile-inspect-invalid-action-62

Conversation

@RohanOnKeys

Copy link
Copy Markdown

Summary

Make "test_mobile_inspect_trace_invalid_action" deterministic by isolating it from local filesystem state.

Changes

  • use the existing "temp_trace_env" fixture
  • create an empty "data_engine.db" in the temporary trace directory before calling "mobile_inspect_trace"

This ensures the test consistently reaches the unsupported action path instead of depending on whether a local "traces/data_engine.db" already exists.

Fixes #62

Signed-off-by: Rohan Pattanayak

Signed-off-by: rohan <rohanpxquantum@gmail.com>
@RohanOnKeys

Copy link
Copy Markdown
Author

@google-admin

@RohanOnKeys

Copy link
Copy Markdown
Author

@somew1nd @weilinliu @jhshi1879 could you pls take a look?

@RohanOnKeys

Copy link
Copy Markdown
Author

ping

giveUphope added a commit to giveUphope/autoGamer that referenced this pull request Oct 12, 2026
判据用同一条命令的正反两面:重写前它能报出 7d79864 那行,重写后 -25 条里 grep Claude 为 0;
git diff backup-trailer-fix main --quiet 为 0 证明四条重写的文件内容一字未动。
安全网分支保留待用户确认后再删。
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.

test_mobile_inspect_trace_invalid_action passes or fails based on unrelated on-disk state

1 participant