generated from coulomb/repo-seed
Route auto review requests to agentic review
This commit is contained in:
@@ -1403,7 +1403,7 @@ def test_ui_register_analyze_and_approve_loop(tmp_path):
|
||||
assert "Password or access token" in index_response.text
|
||||
assert "Explore after registration" in index_response.text
|
||||
assert "Use LLM assistance if configured" in index_response.text
|
||||
assert "Trusted auto-populate after analysis" in index_response.text
|
||||
assert "Request agentic review after analysis" in index_response.text
|
||||
assert '<a href="/ui/scope">SCOPE</a>' not in index_response.text
|
||||
|
||||
create_response = client.post(
|
||||
@@ -1428,7 +1428,7 @@ def test_ui_register_analyze_and_approve_loop(tmp_path):
|
||||
assert "Running analysis..." in detail_response.text
|
||||
assert "Analyze cached checkout without fetching upstream" in detail_response.text
|
||||
assert "Use LLM assistance if configured" in detail_response.text
|
||||
assert "Trusted auto-populate after analysis" in detail_response.text
|
||||
assert "Request agentic review after analysis" in detail_response.text
|
||||
assert "Repository Metadata" in detail_response.text
|
||||
assert (
|
||||
f'<a class="button secondary" href="/ui/repos/{repository_id}/scope">SCOPE</a>'
|
||||
@@ -2081,7 +2081,7 @@ def test_ui_register_and_explore_lands_on_analysis_result(tmp_path):
|
||||
"access_password": "",
|
||||
"explore_after_registration": "1",
|
||||
"use_llm_assistance": "",
|
||||
"trusted_auto_approve": "1",
|
||||
"agentic_review": "1",
|
||||
},
|
||||
follow_redirects=False,
|
||||
)
|
||||
@@ -2092,9 +2092,9 @@ def test_ui_register_and_explore_lands_on_analysis_result(tmp_path):
|
||||
result = client.get(response.headers["location"])
|
||||
assert result.status_code == 200
|
||||
assert "Candidate Graph" in result.text
|
||||
assert "approved" in result.text
|
||||
assert "candidate" in result.text
|
||||
assert "Observed Facts" in result.text
|
||||
assert "trusted_auto_approve_candidate_graph" in result.text
|
||||
assert "agentic_review_unconfigured" in result.text
|
||||
|
||||
repository_detail = client.get("/ui/repos/1")
|
||||
assert repository_detail.status_code == 200
|
||||
|
||||
Reference in New Issue
Block a user