Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
radical opened this issue Mar 25, 2024 · 1 comment · Fixed by #57376
Assignees
Labels
area-blazor Includes: Blazor, Razor Components test-fixed
Milestone

Comments

@radical
Copy link
Member

radical commented Mar 25, 2024

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

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-blazor Includes: Blazor, Razor Components label Mar 25, 2024
radical added a commit to radical/aspnetcore that referenced this issue Mar 26, 2024
…arentBindingContextTest`

Tests:
- Microsoft.AspNetCore.Components.E2ETests.ServerRenderingTests.FormHandlingTests.FormWithParentBindingContextTest.EnhancedFormThatCallsNavigationManagerRefreshDoesNotPushHistoryEntry
- Microsoft.AspNetCore.Components.E2ETests.ServerRenderingTests.FormHandlingTests.FormWithParentBindingContextTest.EnhancedFormThatCallsNavigationManagerRefreshDoesNotPushHistoryEntry_Streaming

Issue: dotnet#54757
radical added a commit that referenced this issue Mar 26, 2024
…arentBindingContextTest` (#54758)

Tests:
- Microsoft.AspNetCore.Components.E2ETests.ServerRenderingTests.FormHandlingTests.FormWithParentBindingContextTest.EnhancedFormThatCallsNavigationManagerRefreshDoesNotPushHistoryEntry
- Microsoft.AspNetCore.Components.E2ETests.ServerRenderingTests.FormHandlingTests.FormWithParentBindingContextTest.EnhancedFormThatCallsNavigationManagerRefreshDoesNotPushHistoryEntry_Streaming

Issue: #54757
@mkArtakMSFT mkArtakMSFT added this to the 9.0-preview5 milestone Mar 27, 2024
@mkArtakMSFT mkArtakMSFT modified the milestones: 9.0-preview7, 9.0-rc1 Jul 3, 2024
@mkArtakMSFT mkArtakMSFT modified the milestones: 9.0-rc1, 9.0-rc2 Aug 2, 2024
@amcasey
Copy link
Member

amcasey commented Aug 16, 2024

image

amcasey added a commit to amcasey/aspnetcore that referenced this issue Aug 16, 2024
@javiercn javiercn assigned MackinnonBuck and unassigned javiercn Aug 22, 2024
MackinnonBuck pushed a commit that referenced this issue Aug 28, 2024
…HistoryEntry (#57376)

It's been passing for 30 days since #54825.

Fixes #54757
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-blazor Includes: Blazor, Razor Components test-fixed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants