Fixed the issue #60096
Merged
Fixed the issue #60096
Azure Pipelines / aspnetcore-components-e2e
succeeded
Feb 4, 2025 in 1h 2m 25s
Build #20250203.21 had test failures
Details
- Failed: 14 (0.99%)
- Passed: 1,397 (98.94%)
- Other: 1 (0.07%)
- Total: 1,412
Annotations
Check failure on line 316 in Build log
azure-pipelines / aspnetcore-components-e2e
Build log #L316
Bash exited with code '1'.
azure-pipelines / aspnetcore-components-e2e
Microsoft.AspNetCore.Components.E2ETest.Tests.ThreadingHostedAppTest.HasHeading
OpenQA.Selenium.BrowserAssertFailedException : Xunit.Sdk.NotEqualException: Assert.NotEqual() Failure: Strings are equal
Expected: Not "Loading..."
Actual: "Loading..."
at Xunit.Assert.NotEqual[T](T expected, T actual, IEqualityComparer`1 comparer) in /_/src/xunit.assert/Asserts/EqualityAsserts.cs:line 636
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/7183067108a748ff9ae08b953462c751.png'
Encountered browser errors
[2025-02-04T03:22:51Z] [Severe] http://127.0.0.1:34673/_framework/blazor.web.js - Failed to load resource: the server responded with a status of 404 (Not Found)Page content:
<head><meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<base href="/">
<link href="bootstrap.min.css" rel="stylesheet">
<link href="app.css" rel="stylesheet">
<!--Blazor:{"type":"webassembly","prerenderId":"83c6f78a9b3f4659a6e68d05ab070796","key":{"locationHash":"77D12F14A8105320B1AAED6AE7E689DA0EC4483270A645E84079EAA0FFDF550D:5","formattedComponentKey":""},"assembly":"Microsoft.AspNetCore.Components.Web","typeName":"Microsoft.AspNetCore.Components.Web.HeadOutlet","parameterDefinitions":"W10=","parameterValues":"W10="}--><!--Blazor:{"prerenderId":"83c6f78a9b3f4659a6e68d05ab070796"}--></head>
<body><app>Loading...</app>
<div id="blazor-error-ui">
An unhandled exception has occurred. See browser dev tools for details.
<a href="" class="reload">Reload</a>
<a class="dismiss">\ud83d\uddd9</a></div>
<script src="_framework/blazor.web.js"></script></body>
---- Assert.NotEqual() Failure: Strings are equal
Expected: Not "Loading..."
Actual: "Loading..."
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.NotEqual[T](IWebDriver driver, T expected, Func`1 actual) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 30
at Microsoft.AspNetCore.Components.E2ETest.Tests.ThreadingHostedAppTest.WaitUntilLoaded() in /home/vsts/work/1/s/src/Components/test/E2ETest/Tests/ThreadingAppHostedTest.cs:line 112
at Microsoft.AspNetCore.Components.E2ETest.Tests.ThreadingHostedAppTest.InitializeAsyncCore() in /home/vsts/work/1/s/src/Components/test/E2ETest/Tests/ThreadingAppHostedTest.cs:line 32
at Microsoft.AspNetCore.E2ETesting.BrowserTestBase.InitializeAsync(String isolationContext) in /home/vsts/work/1/s/src/Shared/E2ETesting/BrowserTestBase.cs:line 65
at Microsoft.AspNetCore.E2ETesting.BrowserTestBase.InitializeAsync() in /home/vsts/work/1/s/src/Shared/E2ETesting/BrowserTestBase.cs:line 59
----- 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.ThreadingHostedAppTest.HasFetchDataPage
OpenQA.Selenium.BrowserAssertFailedException : Xunit.Sdk.NotEqualException: Assert.NotEqual() Failure: Strings are equal
Expected: Not "Loading..."
Actual: "Loading..."
at Xunit.Assert.NotEqual[T](T expected, T actual, IEqualityComparer`1 comparer) in /_/src/xunit.assert/Asserts/EqualityAsserts.cs:line 636
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/31fd4a9c3b8e470cb491f1124552196c.png'
Encountered browser errors
[2025-02-04T03:22:09Z] [Severe] http://127.0.0.1:34673/_framework/blazor.web.js - Failed to load resource: the server responded with a status of 404 (Not Found)Page content:
<head><meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<base href="/">
<link href="bootstrap.min.css" rel="stylesheet">
<link href="app.css" rel="stylesheet">
<!--Blazor:{"type":"webassembly","prerenderId":"fa0e45de61d948a793c33079d7437bbe","key":{"locationHash":"77D12F14A8105320B1AAED6AE7E689DA0EC4483270A645E84079EAA0FFDF550D:5","formattedComponentKey":""},"assembly":"Microsoft.AspNetCore.Components.Web","typeName":"Microsoft.AspNetCore.Components.Web.HeadOutlet","parameterDefinitions":"W10=","parameterValues":"W10="}--><!--Blazor:{"prerenderId":"fa0e45de61d948a793c33079d7437bbe"}--></head>
<body><app>Loading...</app>
<div id="blazor-error-ui">
An unhandled exception has occurred. See browser dev tools for details.
<a href="" class="reload">Reload</a>
<a class="dismiss">\ud83d\uddd9</a></div>
<script src="_framework/blazor.web.js"></script></body>
---- Assert.NotEqual() Failure: Strings are equal
Expected: Not "Loading..."
Actual: "Loading..."
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.NotEqual[T](IWebDriver driver, T expected, Func`1 actual) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 30
at Microsoft.AspNetCore.Components.E2ETest.Tests.ThreadingHostedAppTest.WaitUntilLoaded() in /home/vsts/work/1/s/src/Components/test/E2ETest/Tests/ThreadingAppHostedTest.cs:line 112
at Microsoft.AspNetCore.Components.E2ETest.Tests.ThreadingHostedAppTest.InitializeAsyncCore() in /home/vsts/work/1/s/src/Components/test/E2ETest/Tests/ThreadingAppHostedTest.cs:line 32
at Microsoft.AspNetCore.E2ETesting.BrowserTestBase.InitializeAsync(String isolationContext) in /home/vsts/work/1/s/src/Shared/E2ETesting/BrowserTestBase.cs:line 65
at Microsoft.AspNetCore.E2ETesting.BrowserTestBase.InitializeAsync() in /home/vsts/work/1/s/src/Shared/E2ETesting/BrowserTestBase.cs:line 59
----- 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.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, 431). Other element would receive the click: <div id="blazor-error-ui" style="display: block;">...</div>
(Session info: chrome=132.0.6834.110)
Raw output
at OpenQA.Selenium.WebDriver.UnpackAndThrowOnError(Response errorResponse, String commandToExecute)
at OpenQA.Selenium.WebDriver.ExecuteAsync(String driverCommandToExecute, Dictionary`2 parameters)
at OpenQA.Selenium.WebDriver.InternalExecute(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)
azure-pipelines / aspnetcore-components-e2e
Microsoft.AspNetCore.Components.E2ETest.Tests.ThreadingHostedAppTest.CounterPageCanUseThreads
OpenQA.Selenium.BrowserAssertFailedException : Xunit.Sdk.NotEqualException: Assert.NotEqual() Failure: Strings are equal
Expected: Not "Loading..."
Actual: "Loading..."
at Xunit.Assert.NotEqual[T](T expected, T actual, IEqualityComparer`1 comparer) in /_/src/xunit.assert/Asserts/EqualityAsserts.cs:line 636
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/4102859a509548f4b16f4bf1048f37f1.png'
Encountered browser errors
[2025-02-04T03:23:32Z] [Severe] http://127.0.0.1:34673/_framework/blazor.web.js - Failed to load resource: the server responded with a status of 404 (Not Found)Page content:
<head><meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<base href="/">
<link href="bootstrap.min.css" rel="stylesheet">
<link href="app.css" rel="stylesheet">
<!--Blazor:{"type":"webassembly","prerenderId":"22419de5e5cc4d7ca8bb0cbb3fa38fe5","key":{"locationHash":"77D12F14A8105320B1AAED6AE7E689DA0EC4483270A645E84079EAA0FFDF550D:5","formattedComponentKey":""},"assembly":"Microsoft.AspNetCore.Components.Web","typeName":"Microsoft.AspNetCore.Components.Web.HeadOutlet","parameterDefinitions":"W10=","parameterValues":"W10="}--><!--Blazor:{"prerenderId":"22419de5e5cc4d7ca8bb0cbb3fa38fe5"}--></head>
<body><app>Loading...</app>
<div id="blazor-error-ui">
An unhandled exception has occurred. See browser dev tools for details.
<a href="" class="reload">Reload</a>
<a class="dismiss">\ud83d\uddd9</a></div>
<script src="_framework/blazor.web.js"></script></body>
---- Assert.NotEqual() Failure: Strings are equal
Expected: Not "Loading..."
Actual: "Loading..."
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.NotEqual[T](IWebDriver driver, T expected, Func`1 actual) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 30
at Microsoft.AspNetCore.Components.E2ETest.Tests.ThreadingHostedAppTest.WaitUntilLoaded() in /home/vsts/work/1/s/src/Components/test/E2ETest/Tests/ThreadingAppHostedTest.cs:line 112
at Microsoft.AspNetCore.Components.E2ETest.Tests.ThreadingHostedAppTest.InitializeAsyncCore() in /home/vsts/work/1/s/src/Components/test/E2ETest/Tests/ThreadingAppHostedTest.cs:line 32
at Microsoft.AspNetCore.E2ETesting.BrowserTestBase.InitializeAsync(String isolationContext) in /home/vsts/work/1/s/src/Shared/E2ETesting/BrowserTestBase.cs:line 65
at Microsoft.AspNetCore.E2ETesting.BrowserTestBase.InitializeAsync() in /home/vsts/work/1/s/src/Shared/E2ETesting/BrowserTestBase.cs:line 59
----- 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
Loading