feat(web): add iwooos evidence packet
This commit is contained in:
@@ -366,6 +366,7 @@ def validate(root: Path) -> None:
|
||||
"s2_112_iwooos_low_friction_next_action_boundary",
|
||||
"s2_113_iwooos_progress_movement_signal_strip",
|
||||
"s2_114_iwooos_first_progress_unlock_path",
|
||||
"s2_115_iwooos_first_unlock_evidence_packet",
|
||||
]
|
||||
assert_equal(
|
||||
"progress_delta_ledger.delta_ids",
|
||||
@@ -660,6 +661,11 @@ def validate(root: Path) -> None:
|
||||
[item["action_id"] for item in rollup["next_safe_actions"] if isinstance(item, dict)],
|
||||
"show_iwooos_first_progress_unlock_path",
|
||||
)
|
||||
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",
|
||||
)
|
||||
assert_contains(
|
||||
"rollup.next_safe_actions.action_ids",
|
||||
[item["action_id"] for item in rollup["next_safe_actions"] if isinstance(item, dict)],
|
||||
@@ -8633,6 +8639,91 @@ def validate(root: Path) -> None:
|
||||
list(web_messages_en["iwooos"]["firstProgressUnlockPath"]["items"].keys()),
|
||||
key,
|
||||
)
|
||||
assert_text_contains(
|
||||
"iwooos_page.first_unlock_evidence_packet_testid",
|
||||
iwooos_projection_page,
|
||||
'data-testid="iwooos-first-unlock-evidence-packet-board"',
|
||||
)
|
||||
assert_text_contains(
|
||||
"iwooos_page.first_unlock_evidence_packet_component",
|
||||
iwooos_projection_page,
|
||||
"IwoooSFirstUnlockEvidencePacketBoard",
|
||||
)
|
||||
for text in [
|
||||
"iwooos_first_unlock_evidence_packet_slot_count=5",
|
||||
"iwooos_first_unlock_evidence_packet_current_focus=s4_9_owner_response",
|
||||
"iwooos_first_unlock_evidence_packet_filled_count=0",
|
||||
"iwooos_first_unlock_evidence_packet_accepted_count=0",
|
||||
"iwooos_first_unlock_evidence_packet_redacted_pointer_required=true",
|
||||
"iwooos_first_unlock_evidence_packet_raw_payload_allowed=false",
|
||||
"iwooos_first_unlock_evidence_packet_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_boundary",
|
||||
iwooos_projection_page,
|
||||
text,
|
||||
)
|
||||
assert_contains(
|
||||
"web_messages.zh-TW.iwooos.firstUnlockEvidencePacket",
|
||||
list(web_messages_zh["iwooos"].keys()),
|
||||
"firstUnlockEvidencePacket",
|
||||
)
|
||||
assert_contains(
|
||||
"web_messages.en.iwooos.firstUnlockEvidencePacket",
|
||||
list(web_messages_en["iwooos"].keys()),
|
||||
"firstUnlockEvidencePacket",
|
||||
)
|
||||
for key in ["title", "subtitle", "summary", "items", "slotLabel", "boundaryTitle", "boundaryIntro"]:
|
||||
assert_contains(
|
||||
"web_messages.zh-TW.iwooos.firstUnlockEvidencePacket.keys",
|
||||
list(web_messages_zh["iwooos"]["firstUnlockEvidencePacket"].keys()),
|
||||
key,
|
||||
)
|
||||
assert_contains(
|
||||
"web_messages.en.iwooos.firstUnlockEvidencePacket.keys",
|
||||
list(web_messages_en["iwooos"]["firstUnlockEvidencePacket"].keys()),
|
||||
key,
|
||||
)
|
||||
for key in ["slots", "filled", "accepted", "payload"]:
|
||||
assert_contains(
|
||||
"web_messages.zh-TW.iwooos.firstUnlockEvidencePacket.summary",
|
||||
list(web_messages_zh["iwooos"]["firstUnlockEvidencePacket"]["summary"].keys()),
|
||||
key,
|
||||
)
|
||||
assert_contains(
|
||||
"web_messages.en.iwooos.firstUnlockEvidencePacket.summary",
|
||||
list(web_messages_en["iwooos"]["firstUnlockEvidencePacket"]["summary"].keys()),
|
||||
key,
|
||||
)
|
||||
for key in [
|
||||
"ownerDecisionMetadata",
|
||||
"scopeEvidenceRefs",
|
||||
"redactionAttestation",
|
||||
"preflightTrace",
|
||||
"reviewAcceptanceSummary",
|
||||
]:
|
||||
assert_contains(
|
||||
"web_messages.zh-TW.iwooos.firstUnlockEvidencePacket.items",
|
||||
list(web_messages_zh["iwooos"]["firstUnlockEvidencePacket"]["items"].keys()),
|
||||
key,
|
||||
)
|
||||
assert_contains(
|
||||
"web_messages.en.iwooos.firstUnlockEvidencePacket.items",
|
||||
list(web_messages_en["iwooos"]["firstUnlockEvidencePacket"]["items"].keys()),
|
||||
key,
|
||||
)
|
||||
for key in [
|
||||
"title",
|
||||
"subtitle",
|
||||
|
||||
Reference in New Issue
Block a user