Add scalable deployment planning and guided releases
This commit is contained in:
@@ -149,6 +149,28 @@ class ReleasePlanGuidanceTests(unittest.TestCase):
|
||||
self.assertIn('pill("recommended next", recommendationKind)', webui)
|
||||
self.assertIn("<strong>Remediation:</strong>", webui)
|
||||
|
||||
def test_webui_projects_release_state_into_a_guided_workflow(self) -> None:
|
||||
webui = (RELEASE_ROOT / "webui" / "index.html").read_text(encoding="utf-8")
|
||||
|
||||
for phase in (
|
||||
"Inspect",
|
||||
"Targets",
|
||||
"Validate",
|
||||
"Source",
|
||||
"Package",
|
||||
"Publish",
|
||||
"Verify",
|
||||
):
|
||||
self.assertIn(f'label: "{phase}"', webui)
|
||||
self.assertIn("releaseWorkflowPhases", webui)
|
||||
self.assertIn("workflowPrimaryAction", webui)
|
||||
self.assertIn("data-run-step-id", webui)
|
||||
self.assertIn("invalidateReleaseDraft", webui)
|
||||
self.assertIn("Installation Verification", webui)
|
||||
self.assertIn("external release-integration CI gate", webui)
|
||||
self.assertIn('const inspectionNotices = (summary.missing_count || 0)', webui)
|
||||
self.assertIn('(summary.repository_count || 0) === 0', webui)
|
||||
|
||||
|
||||
def dashboard(*, workspace: Path, version: str) -> ReleaseDashboard:
|
||||
repo = RepositorySnapshot(
|
||||
|
||||
Reference in New Issue
Block a user