feat(web): add owner assignment decision checklist
This commit is contained in:
@@ -347,6 +347,7 @@ def validate(root: Path) -> None:
|
||||
"s2_96_iwooos_owner_response_formal_record_owner_assignment_checklist_board",
|
||||
"s2_97_iwooos_owner_response_formal_record_owner_assignment_outcome_board",
|
||||
"s2_98_iwooos_owner_response_formal_record_owner_assignment_decision_preparation_board",
|
||||
"s2_99_iwooos_owner_response_formal_record_owner_assignment_decision_checklist_board",
|
||||
]
|
||||
assert_equal(
|
||||
"progress_delta_ledger.delta_ids",
|
||||
@@ -596,6 +597,11 @@ def validate(root: Path) -> None:
|
||||
[item["action_id"] for item in rollup["next_safe_actions"] if isinstance(item, dict)],
|
||||
"show_iwooos_owner_response_formal_record_owner_assignment_decision_preparation_board",
|
||||
)
|
||||
assert_contains(
|
||||
"rollup.next_safe_actions.action_ids",
|
||||
[item["action_id"] for item in rollup["next_safe_actions"] if isinstance(item, dict)],
|
||||
"show_iwooos_owner_response_formal_record_owner_assignment_decision_checklist_board",
|
||||
)
|
||||
assert_contains(
|
||||
"rollup.next_safe_actions.action_ids",
|
||||
[item["action_id"] for item in rollup["next_safe_actions"] if isinstance(item, dict)],
|
||||
@@ -7341,6 +7347,50 @@ def validate(root: Path) -> None:
|
||||
iwooos_projection_page,
|
||||
text,
|
||||
)
|
||||
assert_text_contains(
|
||||
"iwooos_page.owner_response_formal_record_owner_assignment_decision_checklist_items",
|
||||
iwooos_projection_page,
|
||||
"ownerResponseFormalRecordOwnerAssignmentDecisionChecklistItems",
|
||||
)
|
||||
assert_text_contains(
|
||||
"iwooos_page.owner_response_formal_record_owner_assignment_decision_checklist_testid",
|
||||
iwooos_projection_page,
|
||||
'data-testid="iwooos-owner-response-formal-record-owner-assignment-decision-checklist-board"',
|
||||
)
|
||||
assert_text_contains(
|
||||
"iwooos_page.owner_response_formal_record_owner_assignment_decision_checklist_component",
|
||||
iwooos_projection_page,
|
||||
"OwnerResponseFormalRecordOwnerAssignmentDecisionChecklistBoard",
|
||||
)
|
||||
for text in [
|
||||
"owner_response_formal_record_owner_assignment_decision_check_count=8",
|
||||
"owner_response_formal_record_owner_assignment_decision_check_passed_count=0",
|
||||
"owner_response_formal_record_owner_assignment_decision_created_count=0",
|
||||
"owner_response_formal_record_owner_assigned_count=0",
|
||||
"owner_response_formal_record_created_count=0",
|
||||
"owner_response_formal_record_approved_count=0",
|
||||
"owner_response_formal_record_runtime_gate_count=0",
|
||||
"owner_response_formal_record_owner_assignment_decision_checklist_only=true",
|
||||
"owner_response_formal_record_owner_assignment_authorized=false",
|
||||
"owner_response_formal_record_write_authorized=false",
|
||||
"owner_response_formal_record_approval_authorized=false",
|
||||
"owner_response_formal_record_execution_authorized=false",
|
||||
"runtime_execution_authorized=false",
|
||||
"active_runtime_gate_count=0",
|
||||
"action_buttons_allowed=false",
|
||||
"not_authorization=true",
|
||||
"secret_value_collection_allowed=false",
|
||||
"repo_creation_authorized=false",
|
||||
"refs_sync_authorized=false",
|
||||
"workflow_modification_authorized=false",
|
||||
"github_primary_switch_authorized=false",
|
||||
"gitea_disablement_authorized=false",
|
||||
]:
|
||||
assert_text_contains(
|
||||
"iwooos_page.owner_response_formal_record_owner_assignment_decision_checklist_boundary",
|
||||
iwooos_projection_page,
|
||||
text,
|
||||
)
|
||||
for key in [
|
||||
"title",
|
||||
"subtitle",
|
||||
@@ -8331,6 +8381,57 @@ def validate(root: Path) -> None:
|
||||
list(web_messages_en["iwooos"]["ownerResponseFormalRecordOwnerAssignmentDecisionPreparationBoard"]["items"].keys()),
|
||||
key,
|
||||
)
|
||||
for key in [
|
||||
"title",
|
||||
"subtitle",
|
||||
"checkLabel",
|
||||
"confirmationLabel",
|
||||
"guardLabel",
|
||||
"boundaryTitle",
|
||||
"summary",
|
||||
"items",
|
||||
]:
|
||||
assert_contains(
|
||||
"web_messages.zh-TW.iwooos.ownerResponseFormalRecordOwnerAssignmentDecisionChecklistBoard",
|
||||
list(web_messages_zh["iwooos"]["ownerResponseFormalRecordOwnerAssignmentDecisionChecklistBoard"].keys()),
|
||||
key,
|
||||
)
|
||||
assert_contains(
|
||||
"web_messages.en.iwooos.ownerResponseFormalRecordOwnerAssignmentDecisionChecklistBoard",
|
||||
list(web_messages_en["iwooos"]["ownerResponseFormalRecordOwnerAssignmentDecisionChecklistBoard"].keys()),
|
||||
key,
|
||||
)
|
||||
for key in ["checks", "passed", "decisions", "runtime"]:
|
||||
assert_contains(
|
||||
"web_messages.zh-TW.iwooos.ownerResponseFormalRecordOwnerAssignmentDecisionChecklistBoard.summary",
|
||||
list(web_messages_zh["iwooos"]["ownerResponseFormalRecordOwnerAssignmentDecisionChecklistBoard"]["summary"].keys()),
|
||||
key,
|
||||
)
|
||||
assert_contains(
|
||||
"web_messages.en.iwooos.ownerResponseFormalRecordOwnerAssignmentDecisionChecklistBoard.summary",
|
||||
list(web_messages_en["iwooos"]["ownerResponseFormalRecordOwnerAssignmentDecisionChecklistBoard"]["summary"].keys()),
|
||||
key,
|
||||
)
|
||||
for key in [
|
||||
"decisionTraceReadable",
|
||||
"ownerIdentityConfirmable",
|
||||
"scopeSnapshotCurrent",
|
||||
"authorityBoundaryChecked",
|
||||
"evidenceChainReadable",
|
||||
"quarantineExceptionChecked",
|
||||
"mutationRejectionChecked",
|
||||
"runtimePrimarySeparated",
|
||||
]:
|
||||
assert_contains(
|
||||
"web_messages.zh-TW.iwooos.ownerResponseFormalRecordOwnerAssignmentDecisionChecklistBoard.items",
|
||||
list(web_messages_zh["iwooos"]["ownerResponseFormalRecordOwnerAssignmentDecisionChecklistBoard"]["items"].keys()),
|
||||
key,
|
||||
)
|
||||
assert_contains(
|
||||
"web_messages.en.iwooos.ownerResponseFormalRecordOwnerAssignmentDecisionChecklistBoard.items",
|
||||
list(web_messages_en["iwooos"]["ownerResponseFormalRecordOwnerAssignmentDecisionChecklistBoard"]["items"].keys()),
|
||||
key,
|
||||
)
|
||||
|
||||
owner_summary = owner_rollup["summary"]
|
||||
assert_equal("owner_rollup.total_received_response_count", owner_summary["total_received_response_count"], 0)
|
||||
|
||||
Reference in New Issue
Block a user