test: pin resident parking permit record journey

This commit is contained in:
2026-08-18 21:32:34 +02:00
parent e7ee0b8017
commit 6159bde2b5
4 changed files with 22 additions and 7 deletions
+12
View File
@@ -26,6 +26,7 @@ from govoplan_core.core.modules import (
ModuleManifest,
NavItem,
PermissionDefinition,
ProductAreaContribution,
RoleTemplate,
)
from govoplan_core.core.provider_governance import declared_module_architecture
@@ -392,6 +393,17 @@ manifest = ModuleManifest(
surface_id="records.navigation",
),
),
product_areas=(
ProductAreaContribution(
id="records-documents",
module_id=MODULE_ID,
label="i18n:govoplan-core.product_area.records_documents",
icon="folder",
description="i18n:govoplan-core.product_area.records_documents_description",
surface_ids=("records.navigation", "records.workspace"),
order=30,
),
),
view_surfaces=(
ViewSurface(
id="records.workspace.file-plan",
+2 -2
View File
@@ -1,6 +1,6 @@
{
"id": "assisted-service-to-decision-record",
"description": "A completed assisted service is filed, closed, held, appraised, independently approved, and exercised through the archive simulation boundary.",
"id": "resident-parking-permit-assisted-record",
"description": "A completed assisted resident parking permit service is filed, closed, held, appraised, independently approved, and exercised through the archive simulation boundary.",
"record": {
"record_id": "record-1",
"record_number": "2026/0001",
+4 -1
View File
@@ -515,7 +515,10 @@ class RecordsTests(unittest.TestCase):
).read_text(encoding="utf-8")
)
expected = fixture["expected"]
self._create_record()
record = self._create_record()
self.assertEqual(fixture["record"]["record_id"], record["record_id"])
self.assertEqual(fixture["record"]["record_number"], record["record_number"])
self.assertEqual(fixture["record"]["class_id"], record["class_id"])
closed = self.records.close_record(
self.session,
self.principal,
+4 -4
View File
@@ -375,7 +375,7 @@
min-width: 24px;
height: 24px;
place-items: center;
border-radius: 50%;
border-radius: var(--radius-round);
background: var(--surface-strong);
color: var(--muted);
font-size: 12px;
@@ -450,7 +450,7 @@
align-self: start;
margin: 5px 0 0 3px;
border: 2px solid var(--accent);
border-radius: 50%;
border-radius: var(--radius-round);
background: var(--panel-soft);
}
@@ -506,7 +506,7 @@
grid-column: 1 / -1;
}
@media (max-width: 1260px) {
@media (max-width: 1280px) {
.records-workspace {
grid-template-columns: minmax(190px, 220px) minmax(330px, 0.85fr) minmax(390px, 1fr);
}
@@ -542,7 +542,7 @@
}
}
@media (max-width: 640px) {
@media (max-width: 680px) {
.records-workspace {
display: flex;
overflow-y: auto;