feat(web): add headline movement acceptance gate
This commit is contained in:
@@ -348,6 +348,7 @@ def validate(root: Path) -> None:
|
||||
"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",
|
||||
"s2_100_iwooos_headline_movement_acceptance_gate_board",
|
||||
]
|
||||
assert_equal(
|
||||
"progress_delta_ledger.delta_ids",
|
||||
@@ -7391,6 +7392,86 @@ def validate(root: Path) -> None:
|
||||
iwooos_projection_page,
|
||||
text,
|
||||
)
|
||||
assert_text_contains(
|
||||
"iwooos_page.headline_movement_acceptance_gate_items",
|
||||
iwooos_projection_page,
|
||||
"headlineMovementAcceptanceGates",
|
||||
)
|
||||
assert_text_contains(
|
||||
"iwooos_page.headline_movement_acceptance_gate_testid",
|
||||
iwooos_projection_page,
|
||||
'data-testid="iwooos-headline-movement-acceptance-gate-board"',
|
||||
)
|
||||
assert_text_contains(
|
||||
"iwooos_page.headline_movement_acceptance_gate_component",
|
||||
iwooos_projection_page,
|
||||
"HeadlineMovementAcceptanceGateBoard",
|
||||
)
|
||||
for text in [
|
||||
"headline_percent_after_this_stage=58",
|
||||
"headline_movement_signal_count=0",
|
||||
"owner_response_received_count=0",
|
||||
"owner_response_accepted_count=0",
|
||||
"owner_response_acceptance_gate_open=false",
|
||||
"redacted_payload_ingested=false",
|
||||
"active_runtime_gate_count=0",
|
||||
"github_primary_ready_count=0",
|
||||
"production_landing_enabled=false",
|
||||
"progress_review_authorized=false",
|
||||
"runtime_execution_authorized=false",
|
||||
"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.headline_movement_acceptance_gate_boundary",
|
||||
iwooos_projection_page,
|
||||
text,
|
||||
)
|
||||
assert_contains(
|
||||
"web_messages.zh-TW.iwooos.headlineMovementAcceptanceGate",
|
||||
list(web_messages_zh["iwooos"].keys()),
|
||||
"headlineMovementAcceptanceGate",
|
||||
)
|
||||
assert_contains(
|
||||
"web_messages.en.iwooos.headlineMovementAcceptanceGate",
|
||||
list(web_messages_en["iwooos"].keys()),
|
||||
"headlineMovementAcceptanceGate",
|
||||
)
|
||||
for key in ["title", "subtitle", "summary", "items", "boundaryTitle"]:
|
||||
assert_contains(
|
||||
"web_messages.zh-TW.iwooos.headlineMovementAcceptanceGate.keys",
|
||||
list(web_messages_zh["iwooos"]["headlineMovementAcceptanceGate"].keys()),
|
||||
key,
|
||||
)
|
||||
assert_contains(
|
||||
"web_messages.en.iwooos.headlineMovementAcceptanceGate.keys",
|
||||
list(web_messages_en["iwooos"]["headlineMovementAcceptanceGate"].keys()),
|
||||
key,
|
||||
)
|
||||
for key in [
|
||||
"s49OwnerResponseAccepted",
|
||||
"redactedPayloadAccepted",
|
||||
"runtimeGateApproved",
|
||||
"githubPrimaryEvidenceReady",
|
||||
"awooopProductionLandingProof",
|
||||
"nextHeadlineReviewRecord",
|
||||
]:
|
||||
assert_contains(
|
||||
"web_messages.zh-TW.iwooos.headlineMovementAcceptanceGate.items",
|
||||
list(web_messages_zh["iwooos"]["headlineMovementAcceptanceGate"]["items"].keys()),
|
||||
key,
|
||||
)
|
||||
assert_contains(
|
||||
"web_messages.en.iwooos.headlineMovementAcceptanceGate.items",
|
||||
list(web_messages_en["iwooos"]["headlineMovementAcceptanceGate"]["items"].keys()),
|
||||
key,
|
||||
)
|
||||
for key in [
|
||||
"title",
|
||||
"subtitle",
|
||||
|
||||
Reference in New Issue
Block a user