Skip to content

Quarantine Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests.ServerRoutingTest.NavigationLock_OverlappingNavigationsCancelExistingNavigations_HistoryNavigation #61080

Open
@radical

Description

@radical

Failing Test(s)

  • Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests.ServerRoutingTest.NavigationLock_OverlappingNavigationsCancelExistingNavigations_HistoryNavigation

Error Message

OpenQA.Selenium.BrowserAssertFailedException : Xunit.Sdk.NotEmptyException: Assert.NotEmpty() Failure: Collection was empty

Stacktrace

 at Microsoft.AspNetCore.E2ETesting.WaitAssert.WaitAssertCore[TResult](IWebDriver driver, Func`1 assertion, TimeSpan timeout) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 132
   at Microsoft.AspNetCore.Components.E2ETest.Tests.RoutingTest.NavigationLock_OverlappingNavigationsCancelExistingNavigations_HistoryNavigation() in /home/vsts/work/1/s/src/Components/test/E2ETest/Tests/RoutingTest.cs:line 996
   at InvokeStub_RoutingTest.NavigationLock_OverlappingNavigationsCancelExistingNavigations_HistoryNavigation(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
----- Inner Stack Trace -----
   at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass16_0.<Exists>b__0() in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 73
   at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass19_0`1.<WaitAssertCore>b__0(IWebDriver _) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 104

Logs

OpenQA.Selenium.BrowserAssertFailedException : Xunit.Sdk.NotEmptyException: Assert.NotEmpty() Failure: Collection was empty
   at Xunit.Assert.NotEmpty(IEnumerable collection) in /_/src/xunit.assert/Asserts/CollectionAsserts.cs:line 539
   at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass16_0.<Exists>b__0() in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 73
   at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass19_0`1.<WaitAssertCore>b__0(IWebDriver _) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 104
Screen shot captured at '/home/vsts/work/1/s/src/Components/test/E2ETest/bin/screenshots/9b8c7cb104cd43828ff692fa81492d78.png'
Encountered browser errors
[2025-03-21T05:47:16Z] [Info] http://127.0.0.1:42885/subdir 66:16 "Blazor server-side"
[2025-03-21T05:47:16Z] [Info] http://127.0.0.1:42885/subdir/_framework/blazor.server.js 0:45134 "[2025-03-21T05:47:16.131Z] Information: Normalizing '_blazor' to 'http://127.0.0.1:42885/subdir/_blazor'."
[2025-03-21T05:47:16Z] [Info] http://127.0.0.1:42885/subdir/_framework/blazor.server.js 0:45134 "[2025-03-21T05:47:16.146Z] Information: WebSocket connected to ws://127.0.0.1:42885/subdir/_blazor?id=OCNePiyGvxq8bUy2VISpgA."Page content:
<head>
    <meta charset="utf-8">
    
    <base href="/subdir/">
    <link href="style.css" rel="stylesheet">
    <link rel="icon" href="data:,">

    <!-- Used by ExternalContentPackage -->
    <link href="_content/TestContentPackage/styles.css" rel="stylesheet">
    <link href="Components.TestServer.styles.css" rel="stylesheet">
    <!--!--><!--!--><!--!--><title>Basic test app</title><!--!--><!--!--><!--!-->
</head>
<body>
    <root><!--!--><div id="test-selector"><!--!-->
    Select test:
    <select id="test-selector-select"><option value="none">Choose...</option><!--!-->
        <option value="BasicTestApp.AddRemoveChildComponents">Add/remove child components</option><!--!-->
        <option value="BasicTestApp.AfterRenderInteropComponent">After-render interop component</option><!--!-->
        <option value="BasicTestApp.AsyncEventHandlerComponent">Async event handlers</option><!--!-->
        <option value="BasicTestApp.AuthTest.AuthRouter">Auth cases</option><!--!-->
        <option value="BasicTestApp.AuthTest.CascadingAuthenticationStateParent">Cascading authentication state</option><!--!-->
        <option value="BasicTestApp.BindCasesComponent">bind cases</option><!--!-->
        <option value="BasicTestApp.CascadingValueTest.CascadingValueSupplier">Cascading values</option><!--!-->
        <option value="Components.TestServer.CircuitContextComponent, Components.TestServer, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60">Circuit context</option><!--!-->
        <option value="BasicTestApp.ComponentRefComponent">Component ref component</option><!--!-->
        <option value="BasicTestApp.ConcurrentRenderParent">Concurrent rendering</option><!--!-->
        <option value="BasicTestApp.ConfigurationComponent">Configuration</option><!--!-->
        <option value="BasicTestApp.ConfigureRuntime">Configure runtime</option><!--!-->
        <option value="BasicTestApp.ContentEditable">Content-editable</option><!--!-->
        <option value="BasicTestApp.CounterComponent">Counter</option><!--!-->
        <option value="BasicTestApp.CounterComponentUsingChild">Counter using child component</option><!--!-->
        <option value="BasicTestApp.CounterComponentWrapper">Counter wrapped in parent</option><!--!-->
        <option value="BasicTestApp.CulturePicker">Culture Picker</option><!--!-->
        <option value="BasicTestApp.CustomElementsComponent">Custom elements</option><!--!-->
        <option value="BasicTestApp.DataDashComponent">data-* attribute rendering</option><!--!-->
        <option value="BasicTestApp.DispatchingComponent">Dispatching to sync context</option><!--!-->
        <option value="BasicTestApp.DuplicateAttributesComponent">Duplicate attributes</option><!--

Build

https://dev.azure.com/dnceng-public/public/_build/results?buildId=988431&view=results

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions