Closed
Description
Failing Test(s)
- Microsoft.AspNetCore.Components.E2ETests.ServerRenderingTests.FormHandlingTests.FormWithParentBindingContextTest.CanBindToFormWithFiles
Error Message
Assert.Throws() Failure
Expected: typeof(OpenQA.Selenium.StaleElementReferenceException)
Actual: typeof(OpenQA.Selenium.WebDriverException): unknown error: unhandled inspector error: {"code":-32000,"message":"Node with given id does not belong to the document"}
(Session info: chrome=122.0.6261.94)
---- OpenQA.Selenium.WebDriverException : unknown error: unhandled inspector error: {"code":-32000,"message":"Node with given id does not belong to the document"}
(Session info: chrome=122.0.6261.94)
Stacktrace
at OpenQA.Selenium.WebDriver.UnpackAndThrowOnError(Response errorResponse, String commandToExecute)
at OpenQA.Selenium.WebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
at OpenQA.Selenium.WebElement.GetAttribute(String attributeName)
at Microsoft.AspNetCore.Components.E2ETests.ServerRenderingTests.FormHandlingTests.FormWithParentBindingContextTest.<>c__DisplayClass73_0.<DispatchToFormCore>b__2() in /home/vsts/work/1/s/src/Components/test/E2ETest/ServerRenderingTests/FormHandlingTests/FormWithParentBindingContextTest.cs:line 1595
----- Inner Stack Trace -----
at OpenQA.Selenium.WebDriver.UnpackAndThrowOnError(Response errorResponse, String commandToExecute)
at OpenQA.Selenium.WebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
at OpenQA.Selenium.WebElement.GetAttribute(String attributeName)
at Microsoft.AspNetCore.Components.E2ETests.ServerRenderingTests.FormHandlingTests.FormWithParentBindingContextTest.<>c__DisplayClass73_0.<DispatchToFormCore>b__2() in /home/vsts/work/1/s/src/Components/test/E2ETest/ServerRenderingTests/FormHandlingTests/FormWithParentBindingContextTest.cs:line 1595
Logs
/home/vsts/work/1/s/src/Components/test/E2ETest/ServerRenderingTests/FormHandlingTests/FormWithParentBindingContextTest.cs(1595): error VSTEST1: (Microsoft.AspNetCore.Components.E2ETests.ServerRenderingTests.FormHandlingTests.FormWithParentBindingContextTest.CanBindToFormWithFiles) Microsoft.AspNetCore.Components.E2ETests.ServerRenderingTests.FormHandlingTests.FormWithParentBindingContextTest.<>c__DisplayClass73_0.<DispatchToFormCore>b__2() Assert.Throws() Failure Expected: typeof(OpenQA.Selenium.StaleElementReferenceException) Actual: typeof(OpenQA.Selenium.WebDriverException): unknown error: unhandled inspector error: {"code":-32000,"message":"Node with given id does not belong to the document"} (Session info: chrome=122.0.6261.94) ---- OpenQA.Selenium.WebDriverException : unknown error: unhandled inspector error: {"code":-32000,"message":"Node with given id does not belong to the document"} (Session info: chrome=122.0.6261.94) [/home/vsts/work/1/s/src/Components/test/E2ETest/Microsoft.AspNetCore.Components.E2ETests.csproj]
Build
https://dev.azure.com/dnceng-public/public/_build/results?buildId=595165&view=results
Also affected #54411
Probably related: #49975
Possible fix approach: #54340