1 instantiation of ServerInstance
Microsoft.AspNetCore.Components.Testing (1)
Infrastructure\ServerFactory.cs (1)
176var instance = new ServerInstance(appName, key, ProxyUrl, instanceKey =>
23 references to ServerInstance
Microsoft.AspNetCore.Components.Testing (23)
Infrastructure\PlaywrightExtensions.cs (5)
30/// so the YARP proxy routes requests to the correct <see cref="ServerInstance"/>. 36this BrowserNewContextOptions options, ServerInstance server) 94ServerInstance server, 117/// Variant of <see cref="NewTracedContextAsync(IBrowser, ServerInstance, string, ITestArtifactManager, BrowserNewContextOptions?)"/> 150this IBrowserContext context, ServerInstance server, string sessionId)
Infrastructure\RemoteLock.cs (2)
18private readonly ServerInstance _server; 22internal RemoteLock(ServerInstance server, string key)
Infrastructure\ServerFactory.cs (7)
24internal abstract Task<ServerInstance> StartServerAsync( 93private readonly ConcurrentDictionary<string, ServerInstance> _instances = new(); 147internal override async Task<ServerInstance> StartServerAsync( 155var key = ServerInstance.ComputeKey(appName, options); 157if (_instances.TryGetValue(key, out var existing)) 176var instance = new ServerInstance(appName, key, ProxyUrl, instanceKey => 249foreach (var instance in _instances.Values)
Infrastructure\ServerInstance.cs (1)
19/// Disposing a <see cref="ServerInstance"/> kills the app process and unregisters
Infrastructure\TestLockClient.cs (3)
25private readonly ServerInstance _server; 28TestLockClient(ServerInstance server, string sessionId) 42ServerInstance server, IBrowserContext context)
Playwright\BrowserTest.cs (1)
101ServerInstance server,
Playwright\UITest.cs (4)
35private readonly List<ServerInstance> _diagnosticServers = new(); 60protected async Task<ServerInstance> StartServerAsync<TApp>( 69var server = await factory.StartServerAsync(appName, configure, ArtifactManager).ConfigureAwait(false); 106ServerInstance[] diagnosticServers;