/
githubmirror
/
aspnetcore
Обзор
Документация
Войти
/
githubmirror
/
aspnetcore
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Components/test/E2ETest/ServerExecutionTests/TestSubclasses.cs
146 строк
6 KB
irfanajaffer
Stabilize `VirtualizationTest.CancelsOutdatedRefreshes_Async` flaky test (#68079)
31 июл 2026, 09:58
Не верифицирован
31 июл 2026, 09:58
8d2e54b
Код
Авторство
О чём код?
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using BasicTestApp; using Microsoft.AspNetCore.Components.E2ETest.Infrastructure.ServerFixtures; using Microsoft.AspNetCore.Components.E2ETest.Tests; using Microsoft.AspNetCore.E2ETesting; using Microsoft.AspNetCore.InternalTesting; using Xunit.Abstractions; namespace Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests; public class ServerBindTest : BindTest { public ServerBindTest(BrowserFixture browserFixture, ToggleExecutionModeServerFixture<Program> serverFixture, ITestOutputHelper output) : base(browserFixture, serverFixture.WithServerExecution(), output) { } } public class ServerEventBubblingTest : EventBubblingTest { public ServerEventBubblingTest(BrowserFixture browserFixture, ToggleExecutionModeServerFixture<Program> serverFixture, ITestOutputHelper output) : base(browserFixture, serverFixture.WithServerExecution(), output) { } } public class ServerInteropTest : InteropTest { public ServerInteropTest(BrowserFixture browserFixture, ToggleExecutionModeServerFixture<Program> serverFixture, ITestOutputHelper output) : base(browserFixture, serverFixture.WithServerExecution().WithAdditionalArguments(GetAdditionalArguments()), output) { } private static string[] GetAdditionalArguments() => new string[] { "--detailedErrors", "true" }; } public class ServerRoutingTest : RoutingTest { public ServerRoutingTest(BrowserFixture browserFixture, ToggleExecutionModeServerFixture<Program> serverFixture, ITestOutputHelper output) : base(browserFixture, serverFixture.WithServerExecution(), output) { } [QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/61080")] public override void NavigationLock_OverlappingNavigationsCancelExistingNavigations_HistoryNavigation() => base.NavigationLock_OverlappingNavigationsCancelExistingNavigations_HistoryNavigation(); public override void CanNavigateToQueryStringPageWithNoQuery() => base.CanNavigateToQueryStringPageWithNoQuery(); } public class ServerCascadingValueTest : CascadingValueTest { public ServerCascadingValueTest(BrowserFixture browserFixture, ToggleExecutionModeServerFixture<Program> serverFixture, ITestOutputHelper output) : base(browserFixture, serverFixture.WithServerExecution(), output) { } } public class ServerEventCallbackTest : EventCallbackTest { public ServerEventCallbackTest(BrowserFixture browserFixture, ToggleExecutionModeServerFixture<Program> serverFixture, ITestOutputHelper output) : base(browserFixture, serverFixture.WithServerExecution(), output) { } } public class ServerFormsTest : FormsTest { public ServerFormsTest(BrowserFixture browserFixture, ToggleExecutionModeServerFixture<Program> serverFixture, ITestOutputHelper output) : base(browserFixture, serverFixture.WithServerExecution(), output) { } } public class ServerKeyTest : KeyTest { public ServerKeyTest(BrowserFixture browserFixture, ToggleExecutionModeServerFixture<Program> serverFixture, ITestOutputHelper output) : base(browserFixture, serverFixture.WithServerExecution(), output) { } } public class ServerInputFileTest : InputFileTest { public ServerInputFileTest(BrowserFixture browserFixture, ToggleExecutionModeServerFixture<Program> serverFixture, ITestOutputHelper output) : base(browserFixture, serverFixture.WithServerExecution(), output) { } } public class ServerVirtualizationTest : VirtualizationTest { public ServerVirtualizationTest(BrowserFixture browserFixture, ToggleExecutionModeServerFixture<Program> serverFixture, ITestOutputHelper output) : base(browserFixture, serverFixture.WithServerExecution(), output) { } public override void CanRenderHtmlTable() => base.CanRenderHtmlTable(); public override void CancelsOutdatedRefreshes_Async() => base.CancelsOutdatedRefreshes_Async(); public override void DynamicContent_PrependItemsWhileScrolledToMiddle_VisibleItemsStayInPlace() => base.DynamicContent_PrependItemsWhileScrolledToMiddle_VisibleItemsStayInPlace(); [QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/66119")] public override void NonZeroStartIndex_ScrollToMiddleThenMeasure() => base.NonZeroStartIndex_ScrollToMiddleThenMeasure(); [QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/66970")] public override void AnchorMode_End_AppendAfterLeavingBottom_DoesNotReengage(bool variableHeight, bool useItemsProvider) => base.AnchorMode_End_AppendAfterLeavingBottom_DoesNotReengage(variableHeight, useItemsProvider); [QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/68017")] public override void QuickGrid_AnchorMode_Top_AppendKeepsViewportStable(string anchorMode, bool useItemsProvider) => base.QuickGrid_AnchorMode_Top_AppendKeepsViewportStable(anchorMode, useItemsProvider); } public class ServerDynamicComponentRenderingTest : DynamicComponentRenderingTest { public ServerDynamicComponentRenderingTest(BrowserFixture browserFixture, ToggleExecutionModeServerFixture<Program> serverFixture, ITestOutputHelper output) : base(browserFixture, serverFixture.WithServerExecution(), output) { } } public class ServerEventCustomArgsTest : EventCustomArgsTest { public ServerEventCustomArgsTest(BrowserFixture browserFixture, ToggleExecutionModeServerFixture<Program> serverFixture, ITestOutputHelper output) : base(browserFixture, serverFixture.WithServerExecution(), output) { } } public class ServerErrorBoundaryTest : ErrorBoundaryTest { public ServerErrorBoundaryTest(BrowserFixture browserFixture, ToggleExecutionModeServerFixture<Program> serverFixture, ITestOutputHelper output) : base(browserFixture, serverFixture.WithServerExecution(), output) { } }