1 instantiation of TracingSession
Microsoft.AspNetCore.Components.Testing (1)
Infrastructure\TracingSession.cs (1)
75
return new
TracingSession
(context, artifactDir, recordVideo, artifactManager);
14 references to TracingSession
Microsoft.AspNetCore.Components.Testing (14)
Infrastructure\PlaywrightExtensions.cs (8)
64
/// Starts tracing on an existing browser context. Returns a <see cref="
TracingSession
"/>
71
/// <returns>A <see cref="
TracingSession
"/> that manages trace lifecycle.</returns>
72
internal static async Task<
TracingSession
> TraceAsync(
77
return await
TracingSession
.StartAsync(context, artifactDir, s_recordVideo, artifactManager)
110
var
session = await
TracingSession
.StartAsync(context, artifactDir, s_recordVideo, artifactManager)
135
var
session = await
TracingSession
.StartAsync(context, artifactDir, s_recordVideo, artifactManager)
Infrastructure\TracedContext.cs (3)
9
/// Wraps an <see cref="IBrowserContext"/> and its associated <see cref="
TracingSession
"/>
27
private readonly
TracingSession
_tracing;
35
internal TracedContext(IBrowserContext context,
TracingSession
tracing, bool ownsContext)
Infrastructure\TracingSession.cs (2)
55
/// <returns>A <see cref="
TracingSession
"/> managing the trace lifecycle.</returns>
56
internal static async Task<
TracingSession
> StartAsync(
Playwright\UITest.cs (1)
87
var
session = await PlaywrightExtensions.TraceAsync(context, directory, ArtifactManager).ConfigureAwait(false);