Add publisher dashboard routes
All checks were successful
buildbot/nix-eval Build done.
buildbot/nix-build Build done.
buildbot/nix-effects Build done.

This commit is contained in:
Abel Luck 2026-06-02 10:18:59 +02:00
parent 96551c2788
commit e4a5246ab3
31 changed files with 1603 additions and 516 deletions

View file

@ -1048,7 +1048,7 @@ def test_render_runs_uses_database_backed_jobs_and_executions(
assert "Running jobs" in body
assert "Scheduled jobs" in body
assert "Completed job executions" in body
assert f"/job/{job.id}/execution/{execution.get_id()}/logs" in body
assert f"/admin/job/{job.id}/execution/{execution.get_id()}/logs" in body
assert "Succeeded" in body
assert "Run now" in body
@ -1138,7 +1138,7 @@ def test_delete_job_action_removes_source_job_and_execution_history(
running_status=JobExecutionStatus.SUCCEEDED,
)
response = await client.post(f"/actions/jobs/{job.id}/delete")
response = await client.post(f"/admin/actions/jobs/{job.id}/delete")
assert response.status_code == 204
assert (
@ -1185,7 +1185,7 @@ def test_delete_source_action_removes_source_job_and_execution_history(
running_status=JobExecutionStatus.SUCCEEDED,
)
response = await client.post("/actions/sources/delete-source-row/delete")
response = await client.post("/admin/actions/sources/delete-source-row/delete")
assert response.status_code == 204
assert (