Skip to content
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

[blazor][wasm] Dispatch rendering to main thread (Net9) #52724

Merged
merged 18 commits into from
Jan 17, 2024

feedback

8c22942
Select commit
Loading
Failed to load commit list.
Merged

[blazor][wasm] Dispatch rendering to main thread (Net9) #52724

feedback
8c22942
Select commit
Loading
Failed to load commit list.
Azure Pipelines / aspnetcore-components-e2e succeeded Jan 17, 2024 in 1h 1m 10s

Build #20240117.11 had test failures

Details

Tests

  • 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

See this annotation in the file changed.

@azure-pipelines 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

See this annotation in the file changed.

@azure-pipelines 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

Check failure on line 1 in Microsoft.AspNetCore.Components.E2ETest.Tests.ComponentRenderingTest.CanUseFocusExtensionToFocusElementPreventScroll

See this annotation in the file changed.

@azure-pipelines 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)

Check failure on line 1 in Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests.CircuitTests.ComponentDisposeMethodThrowsExceptionTerminatesTheCircuit

See this annotation in the file changed.

@azure-pipelines 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)

Check failure on line 1 in Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests.CircuitTests.ComponentLifecycleMethodThrowsExceptionTerminatesTheCircuit(id: "afterrender-sync-throw")

See this annotation in the file changed.

@azure-pipelines 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)