test: pin resident parking permit record journey
This commit is contained in:
@@ -26,6 +26,7 @@ from govoplan_core.core.modules import (
|
|||||||
ModuleManifest,
|
ModuleManifest,
|
||||||
NavItem,
|
NavItem,
|
||||||
PermissionDefinition,
|
PermissionDefinition,
|
||||||
|
ProductAreaContribution,
|
||||||
RoleTemplate,
|
RoleTemplate,
|
||||||
)
|
)
|
||||||
from govoplan_core.core.provider_governance import declared_module_architecture
|
from govoplan_core.core.provider_governance import declared_module_architecture
|
||||||
@@ -392,6 +393,17 @@ manifest = ModuleManifest(
|
|||||||
surface_id="records.navigation",
|
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=(
|
view_surfaces=(
|
||||||
ViewSurface(
|
ViewSurface(
|
||||||
id="records.workspace.file-plan",
|
id="records.workspace.file-plan",
|
||||||
|
|||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"id": "assisted-service-to-decision-record",
|
"id": "resident-parking-permit-assisted-record",
|
||||||
"description": "A completed assisted service is filed, closed, held, appraised, independently approved, and exercised through the archive simulation boundary.",
|
"description": "A completed assisted resident parking permit service is filed, closed, held, appraised, independently approved, and exercised through the archive simulation boundary.",
|
||||||
"record": {
|
"record": {
|
||||||
"record_id": "record-1",
|
"record_id": "record-1",
|
||||||
"record_number": "2026/0001",
|
"record_number": "2026/0001",
|
||||||
|
|||||||
@@ -515,7 +515,10 @@ class RecordsTests(unittest.TestCase):
|
|||||||
).read_text(encoding="utf-8")
|
).read_text(encoding="utf-8")
|
||||||
)
|
)
|
||||||
expected = fixture["expected"]
|
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(
|
closed = self.records.close_record(
|
||||||
self.session,
|
self.session,
|
||||||
self.principal,
|
self.principal,
|
||||||
|
|||||||
@@ -375,7 +375,7 @@
|
|||||||
min-width: 24px;
|
min-width: 24px;
|
||||||
height: 24px;
|
height: 24px;
|
||||||
place-items: center;
|
place-items: center;
|
||||||
border-radius: 50%;
|
border-radius: var(--radius-round);
|
||||||
background: var(--surface-strong);
|
background: var(--surface-strong);
|
||||||
color: var(--muted);
|
color: var(--muted);
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
@@ -450,7 +450,7 @@
|
|||||||
align-self: start;
|
align-self: start;
|
||||||
margin: 5px 0 0 3px;
|
margin: 5px 0 0 3px;
|
||||||
border: 2px solid var(--accent);
|
border: 2px solid var(--accent);
|
||||||
border-radius: 50%;
|
border-radius: var(--radius-round);
|
||||||
background: var(--panel-soft);
|
background: var(--panel-soft);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -506,7 +506,7 @@
|
|||||||
grid-column: 1 / -1;
|
grid-column: 1 / -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 1260px) {
|
@media (max-width: 1280px) {
|
||||||
.records-workspace {
|
.records-workspace {
|
||||||
grid-template-columns: minmax(190px, 220px) minmax(330px, 0.85fr) minmax(390px, 1fr);
|
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 {
|
.records-workspace {
|
||||||
display: flex;
|
display: flex;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
|
|||||||
Reference in New Issue
Block a user