28 references to BrowserKind
Microsoft.AspNetCore.BrowserTesting (16)
BrowserManager.cs (12)
71BrowserKind.Chromium => await Playwright.Chromium.LaunchAsync(effectiveLaunchOptions), 72BrowserKind.Firefox => await Playwright.Firefox.LaunchAsync(effectiveLaunchOptions), 73BrowserKind.Webkit => await Playwright.Webkit.LaunchAsync(effectiveLaunchOptions), 85public Task<IBrowserContext> GetBrowserInstance(BrowserKind browserInstance, ContextInformation contextInfo) => 97public Task<IBrowserContext> GetBrowserInstance(BrowserKind browserInstance, string contextName, ContextInformation contextInfo) => 109public Task<IBrowserContext> GetBrowserInstance(BrowserKind browserInstance, string contextName, BrowserNewContextOptions options, ContextInformation contextInfo) => 162public bool IsAvailable(BrowserKind browserKind) => 165public bool IsExplicitlyDisabled(BrowserKind browserKind) => 170public static IEnumerable<object[]> WithBrowsers<T>(IEnumerable<BrowserKind> browsers, IEnumerable<T[]> data) 173foreach (var browser in browsers) 184public static IEnumerable<object[]> WithBrowsers(IEnumerable<BrowserKind> browsers, params object[] data) 187foreach (var browser in browsers)
BrowserManagerConfiguration.cs (4)
101var browserKind = browser.GetValue<BrowserKind>("BrowserKind"); 353public BrowserKind BrowserKind { get; } 359public BrowserOptions(BrowserKind browserKind, BrowserTypeLaunchOptions browserLaunchOptions, BrowserNewContextOptions defaultContextOptions)
Templates.Blazor.Tests (12)
BlazorTemplateTest.cs (3)
78public static bool TryValidateBrowserRequired(BrowserKind browserKind, bool isRequired, out string error) 85BrowserKind browserKind, 216protected void EnsureBrowserAvailable(BrowserKind browserKind)
BlazorWasmTemplateTest.cs (4)
22[InlineData(BrowserKind.Chromium)] 23public async Task BlazorWasmStandaloneTemplate_Works(BrowserKind browserKind) 52[InlineData(BrowserKind.Chromium)] 53public async Task BlazorWasmStandalonePwaTemplate_Works(BrowserKind browserKind)
BlazorWebTemplateTest.cs (5)
19[InlineData(BrowserKind.Chromium, "None")] 20[InlineData(BrowserKind.Chromium, "Server")] 21[InlineData(BrowserKind.Chromium, "WebAssembly")] 22[InlineData(BrowserKind.Chromium, "Auto")] 23public async Task BlazorWebTemplate_Works(BrowserKind browserKind, string interactivityOption)