AP1.4c: Gate-Checkliste statt Freitext-DoD.
Deploy Development / deploy (push) Successful in 47s
Test Suite / pytest-backend (push) Successful in 2m13s
Test Suite / lint-backend (push) Successful in 2s
Test Suite / compose-smoke (push) Has been skipped
Test Suite / k6 /api/health Baseline (push) Successful in 18s
Test Suite / playwright-smoke (push) Successful in 12s
Deploy Development / deploy (push) Successful in 47s
Test Suite / pytest-backend (push) Successful in 2m13s
Test Suite / lint-backend (push) Successful in 2s
Test Suite / compose-smoke (push) Has been skipped
Test Suite / k6 /api/health Baseline (push) Successful in 18s
Test Suite / playwright-smoke (push) Successful in 12s
Kriterien-Fortschritt in der Gate-Liste, Modal-UX fuer Checklisten und optionales Erst-Kriterium beim Anlegen. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
dbe6f4f684
commit
bd64340ca1
10 files changed
+509
-198
No files matched your search
@@ -196,3 +196,25 @@ def test_roadmap_dependency_duplicate_rejected(client):
|
||||
)
|
||||
assert dup.status_code == 400
|
||||
assert "existiert bereits" in dup.json()["detail"]
|
||||
|
||||
|
||||
def test_initiative_roadmap_criteria_progress(client):
|
||||
user = provision_user_in_tenant(tenant_role="member")
|
||||
token = _login(client, user)
|
||||
initiative_id = _create_initiative(client, token).json()["id"]
|
||||
item = _create_roadmap_item(
|
||||
client,
|
||||
token,
|
||||
initiative_id,
|
||||
title="Gate mit Kriterium",
|
||||
initial_criterion_title="Erstes Kriterium",
|
||||
).json()
|
||||
|
||||
progress = client.get(
|
||||
f"/api/initiatives/{initiative_id}/roadmap/criteria-progress",
|
||||
headers=_auth(token),
|
||||
)
|
||||
assert progress.status_code == 200
|
||||
body = progress.json()
|
||||
assert body[item["id"]]["total"] >= 1
|
||||
assert body[item["id"]]["closed"] == 0
|
||||
Reference in new issue
Block a user