feat(web): add iwooos preflight outcomes
This commit is contained in:
@@ -373,6 +373,7 @@ def validate(root: Path) -> None:
|
||||
"s2_119_iwooos_first_unlock_evidence_packet_supplement_pre_review_outcomes",
|
||||
"s2_120_iwooos_first_unlock_evidence_packet_reviewer_assignment_preparation",
|
||||
"s2_121_iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight",
|
||||
"s2_122_iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_outcomes",
|
||||
]
|
||||
assert_equal(
|
||||
"progress_delta_ledger.delta_ids",
|
||||
@@ -702,6 +703,11 @@ def validate(root: Path) -> None:
|
||||
[item["action_id"] for item in rollup["next_safe_actions"] if isinstance(item, dict)],
|
||||
"show_iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight",
|
||||
)
|
||||
assert_contains(
|
||||
"rollup.next_safe_actions.action_ids",
|
||||
[item["action_id"] for item in rollup["next_safe_actions"] if isinstance(item, dict)],
|
||||
"show_iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_outcomes",
|
||||
)
|
||||
assert_contains(
|
||||
"rollup.next_safe_actions.action_ids",
|
||||
[item["action_id"] for item in rollup["next_safe_actions"] if isinstance(item, dict)],
|
||||
@@ -9301,6 +9307,103 @@ def validate(root: Path) -> None:
|
||||
list(web_messages_en["iwooos"]["firstUnlockEvidencePacketReviewerAssignmentPreflight"]["items"].keys()),
|
||||
key,
|
||||
)
|
||||
assert_text_contains(
|
||||
"iwooos_page.first_unlock_evidence_packet_reviewer_assignment_preflight_outcome_testid",
|
||||
iwooos_projection_page,
|
||||
'data-testid="iwooos-first-unlock-evidence-packet-reviewer-assignment-preflight-outcome-board"',
|
||||
)
|
||||
assert_text_contains(
|
||||
"iwooos_page.first_unlock_evidence_packet_reviewer_assignment_preflight_outcome_component",
|
||||
iwooos_projection_page,
|
||||
"IwoooSFirstUnlockEvidencePacketReviewerAssignmentPreflightOutcomeBoard",
|
||||
)
|
||||
for text in [
|
||||
"iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_outcome_lane_count=6",
|
||||
"iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_outcome_current_focus=reviewer_assignment_preflight_outcomes",
|
||||
"iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_outcome_ready_for_candidate_count=0",
|
||||
"iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_outcome_returned_count=0",
|
||||
"iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_outcome_quarantined_count=0",
|
||||
"iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_outcome_conflict_hold_count=0",
|
||||
"iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_outcome_audit_event_emitted=0",
|
||||
"iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_reviewer_candidate_count=0",
|
||||
"iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_reviewer_assigned_count=0",
|
||||
"iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_queue_open=false",
|
||||
"iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_passed_count=0",
|
||||
"iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_ready_count=0",
|
||||
"iwooos_first_unlock_evidence_packet_supplement_pre_review_queue_open=false",
|
||||
"iwooos_first_unlock_evidence_packet_supplement_request_sent=false",
|
||||
"iwooos_first_unlock_evidence_packet_supplement_submitted_count=0",
|
||||
"iwooos_first_unlock_evidence_packet_supplement_accepted_count=0",
|
||||
"iwooos_first_unlock_evidence_packet_supplement_raw_payload_allowed=false",
|
||||
"iwooos_first_unlock_evidence_packet_supplement_secret_value_allowed=false",
|
||||
"iwooos_first_unlock_evidence_packet_headline_review_authorized=false",
|
||||
"iwooos_first_unlock_evidence_packet_runtime_gate_opened=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.first_unlock_evidence_packet_reviewer_assignment_preflight_outcome_boundary",
|
||||
iwooos_projection_page,
|
||||
text,
|
||||
)
|
||||
assert_contains(
|
||||
"web_messages.zh-TW.iwooos.firstUnlockEvidencePacketReviewerAssignmentPreflightOutcome",
|
||||
list(web_messages_zh["iwooos"].keys()),
|
||||
"firstUnlockEvidencePacketReviewerAssignmentPreflightOutcome",
|
||||
)
|
||||
assert_contains(
|
||||
"web_messages.en.iwooos.firstUnlockEvidencePacketReviewerAssignmentPreflightOutcome",
|
||||
list(web_messages_en["iwooos"].keys()),
|
||||
"firstUnlockEvidencePacketReviewerAssignmentPreflightOutcome",
|
||||
)
|
||||
for key in ["title", "subtitle", "summary", "items", "outcomeLabel", "boundaryTitle", "boundaryIntro"]:
|
||||
assert_contains(
|
||||
"web_messages.zh-TW.iwooos.firstUnlockEvidencePacketReviewerAssignmentPreflightOutcome.keys",
|
||||
list(web_messages_zh["iwooos"]["firstUnlockEvidencePacketReviewerAssignmentPreflightOutcome"].keys()),
|
||||
key,
|
||||
)
|
||||
assert_contains(
|
||||
"web_messages.en.iwooos.firstUnlockEvidencePacketReviewerAssignmentPreflightOutcome.keys",
|
||||
list(web_messages_en["iwooos"]["firstUnlockEvidencePacketReviewerAssignmentPreflightOutcome"].keys()),
|
||||
key,
|
||||
)
|
||||
for key in ["outcomes", "candidates", "assigned", "audit"]:
|
||||
assert_contains(
|
||||
"web_messages.zh-TW.iwooos.firstUnlockEvidencePacketReviewerAssignmentPreflightOutcome.summary",
|
||||
list(web_messages_zh["iwooos"]["firstUnlockEvidencePacketReviewerAssignmentPreflightOutcome"]["summary"].keys()),
|
||||
key,
|
||||
)
|
||||
assert_contains(
|
||||
"web_messages.en.iwooos.firstUnlockEvidencePacketReviewerAssignmentPreflightOutcome.summary",
|
||||
list(web_messages_en["iwooos"]["firstUnlockEvidencePacketReviewerAssignmentPreflightOutcome"]["summary"].keys()),
|
||||
key,
|
||||
)
|
||||
for key in [
|
||||
"keepQueueClosed",
|
||||
"returnRoleBoundary",
|
||||
"returnScopePacket",
|
||||
"quarantineEvidenceIndex",
|
||||
"holdConflictDisclosure",
|
||||
"keepAuditDraftMetadataOnly",
|
||||
]:
|
||||
assert_contains(
|
||||
"web_messages.zh-TW.iwooos.firstUnlockEvidencePacketReviewerAssignmentPreflightOutcome.items",
|
||||
list(web_messages_zh["iwooos"]["firstUnlockEvidencePacketReviewerAssignmentPreflightOutcome"]["items"].keys()),
|
||||
key,
|
||||
)
|
||||
assert_contains(
|
||||
"web_messages.en.iwooos.firstUnlockEvidencePacketReviewerAssignmentPreflightOutcome.items",
|
||||
list(web_messages_en["iwooos"]["firstUnlockEvidencePacketReviewerAssignmentPreflightOutcome"]["items"].keys()),
|
||||
key,
|
||||
)
|
||||
for key in [
|
||||
"title",
|
||||
"subtitle",
|
||||
|
||||
Reference in New Issue
Block a user