1 instantiation of TracingSession
Microsoft.AspNetCore.Components.Testing (1)
Infrastructure\TracingSession.cs (1)
60
return new
TracingSession
(context, artifactDir, recordVideo);
12 references to TracingSession
Microsoft.AspNetCore.Components.Testing (12)
Infrastructure\PlaywrightExtensions.cs (6)
75
/// Starts tracing on an existing browser context. Returns a <see cref="
TracingSession
"/>
81
/// <returns>A <see cref="
TracingSession
"/> that manages trace lifecycle.</returns>
82
public static async Task<
TracingSession
> TraceAsync(
85
return await
TracingSession
.StartAsync(context, artifactDir, s_recordVideo).ConfigureAwait(false);
115
var
session = await
TracingSession
.StartAsync(context, artifactDir, s_recordVideo).ConfigureAwait(false);
Infrastructure\TracedContext.cs (3)
9
/// Wraps an <see cref="IBrowserContext"/> and its associated <see cref="
TracingSession
"/>
27
private readonly
TracingSession
_tracing;
34
internal TracedContext(IBrowserContext context,
TracingSession
tracing)
Infrastructure\TracingSession.cs (3)
24
/// To avoid keeping artifacts for passing tests, dispose the <see cref="
TracingSession
"/>
47
/// <returns>A <see cref="
TracingSession
"/> managing the trace lifecycle.</returns>
48
public static async Task<
TracingSession
> StartAsync(