1 write to _auto
Aspire.Cli.EndToEnd.Tests (1)
Helpers\ConfigSourceTestContext.cs (1)
31_auto = auto;
63 references to _auto
Aspire.Cli.EndToEnd.Tests (63)
Helpers\ConfigSourceTestContext.cs (63)
63await _auto.RunCommandAsync($"{NewCommand} --use-config-source --non-interactive", _counter, 70await _auto.RunCommandAsync($"{NewCommand} --use-config-source false --non-interactive", _counter, 74await _auto.RunCommandAsync("aspire config delete configSource", _counter); 75await _auto.RunCommandAsync("aspire config set docs.llmsTxtUrl https://local.example/llms.txt", _counter); 105await _auto.RunCommandAsync( 114await _auto.RunCommandAsync($"aspire add {id} --version 1.0.0 --non-interactive", _counter, 118await _auto.RunCommandAsync("cat apphost.cs > \"$ASPIRE_E2E_WORKSPACE/actual-apphost.cs\"", _counter); 126await _auto.RunCommandAsync("mkdir SourceApp && cd SourceApp && dotnet new sln --name SourceApp", _counter); 127await _auto.RunCommandAsync( 130await _auto.RunCommandAsync( 143await _auto.RunCommandAsync("mkdir AppHost && mv apphost.cs apphost.run.json AppHost", _counter); 144await _auto.RunCommandAsync("aspire config set appHost.path AppHost/apphost.cs", _counter); 152await _auto.TypeAsync( 154await _auto.EnterAsync(); 158await _auto.WaitUntilAsync(snapshot => consentPrompt.Search(snapshot).Count > 0, 161await _auto.TypeAsync(accept ? "y" : "n"); 164await _auto.WaitUntilAsync(snapshot => templatePrompt.Search(snapshot).Count > 0, 166await _auto.TypeAsync("Empty AppHost"); 167await _auto.EnterAsync(); 169await _auto.WaitUntilAsync(snapshot => languagePrompt.Search(snapshot).Count > 0, 171await _auto.EnterAsync(); 173await _auto.WaitUntilAsync(snapshot => urlsPrompt.Search(snapshot).Count > 0, 175await _auto.EnterAsync(); 176await _auto.WaitForSuccessPromptAsync(_counter, timeout: TimeSpan.FromMinutes(3)); 199await _auto.RunCommandAsync( 213await _auto.TypeAsync($"{NewCommand} --use-config-source --log-file \"$ASPIRE_E2E_WORKSPACE/git-auth-cli.log\""); 214await _auto.EnterAsync(); 216await _auto.WaitUntilAsync(snapshot => authenticationPrompt.Search(snapshot).Count > 0, 218await _auto.TypeAsync("allow-source"); 219await _auto.EnterAsync(); 221await _auto.WaitUntilAsync(snapshot => authenticated.Search(snapshot).Count > 0, 223await _auto.WaitForSuccessPromptAsync(_counter, timeout: TimeSpan.FromMinutes(3)); 231await _auto.RunCommandAsync( 285await _auto.RunCommandAsync( 287await _auto.RunCommandAsync(command, _counter); 290await _auto.RunCommandAsync( 315await _auto.RunCommandAsync($"cd \"{directory}\"", _counter); 320=> _auto.RunCommandAsync("test ! -f aspire.config.json", _counter); 327await _auto.RunCommandAsync("dotnet run \"$ASPIRE_E2E_WORKSPACE/check-source.cs\" -- expire", _counter); 328await _auto.RunCommandAsync( 330await _auto.RunCommandAsync("dotnet run \"$ASPIRE_E2E_WORKSPACE/check-source.cs\" -- wait \"$source_run_pid\"", _counter, 332await _auto.RunCommandAsync("kill -INT \"$source_run_pid\"; timeout 120 tail --pid=\"$source_run_pid\" -f /dev/null; wait \"$source_run_pid\"", _counter, 334await _auto.RunCommandAsync("cat \"$ASPIRE_E2E_WORKSPACE/run.log\"", _counter); 340=> _auto.RunCommandAsync( 346await _auto.RunCommandAsync( 356await _auto.TypeAsync("aspire update --yes --nuget-config-dir ."); 357await _auto.EnterAsync(); 360await _auto.WaitUntilAsync(snapshot => candidate.Search(snapshot).Count > 0 && consentPrompt.Search(snapshot).Count > 0, 362await _auto.TypeAsync("y"); 363await _auto.WaitForSuccessPromptAsync(_counter, timeout: TimeSpan.FromMinutes(5)); 397await _auto.RunCommandAsync("aspire config set features.updateNotificationsEnabled false -g", _counter); 399await _auto.RunCommandAsync("git config --global --add safe.directory \"$ASPIRE_E2E_WORKSPACE/configuration source\"", _counter); 400await _auto.RunCommandAsync($"git -C 'configuration source' init --initial-branch=main --object-format={objectFormat}", _counter); 401await _auto.RunCommandAsync("git -C 'configuration source' config user.name 'Aspire E2E'", _counter); 402await _auto.RunCommandAsync("git -C 'configuration source' config user.email aspire-e2e@example.com", _counter); 404await _auto.RunCommandAsync( 411await _auto.RunCommandAsync("cd SourceApp", _counter); 412await _auto.RunCommandAsync("aspire config set docs.custom keep", _counter); 416=> _auto.RunCommandAsync("test ! -d \"$HOME/.aspire/configsources\"", _counter); 422await _auto.RunCommandAsync( 431=> _auto.RunCommandAsync( 471await _auto.RunCommandAsync( 475await _auto.RunCommandAsync(