28 references to CliE2EAutomatorHelpers
Aspire.Cli.EndToEnd.Tests (28)
BundleSmokeTests.cs (3)
100timeout: CliE2EAutomatorHelpers.AspireRunReadyTimeout, 195timeout: CliE2EAutomatorHelpers.AspireRunReadyTimeout, 264timeout: CliE2EAutomatorHelpers.AspireRunReadyTimeout,
CliTelemetryTests.cs (1)
58var diagDir = $"$ASPIRE_E2E_WORKSPACE/{CliE2EAutomatorHelpers.DiagnosticsDirectoryName}";
ConfigDiscoveryTests.cs (2)
95await auto.TypeAsync(CliE2EAutomatorHelpers.GetAspireRunCommand("--apphost Alternate/apphost.cs")); 117timeout: CliE2EAutomatorHelpers.AspireRunReadyTimeout,
DotnetToolSmokeTests.cs (2)
86await auto.TypeAsync(CliE2EAutomatorHelpers.GetAspireRunCommand()); 100}, timeout: CliE2EAutomatorHelpers.AspireRunReadyTimeout, description: "Press CTRL+C message (aspire run started)");
Helpers\CliInstallStrategyTests.cs (1)
75var command = CliE2EAutomatorHelpers.GetRecordAspireCliVersionCommand(strategy, "VER", "BASE_VER");
Helpers\HungCommandDiagnosticsTests.cs (2)
48var diagnostics = Path.Combine(workspace.FullName, CliE2EAutomatorHelpers.DiagnosticsDirectoryName); 49var snapshot = await File.ReadAllTextAsync(Path.Combine(diagnostics, CliE2EAutomatorHelpers.HungCommandProcessesFileName), TestContext.Current.CancellationToken);
Helpers\TerminalRun.cs (3)
53CliE2ETestHelpers.IsRunningInCI ? CliE2EAutomatorHelpers.GetContainerWorkspacePath(_workspace) : null); 127/// <see cref="CliE2EAutomatorHelpers.DiagnosticsDirectoryName"/> subdirectory, so the host 132var diagnosticsSource = Path.Combine(_workspace.WorkspaceRoot.FullName, CliE2EAutomatorHelpers.DiagnosticsDirectoryName);
LaunchProfileTests.cs (3)
93? $"ASPIRE_CLI_START_TIMEOUT={CliE2EAutomatorHelpers.AspireRunStartupBudgetSeconds} dotnet run --launch-profile E2E /p:AspireUseCliBundle=true" 94: CliE2EAutomatorHelpers.GetAspireRunCommand("--launch-profile E2E"); 100timeout: CliE2EAutomatorHelpers.AspireRunReadyTimeout,
SettledNpmReleasesTests.cs (3)
21/// Verifies the npm release-age cutoff that <see cref="CliE2EAutomatorHelpers.PrepareDockerEnvironmentAsync"/> applies 52var settled = await RunBashAsync($"{CliE2EAutomatorHelpers.GetSettledNpmReleasesCommand(now)} && {install}", workspace.FullName, cancellationToken); 67var command = CliE2EAutomatorHelpers.GetSettledNpmReleasesCommand(new DateTimeOffset(2026, 10, 31, 12, 30, 15, TimeSpan.FromHours(-7)));
SingleFileAppHostInitDotnetRunTests.cs (1)
128}, timeout: CliE2EAutomatorHelpers.AspireRunReadyTimeout, description: "Press CTRL+C message (dotnet run apphost.cs started)");
SmokeTests.cs (7)
45await auto.TypeAsync(CliE2EAutomatorHelpers.GetAspireRunCommand()); 60}, timeout: CliE2EAutomatorHelpers.AspireRunReadyTimeout, description: "Press CTRL+C message (aspire run started)"); 99$"ASPIRE_CLI_START_TIMEOUT={CliE2EAutomatorHelpers.AspireRunStartupBudgetSeconds} " + 108$"for attempt in $(seq 1 {CliE2EAutomatorHelpers.AspireRunReadyTimeout.TotalSeconds}); do " + 122CliE2EAutomatorHelpers.AspireRunReadyTimeout + TimeSpan.FromSeconds(30)); 172await auto.TypeAsync(CliE2EAutomatorHelpers.GetAspireRunCommand()); 184}, timeout: CliE2EAutomatorHelpers.AspireRunReadyTimeout, description: "Press CTRL+C message for polyglot AppHost with *.dev.localhost URLs");