1 instantiation of TracingSession
Microsoft.AspNetCore.Components.Testing (1)
Infrastructure\TracingSession.cs (1)
60return 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> 82public static async Task<TracingSession> TraceAsync( 85return await TracingSession.StartAsync(context, artifactDir, s_recordVideo).ConfigureAwait(false); 115var 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"/> 27private readonly TracingSession _tracing; 34internal 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> 48public static async Task<TracingSession> StartAsync(