test(release): expose Windows recovery diagnostics

This commit is contained in:
程序员阿江(Relakkes)
2026-07-14 04:50:18 +08:00
parent 835213da53
commit d7de7d47c9
2 changed files with 40 additions and 0 deletions
+2
View File
@@ -556,6 +556,8 @@ describe('release desktop workflow', () => {
}
expect(installerSmoke).toContain('Invoke-CheckedProcess')
expect(installerSmoke).toContain('Invoke-LegacyRecoveryDiagnostic')
expect(installerSmoke).toContain('Direct legacy recovery diagnostic completed successfully')
expect(installerSmoke).toContain("@('/S', '/currentuser'")
expect(installerSmoke).toContain("@('--updated', '/S', '/currentuser'")
expect(installerSmoke).toContain('$process.WaitForExit($TimeoutSeconds * 1000)')