We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bef725d commit 547c9aaCopy full SHA for 547c9aa
tests/Aspire.Templates.Tests/TemplateTestsBase.cs
@@ -163,7 +163,7 @@ protected static async Task<ResourceRow[]> CheckDashboardHasResourcesAsync(Wrapp
163
}
164
catch
165
{
166
- string screenshotPath = Path.Combine(logPath, "dashboard-fail.png");
+ string screenshotPath = Path.Combine(logPath, $"dashboard-fail-{Guid.NewGuid().ToString()[..8]}.png");
167
await dashboardPageWrapper.Page.ScreenshotAsync(new PageScreenshotOptions { Path = screenshotPath });
168
testOutput.WriteLine($"Dashboard screenshot saved to {screenshotPath}");
169
throw;
0 commit comments