1 write to _auto
Aspire.Cli.EndToEnd.Tests (1)
Helpers\ConfigSourceTestContext.cs (1)
28_auto = auto;
41 references to _auto
Aspire.Cli.EndToEnd.Tests (41)
Helpers\ConfigSourceTestContext.cs (41)
60await _auto.RunCommandAsync($"{NewCommand} --use-config-source true --non-interactive", _counter, 67await _auto.RunCommandAsync("mkdir SourceApp && cd SourceApp && dotnet new sln --name SourceApp", _counter); 68await _auto.RunCommandAsync( 71await _auto.RunCommandAsync( 84await _auto.RunCommandAsync("mkdir AppHost && mv apphost.cs apphost.run.json AppHost", _counter); 85await _auto.RunCommandAsync("aspire config set appHost.path AppHost/apphost.cs", _counter); 90await _auto.TypeAsync(NewCommand); 91await _auto.EnterAsync(); 93await _auto.WaitUntilAsync(snapshot => consentPrompt.Search(snapshot).Count > 0, 97await _auto.DownAsync(); 99await _auto.EnterAsync(); 100await _auto.WaitForSuccessPromptAsync(_counter, timeout: TimeSpan.FromMinutes(3)); 121await _auto.RunCommandAsync( 135await _auto.TypeAsync($"{NewCommand} --use-config-source true"); 136await _auto.EnterAsync(); 138await _auto.WaitUntilAsync(snapshot => authenticationPrompt.Search(snapshot).Count > 0, 140await _auto.TypeAsync("allow-source"); 141await _auto.EnterAsync(); 143await _auto.WaitUntilAsync(snapshot => authenticated.Search(snapshot).Count > 0, 145await _auto.WaitForSuccessPromptAsync(_counter, timeout: TimeSpan.FromMinutes(3)); 174await _auto.RunCommandAsync($"cd \"{directory}\"", _counter); 179=> _auto.RunCommandAsync("test ! -f aspire.config.json", _counter); 186await _auto.RunCommandAsync("dotnet run \"$ASPIRE_E2E_WORKSPACE/check-source.cs\" -- expire", _counter); 187await _auto.RunCommandAsync( 189await _auto.RunCommandAsync("dotnet run \"$ASPIRE_E2E_WORKSPACE/check-source.cs\" -- wait \"$source_run_pid\"", _counter, 191await _auto.RunCommandAsync("kill -INT \"$source_run_pid\"; timeout 120 tail --pid=\"$source_run_pid\" -f /dev/null; wait \"$source_run_pid\"", _counter, 193await _auto.RunCommandAsync("cat \"$ASPIRE_E2E_WORKSPACE/run.log\"", _counter); 200await _auto.RunCommandAsync( 227await _auto.RunCommandAsync("aspire config set features.updateNotificationsEnabled false -g", _counter); 229await _auto.RunCommandAsync("git config --global --add safe.directory \"$ASPIRE_E2E_WORKSPACE/configuration source\"", _counter); 230await _auto.RunCommandAsync("git -C 'configuration source' init --initial-branch=main", _counter); 231await _auto.RunCommandAsync("git -C 'configuration source' config user.name 'Aspire E2E'", _counter); 232await _auto.RunCommandAsync("git -C 'configuration source' config user.email aspire-e2e@example.com", _counter); 234await _auto.RunCommandAsync( 241await _auto.RunCommandAsync("cd SourceApp", _counter); 242await _auto.RunCommandAsync("aspire config set docs.custom keep", _counter); 246=> _auto.RunCommandAsync("test ! -d \"$HOME/.aspire/configsources\"", _counter); 252await _auto.RunCommandAsync( 261=> _auto.RunCommandAsync( 287await _auto.RunCommandAsync( 291await _auto.RunCommandAsync(