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, []); 429? (PlaywrightInstallStatus.Failed, AgentCommandStrings.PlaywrightCliInstaller_FailedToMirrorSkillFiles, installedSkillDirectories)
Commands\AgentInitCommand.cs (1)
629case PlaywrightInstallStatus.Failed:
Aspire.Cli.Tests (8)
Agents\PlaywrightCliInstallerTests.cs (8)
113Assert.Equal(PlaywrightInstallStatus.Failed, status); 150Assert.Equal(successfulDestination ? PlaywrightInstallStatus.InstalledWithWarnings : PlaywrightInstallStatus.Failed, status); 193Assert.Equal(PlaywrightInstallStatus.Failed, status); 276Assert.Equal(PlaywrightInstallStatus.Failed, status); 411Assert.Equal(PlaywrightInstallStatus.Failed, status); 541Assert.Equal(PlaywrightInstallStatus.Failed, status); 685Assert.Equal(PlaywrightInstallStatus.Failed, status); 812Assert.Equal(PlaywrightInstallStatus.Failed, status);