Skip to content

Quarantine Microsoft.AspNetCore.Components.E2ETests.ServerRenderingTests.FormHandlingTests.FormWithParentBindingContextTest.EnhancedFormThatCallsNavigationManagerRefreshDoesNotPushHistoryEntry #54757

Closed
@radical

Description

@radical

Failing Test(s)

  • Microsoft.AspNetCore.Components.E2ETests.ServerRenderingTests.FormHandlingTests.FormWithParentBindingContextTest.EnhancedFormThatCallsNavigationManagerRefreshDoesNotPushHistoryEntry
  • Microsoft.AspNetCore.Components.E2ETests.ServerRenderingTests.FormHandlingTests.FormWithParentBindingContextTest.EnhancedFormThatCallsNavigationManagerRefreshDoesNotPushHistoryEntry_Streaming

Error Message

OpenQA.Selenium.BrowserAssertFailedException : Xunit.Sdk.EqualException: Assert.Equal() Failure
Expected: http://127.0.0.1:43793/subdir/about:blank
Actual:   about:blank
at Xunit.Assert.Equal[T](T expected, T actual, IEqualityComparer1 comparer) in /_/src/xunit.assert/Asserts/EqualityAsserts.cs:line 96    at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass17_0.<WaitAssertCore>b__0() in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 83    at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass18_01.<WaitAssertCore>b__0(IWebDriver _) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 101
Screen shot captured at '/home/vsts/work/1/s/src/Components/test/E2ETest/bin/screenshots/eaf2371e0ee64a52b19ebf6d414fcb90.png'
Encountered browser errors
[2024-03-25T22:49:58Z] [Severe] chrome-error://chromewebdata/ - Failed to load resource: the server responded with a status of 404 ()
[2024-03-25T22:49:58Z] [Warning] http://127.0.0.1:43793/subdir/_framework/blazor.web.js 0:39368 "[2024-03-25T22:49:58.474Z] Warning: Initializer 'http://127.0.0.1:43793/subdir/JSInitializers/Classic/BasicTestApp.lib.module.js' will be ignored because multiple runtimes are available. Use 'before(Web|WebAssembly|Server)Start' and 'after(Web|WebAssembly|Server)Started' instead."
[2024-03-25T22:49:58Z] [Warning] http://127.0.0.1:43793/subdir/_framework/blazor.web.js 0:39368 "[2024-03-25T22:49:58.475Z] Warning: Initializer 'http://127.0.0.1:43793/subdir/BasicTestApp.lib.module.js' will be ignored because multiple runtimes are available. Use 'before(Web|WebAssembly|Server)Start' and 'after(Web|WebAssembly|Server)Started' instead."Page content:


<head></head><body></body>
---- Assert.Equal() Failure
Expected: http://127.0.0.1:43793/subdir/about:blank
Actual:   about:blank

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 129
   at Microsoft.AspNetCore.E2ETesting.WaitAssert.WaitAssertCore(IWebDriver driver, Action assertion, TimeSpan timeout) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 83
   at Microsoft.AspNetCore.E2ETesting.WaitAssert.Equal[T](IWebDriver driver, T expected, Func`1 actual) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 27
   at Microsoft.AspNetCore.Components.E2ETests.ServerRenderingTests.FormHandlingTests.FormWithParentBindingContextTest.EnhancedFormThatCallsNavigationManagerRefreshDoesNotPushHistoryEntry() in /home/vsts/work/1/s/src/Components/test/E2ETest/ServerRenderingTests/FormHandlingTests/FormWithParentBindingContextTest.cs:line 1487
   at InvokeStub_FormWithParentBindingContextTest.EnhancedFormThatCallsNavigationManagerRefreshDoesNotPushHistoryEntry(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
----- Inner Stack Trace -----
   at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass17_0.<WaitAssertCore>b__0() in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 83
   at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass18_0`1.<WaitAssertCore>b__0(IWebDriver _) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 101

Logs


Build

https://dev.azure.com/dnceng-public/public/_build/results?buildId=616801&view=logs&j=5c945968-3a2e-573b-5d84-9df2797877cd

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions