Failing Test
Aspire.Deployment.EndToEnd.Tests.FrontDoorDeploymentTests.DeployReactTemplateWithFrontDoor
Symptom
The test consistently fails on every nightly Deployment E2E run with:
Hex1b.Automation.Hex1bAutomationException : Step 36 of 36 failed — WaitUntilText("(based on NuGet.config)")
Hex1b.Automation.WaitUntilTimeoutException : WaitUntil timed out after 00:01:00 waiting for: text "(based on NuGet.config)" to appear
The failure occurs at the first aspire add Aspire.Hosting.Azure.AppContainers invocation after creating the React starter project.
Root Cause
The test waits for the legacy (based on NuGet.config) version-selection prompt and then sends Enter:
https://github.com/microsoft/aspire/blob/main/tests/Aspire.Deployment.EndToEnd.Tests/FrontDoorDeploymentTests.cs#L99-L117
However, when a matching package is resolved from the local bundle (the common case in CI), aspire add no longer prompts for a version — it installs directly. The recorded terminal output for the failing run confirms this:
⠲ Adding Aspire hosting integration...
✅ The package Aspire.Hosting.Azure.AppContainers::13.4.0-dev was added successfully.
[6 OK] $
The 60-second wait for (based on NuGet.config) then times out.
Fix
Replace the explicit "wait-for-prompt + Enter" block with WaitForAspireAddCompletionAsync, which handles both the version-prompt and no-prompt code paths (the same pattern already used by AksAzureKubernetesEnvironmentCertManagerTypeScriptDeploymentTests).
Affected Runs
This issue was created automatically by a workflow analyzing Deployment E2E test failures on main.
Failing Test
Aspire.Deployment.EndToEnd.Tests.FrontDoorDeploymentTests.DeployReactTemplateWithFrontDoorSymptom
The test consistently fails on every nightly Deployment E2E run with:
The failure occurs at the first
aspire add Aspire.Hosting.Azure.AppContainersinvocation after creating the React starter project.Root Cause
The test waits for the legacy
(based on NuGet.config)version-selection prompt and then sendsEnter:https://github.com/microsoft/aspire/blob/main/tests/Aspire.Deployment.EndToEnd.Tests/FrontDoorDeploymentTests.cs#L99-L117
However, when a matching package is resolved from the local bundle (the common case in CI),
aspire addno longer prompts for a version — it installs directly. The recorded terminal output for the failing run confirms this:The 60-second wait for
(based on NuGet.config)then times out.Fix
Replace the explicit "wait-for-prompt + Enter" block with
WaitForAspireAddCompletionAsync, which handles both the version-prompt and no-prompt code paths (the same pattern already used byAksAzureKubernetesEnvironmentCertManagerTypeScriptDeploymentTests).Affected Runs