feat(web): 新增 iwooos 預檢補件回收台帳
This commit is contained in:
@@ -390,6 +390,7 @@ def validate(root: Path) -> None:
|
||||
"s2_136_iwooos_product_evidence_wiring_preflight_retry_review_candidate",
|
||||
"s2_137_iwooos_product_evidence_wiring_preflight_retry_review_candidate_preflight",
|
||||
"s2_138_iwooos_product_evidence_wiring_preflight_retry_review_candidate_preflight_outcomes",
|
||||
"s2_139_iwooos_product_evidence_wiring_preflight_retry_review_candidate_preflight_recovery_ledger",
|
||||
]
|
||||
assert_equal(
|
||||
"progress_delta_ledger.delta_ids",
|
||||
@@ -804,6 +805,11 @@ def validate(root: Path) -> None:
|
||||
[item["action_id"] for item in rollup["next_safe_actions"] if isinstance(item, dict)],
|
||||
"show_iwooos_product_evidence_wiring_preflight_retry_review_candidate_preflight_outcomes",
|
||||
)
|
||||
assert_contains(
|
||||
"rollup.next_safe_actions.action_ids",
|
||||
[item["action_id"] for item in rollup["next_safe_actions"] if isinstance(item, dict)],
|
||||
"show_iwooos_product_evidence_wiring_preflight_retry_review_candidate_preflight_recovery_ledger",
|
||||
)
|
||||
assert_contains(
|
||||
"rollup.next_safe_actions.action_ids",
|
||||
[item["action_id"] for item in rollup["next_safe_actions"] if isinstance(item, dict)],
|
||||
@@ -10371,6 +10377,119 @@ def validate(root: Path) -> None:
|
||||
list(web_messages_en["iwooos"]["productEvidenceWiringPreflightRetryReviewCandidatePreflightOutcomes"]["items"].keys()),
|
||||
key,
|
||||
)
|
||||
assert_text_contains(
|
||||
"iwooos_page.product_evidence_wiring_preflight_retry_review_candidate_preflight_recovery_ledger_testid",
|
||||
iwooos_projection_page,
|
||||
'data-testid="iwooos-product-evidence-wiring-preflight-retry-review-candidate-preflight-recovery-ledger-board"',
|
||||
)
|
||||
assert_text_contains(
|
||||
"iwooos_page.product_evidence_wiring_preflight_retry_review_candidate_preflight_recovery_ledger_component",
|
||||
iwooos_projection_page,
|
||||
"IwoooSProductEvidenceWiringPreflightRetryReviewCandidatePreflightRecoveryLedgerBoard",
|
||||
)
|
||||
for text in [
|
||||
"iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_queue_count=8",
|
||||
"iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_current_stage=read_only_retry_review_candidate_preflight_recovery_ledger",
|
||||
"iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_visible_queue_count=8",
|
||||
"iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_submitted_count=0",
|
||||
"iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_accepted_count=0",
|
||||
"iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_rejected_count=0",
|
||||
"iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_quarantined_count=0",
|
||||
"iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_ready_for_preflight_retry_count=0",
|
||||
"iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_ready_for_human_review_count=0",
|
||||
"iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_candidate_created_count=0",
|
||||
"iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_reviewer_assigned_count=0",
|
||||
"iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_audit_event_emitted_count=0",
|
||||
"iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_ready_for_runtime_count=0",
|
||||
"iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_owner_response_accepted_count=0",
|
||||
"iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_redacted_evidence_pointer_accepted_count=0",
|
||||
"iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_source_control_truth_accepted_count=0",
|
||||
"iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_host_safety_window_approved=false",
|
||||
"iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_tool_summary_ingested=false",
|
||||
"iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_runtime_gate_open=false",
|
||||
"iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_public_secret_exposure_allowed=false",
|
||||
"iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_kali_execution_authorized=false",
|
||||
"iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_source_control_mutation_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.product_evidence_wiring_preflight_retry_review_candidate_preflight_recovery_ledger_boundary",
|
||||
iwooos_projection_page,
|
||||
text,
|
||||
)
|
||||
assert_contains(
|
||||
"web_messages.zh-TW.iwooos.productEvidenceWiringPreflightRetryReviewCandidatePreflightRecoveryLedger",
|
||||
list(web_messages_zh["iwooos"].keys()),
|
||||
"productEvidenceWiringPreflightRetryReviewCandidatePreflightRecoveryLedger",
|
||||
)
|
||||
assert_contains(
|
||||
"web_messages.en.iwooos.productEvidenceWiringPreflightRetryReviewCandidatePreflightRecoveryLedger",
|
||||
list(web_messages_en["iwooos"].keys()),
|
||||
"productEvidenceWiringPreflightRetryReviewCandidatePreflightRecoveryLedger",
|
||||
)
|
||||
for key in [
|
||||
"title",
|
||||
"subtitle",
|
||||
"summary",
|
||||
"items",
|
||||
"queueLabel",
|
||||
"ownerLabel",
|
||||
"requiredLabel",
|
||||
"recoveryLabel",
|
||||
"blockedLabel",
|
||||
"boundaryTitle",
|
||||
"boundaryIntro",
|
||||
]:
|
||||
assert_contains(
|
||||
"web_messages.zh-TW.iwooos.productEvidenceWiringPreflightRetryReviewCandidatePreflightRecoveryLedger.keys",
|
||||
list(web_messages_zh["iwooos"]["productEvidenceWiringPreflightRetryReviewCandidatePreflightRecoveryLedger"].keys()),
|
||||
key,
|
||||
)
|
||||
assert_contains(
|
||||
"web_messages.en.iwooos.productEvidenceWiringPreflightRetryReviewCandidatePreflightRecoveryLedger.keys",
|
||||
list(web_messages_en["iwooos"]["productEvidenceWiringPreflightRetryReviewCandidatePreflightRecoveryLedger"].keys()),
|
||||
key,
|
||||
)
|
||||
for key in ["queues", "submitted", "accepted", "runtime"]:
|
||||
assert_contains(
|
||||
"web_messages.zh-TW.iwooos.productEvidenceWiringPreflightRetryReviewCandidatePreflightRecoveryLedger.summary",
|
||||
list(web_messages_zh["iwooos"]["productEvidenceWiringPreflightRetryReviewCandidatePreflightRecoveryLedger"]["summary"].keys()),
|
||||
key,
|
||||
)
|
||||
assert_contains(
|
||||
"web_messages.en.iwooos.productEvidenceWiringPreflightRetryReviewCandidatePreflightRecoveryLedger.summary",
|
||||
list(web_messages_en["iwooos"]["productEvidenceWiringPreflightRetryReviewCandidatePreflightRecoveryLedger"]["summary"].keys()),
|
||||
key,
|
||||
)
|
||||
for key in [
|
||||
"identitySupplement",
|
||||
"traceSupplement",
|
||||
"ownerScopeSupplement",
|
||||
"redactionResubmission",
|
||||
"sourceControlEvidence",
|
||||
"hostWindowEvidence",
|
||||
"toolSummarySupplement",
|
||||
"runtimeAttestation",
|
||||
]:
|
||||
assert_contains(
|
||||
"web_messages.zh-TW.iwooos.productEvidenceWiringPreflightRetryReviewCandidatePreflightRecoveryLedger.items",
|
||||
list(web_messages_zh["iwooos"]["productEvidenceWiringPreflightRetryReviewCandidatePreflightRecoveryLedger"]["items"].keys()),
|
||||
key,
|
||||
)
|
||||
assert_contains(
|
||||
"web_messages.en.iwooos.productEvidenceWiringPreflightRetryReviewCandidatePreflightRecoveryLedger.items",
|
||||
list(web_messages_en["iwooos"]["productEvidenceWiringPreflightRetryReviewCandidatePreflightRecoveryLedger"]["items"].keys()),
|
||||
key,
|
||||
)
|
||||
assert_text_contains(
|
||||
"iwooos_page.first_progress_unlock_path_testid",
|
||||
iwooos_projection_page,
|
||||
|
||||
Reference in New Issue
Block a user