Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,9 @@ good:

Use `browsertrace compare <failed_run_id> <success_run_id> --json` when a
script, CI check, or AI/coding-agent troubleshooting flow needs structured
comparison output.
comparison output. While the local BrowserTrace UI is running, local scripts,
dashboards, or automation checks can request the same first-divergence JSON
payload via `GET /api/compare/<failed_run_id>/<success_run_id>`.

## Example Matrix

Expand Down
3 changes: 3 additions & 0 deletions tests/test_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -3208,6 +3208,9 @@ def test_examples_readme_includes_command_cheat_sheet():
assert "error: upload preview did not appear" in examples_readme
assert "`browsertrace compare <failed_run_id> <success_run_id> --json`" in examples_readme
assert "structured comparison output" in " ".join(examples_readme.split())
assert "local BrowserTrace UI is running" in examples_readme
assert "same first-divergence JSON payload" in examples_readme
assert "GET /api/compare/<failed_run_id>/<success_run_id>" in examples_readme
assert 'pip install "browsertrace[ui]"' in examples_readme
assert "hosted sharing" not in examples_readme

Expand Down
Loading