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 768bad8 commit a8b5bcbCopy full SHA for a8b5bcb
Tests/TodosTests.cs
@@ -55,7 +55,7 @@ public async Task TearDown()
55
{
56
Directory.CreateDirectory("Screenshots");
57
var file = Path.Combine("Screenshots",
58
- $"{TestContext.CurrentContext.Test.Name + DateTime.Today.ToString("dd MM yyyy hh mm ss ff")}.png");
+ $"{TestContext.CurrentContext.Test.Name + DateTime.Today.ToString("dd MM yyyy hh mm ss")}.png");
59
await _page.ScreenshotAsync(new PageScreenshotOptions { Path = file });
60
Console.WriteLine($"Screenshot saved to: {Path.GetFullPath(file)}");
61
AllureLifecycle.Instance.AddAttachment("Failure Screenshot", "image/png", file);
0 commit comments