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