Apply suggestions from code review
Co-authored-by: Max Schmitt <max@schmitt.mx> Signed-off-by: Debbie O'Brien <debs-obrien@users.noreply.github.com>
This commit is contained in:
parent
c38f7bd034
commit
4deca61b75
|
|
@ -38,7 +38,7 @@ public class Tests : PageTest
|
|||
{
|
||||
await Context.Tracing.StartAsync(new()
|
||||
{
|
||||
Title = TestContext.CurrentContext.Test.ClassName + "." + TestContext.CurrentContext.Test.Name,
|
||||
Title = $"{TestContext.CurrentContext.Test.ClassName}.{TestContext.CurrentContext.Test.Name}",
|
||||
Screenshots = true,
|
||||
Snapshots = true,
|
||||
Sources = true
|
||||
|
|
@ -84,8 +84,7 @@ public class ExampleTest : PageTest
|
|||
{
|
||||
await Context.Tracing.StartAsync(new()
|
||||
{
|
||||
Title = TestContext.CurrentContext.Test.ClassName + "." + TestContext.
|
||||
CurrentContext.Test.Name,
|
||||
Title = $"{TestContext.FullyQualifiedTestClassName}.{TestContext.TestName}",
|
||||
Screenshots = true,
|
||||
Snapshots = true,
|
||||
Sources = true
|
||||
|
|
@ -100,7 +99,7 @@ public class ExampleTest : PageTest
|
|||
Path = Path.Combine(
|
||||
Environment.CurrentDirectory,
|
||||
"playwright-traces",
|
||||
$"{TestContext.CurrentContext.Test.ClassName}.{TestContext.CurrentContext.Test.Name}.zip"
|
||||
$"{TestContext.FullyQualifiedTestClassName}.{TestContext.TestName}.zip"
|
||||
)
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue