[blazor][wasm] Dispatch rendering to main thread (Net9) #52724
Build #20240117.11 had test failures
Details
- Failed: 8 (0.59%)
- Passed: 1,337 (99.33%)
- Other: 1 (0.07%)
- Total: 1,346
Annotations
Check failure on line 147447 in Build log
azure-pipelines / aspnetcore-components-e2e
Build log #L147447
Bash exited with code '1'.
Check failure on line 1 in Microsoft.AspNetCore.Components.E2ETest.Tests.EventTest.Cancel_CanTrigger
azure-pipelines / aspnetcore-components-e2e
Microsoft.AspNetCore.Components.E2ETest.Tests.EventTest.Cancel_CanTrigger
OpenQA.Selenium.BrowserAssertFailedException : Xunit.Sdk.ContainsException: Assert.Contains() Failure
Not found: oncancel,
In value: onclose,
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
Screen shot captured at '/home/vsts/work/1/s/src/Components/test/E2ETest/bin/screenshots/243f5d9fed2b4845848ed35926989e2c.png'
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">
<!-- App bundle that contains a reference to the scoped css bundle created by TestContentPackage -->
<link href="BasicTestApp.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">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><!--!-->
<option value="BasicTestApp.DynamicComponentRendering">DynamicComponent rendering</option><!--!-->
<option value="BasicTestApp.ElementFocusComponent">Element focus component</option><!--!-->
<option value="BasicTestApp.ElementRefComponent">Element ref component</option><!--!-->
<option value="BasicTestApp.ErrorComponent">Error throwing</option><!--!-->
<option value="BasicTestApp.ErrorBoundaryTest.ErrorBoundaryContainer">Error boundary cases</option><!--!-->
<option value="BasicTestApp.EventBubblingComponent">Event bubbling</option><!--!-->
<option value="BasicTestApp.EventCallbackTest.EventCallbackCases">EventCallback</option><!--!-->
<option value="BasicTestApp.EventCustomArgsComponent">Event custom arguments</option
Raw output
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.Contains(IWebDriver driver, String expectedSubstring, Func`1 actualString) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 42
at Microsoft.AspNetCore.Components.E2ETest.Tests.EventTest.Cancel_CanTrigger() in /home/vsts/work/1/s/src/Components/test/E2ETest/Tests/EventTest.cs:line 217
at InvokeStub_EventTest.Cancel_CanTrigger(Object, Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
----- Inner Stack Trace -----
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
azure-pipelines / aspnetcore-components-e2e
Microsoft.AspNetCore.Components.E2ETest.Tests.ComponentRenderingTest.CanUseFocusExtensionToFocusElementPreventScroll
Assert.Equal() Failure
Expected: 76
Actual: 0
Raw output
at Microsoft.AspNetCore.Components.E2ETest.Tests.ComponentRenderingTestBase.CanUseFocusExtensionToFocusElementPreventScroll() in /home/vsts/work/1/s/src/Components/test/E2ETest/Tests/ComponentRenderingTestBase.cs:line 454
at InvokeStub_ComponentRenderingTestBase.CanUseFocusExtensionToFocusElementPreventScroll(Object, Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
azure-pipelines / aspnetcore-components-e2e
Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests.CircuitTests.ComponentDisposeMethodThrowsExceptionTerminatesTheCircuit
OpenQA.Selenium.ElementClickInterceptedException : element click intercepted: Element <button id="dispose-throw">...</button> is not clickable at point (476, 450). Other element would receive the click: <div id="blazor-error-ui" style="display: block;">...</div>
(Session info: chrome=120.0.6099.216)
Raw output
at OpenQA.Selenium.WebDriver.UnpackAndThrowOnError(Response errorResponse, String commandToExecute)
at OpenQA.Selenium.WebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
at OpenQA.Selenium.WebElement.Click()
at Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests.CircuitTests.ComponentDisposeMethodThrowsExceptionTerminatesTheCircuit() in /home/vsts/work/1/s/src/Components/test/E2ETest/Tests/CircuitTests.cs:line 73
at InvokeStub_CircuitTests.ComponentDisposeMethodThrowsExceptionTerminatesTheCircuit(Object, Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
azure-pipelines / aspnetcore-components-e2e
Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests.CircuitTests.ComponentLifecycleMethodThrowsExceptionTerminatesTheCircuit(id: "afterrender-sync-throw")
OpenQA.Selenium.ElementClickInterceptedException : element click intercepted: Element <button id="afterrender-sync-throw">...</button> is not clickable at point (405, 432). Other element would receive the click: <div id="blazor-error-ui" style="display: block;">...</div>
(Session info: chrome=120.0.6099.216)
Raw output
at OpenQA.Selenium.WebDriver.UnpackAndThrowOnError(Response errorResponse, String commandToExecute)
at OpenQA.Selenium.WebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
at OpenQA.Selenium.WebElement.Click()
at Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests.CircuitTests.ComponentLifecycleMethodThrowsExceptionTerminatesTheCircuit(String id) in /home/vsts/work/1/s/src/Components/test/E2ETest/Tests/CircuitTests.cs:line 51
at InvokeStub_CircuitTests.ComponentLifecycleMethodThrowsExceptionTerminatesTheCircuit(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)