17 references to Failed
aspire (9)
Agents\Playwright\PlaywrightCliInstaller.cs (8)
159return (PlaywrightInstallStatus.Failed, string.Format(CultureInfo.CurrentCulture, AgentCommandStrings.PlaywrightCliInstaller_InvalidVersionOverride, VersionOverrideKey, versionOverride)); 175return (PlaywrightInstallStatus.Failed, string.Format(CultureInfo.CurrentCulture, AgentCommandStrings.PlaywrightCliInstaller_FailedToResolvePackage, NpmPackageInfo.FormatPackageSpecifier(PackageName, effectiveRange))); 224return (PlaywrightInstallStatus.Failed, string.Format(CultureInfo.CurrentCulture, AgentCommandStrings.PlaywrightCliInstaller_FailedToDownload, NpmPackageInfo.FormatPackageSpecifier(PackageName, packageInfo.Version))); 253return (PlaywrightInstallStatus.Failed, string.Format(CultureInfo.CurrentCulture, AgentCommandStrings.PlaywrightCliInstaller_ProvenanceVerificationFailed, NpmPackageInfo.FormatPackageSpecifier(PackageName, packageInfo.Version), provenanceResult.Outcome)); 269return (PlaywrightInstallStatus.Failed, string.Format(CultureInfo.CurrentCulture, AgentCommandStrings.PlaywrightCliInstaller_FailedToInstallGlobally, NpmPackageInfo.FormatPackageSpecifier(PackageName, packageInfo.Version))); 307return (PlaywrightInstallStatus.Failed, AgentCommandStrings.PlaywrightCliInstaller_FailedToGenerateSkillFiles); 362return (PlaywrightInstallStatus.Failed, AgentCommandStrings.PlaywrightCliInstaller_FailedToGenerateSkillFiles); 428? (PlaywrightInstallStatus.Failed, AgentCommandStrings.PlaywrightCliInstaller_FailedToMirrorSkillFiles)
Commands\AgentInitCommand.cs (1)
674case PlaywrightInstallStatus.Failed:
Aspire.Cli.Tests (8)
Agents\PlaywrightCliInstallerTests.cs (8)
112Assert.Equal(PlaywrightInstallStatus.Failed, status); 148Assert.Equal(successfulDestination ? PlaywrightInstallStatus.InstalledWithWarnings : PlaywrightInstallStatus.Failed, status); 186Assert.Equal(PlaywrightInstallStatus.Failed, status); 268Assert.Equal(PlaywrightInstallStatus.Failed, status); 402Assert.Equal(PlaywrightInstallStatus.Failed, status); 532Assert.Equal(PlaywrightInstallStatus.Failed, status); 676Assert.Equal(PlaywrightInstallStatus.Failed, status); 803Assert.Equal(PlaywrightInstallStatus.Failed, status);