Flaky test: "CanSetCultureAndParseCultureInvariantNumbersAndDatesWithInputFields" #27155
Closed
Description
Build: https://dev.azure.com/dnceng/public/_build/results?buildId=863182&view=results
Error:
OpenQA.Selenium.BrowserAssertFailedException : Xunit.Sdk.EqualException: Assert.Equal() Failure
Expected: 9000
Actual: 0
at Xunit.Assert.Equal[T](T expected, T actual, IEqualityComparer1 comparer) in C:\\Dev\\xunit\\xunit\\src\\xunit.assert\\Asserts\\EqualityAsserts.cs:line 40
at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass17_0.<WaitAssertCore>b__0() in /_/src/Shared/E2ETesting/WaitAssert.cs:line 83
at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass18_01.<WaitAssertCore>b__0(IWebDriver ) in //src/Shared/E2ETesting/WaitAssert.cs:line 109
Screen shot captured at 'F:\workspace\_work\1\s\artifacts\TestResults\Release\Microsoft.AspNetCore.Components.E2ETests\3d2cf04f5dff40ef8e6ba192323aa06d.png'
Page content:
<head>
<meta charset="utf-8">
<title>Basic test app</title>
<base href="/subdir/">
<link href="style.css" rel="stylesheet">
<link rel="icon" href="data:,">
<link href="_content/TestContentPackage/styles.css" rel="stylesheet">
<link href="Components.TestServer.styles.css" rel="stylesheet">
</head>
<body>
<root><div id="test-selector">
Select test:
<select id="test-selector-select"><option value="none">Choose...
<option value="BasicTestApp.AfterRenderInteropComponent">After-render interop component
<option value="BasicTestApp.AuthTest.AuthRouter">Auth cases
<option value="BasicTestApp.BindCasesComponent">bind cases
<option value="BasicTestApp.ComponentRefComponent">Component ref component
<option value="BasicTestApp.ConfigurationComponent">Configuration
<option value="BasicTestApp.CounterComponent">Counter
<option value="BasicTestApp.CounterComponentWrapper">Counter wrapped in parent
<option value="BasicTestApp.DataDashComponent">data-* attribute rendering
<option value="BasicTestApp.DuplicateAttributesComponent">Duplicate attributes
<option value="BasicTestApp.ElementRefComponent">Element ref component
<option value="BasicTestApp.EventBubblingComponent">Event bubbling
<option value="BasicTestApp.EventCasesComponent">Event cases
<option value="BasicTestApp.EventDuringBatchRendering">Event during batch rendering
<option value="BasicTestApp.ExternalContentPackage">External content package
<option value="BasicTestApp.FormsTest.NotifyPropertyChangedValidationComponent">INotifyPropertyChanged validation
<option value="BasicTestApp.FormsTest.SimpleValidationComponentUsingExperimentalValidator">Simple validation using experimental validator
<option value="BasicTestApp.FormsTest.TypicalValidationComponentUsingExperimentalValidator">Typical validation using experimental validator
<option value="BasicTestApp.NavigateOnSubmit">Navigate to submit
<option value="BasicTestApp.GracefulTermination">Graceful Termination
<option value="BasicTestApp.HtmlBlockChildContent">ChildContent HTML Block
<option value="BasicTestApp.HtmlMixedChildContent">ChildContent Mixed Block
<option value="BasicTestApp.HttpClientTest.CookieCounterComponent">HttpClient cookies
<option value="BasicTestApp.InputEventComponent">Input events
<option value="BasicTestApp.InteropOnInitializationComponent">Interop on initialization
<option value="BasicTestApp.KeyCasesComponent">Key cases
<option value="BasicTestApp.LaggyTypingComponent">Laggy typing
<option value="BasicTestApp.LocalizedText">Localized Text
<option value="BasicTestApp.LoggingComponent">Logging
<option value="BasicTestApp.MarkupBlockComponent">Markup blocks
<option value="BasicTestApp.MovingCheckboxesComponent">Moving checkboxes diff case
<option value="BasicTestApp.NavigationFailureComponent">Navigation failure
<option value="BasicTestApp.PropertiesChangedHandlerParent">Parent component that changes parameters on child
<option value="Components.TestServer.ProtectedBrowserStorageInjectionComponent, Components.TestServer, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60">Protected browser storage injection
<option value="BasicTestApp.Reconnection.ReconnectionComponent">Reconnection server-side blazor
<option value="BasicTestApp.ReliabilityComponent">Server reliability component
<option value="BasicTestApp.RenderAttributesBeforeConnectedCallback">Render attributes before ConnectedCallback
<option value="BasicTestApp.RouterTest.NavigationManagerComponent">NavigationManager Test
<option value="BasicTestApp.RouterTest.TestRouterWithOnNavigate">Router with OnNavigate
<option value="BasicTestApp.RouterTest.TestRouterWithAdditionalAssembly">Router with additional assembly
<option value="BasicTestApp.SignalRClientComponent">SignalR client
<option value="BasicTestApp.SvgComponent">SVG
<option value="BasicTestApp.TextOnlyComponent">Plain text
<option value="BasicTestApp.TouchEventComponent">Touch events
<option value="BasicTestApp.VirtualizationDataChanges">Virtualization data changes
at Microsoft.AspNetCore.E2ETesting.WaitAssert.WaitAssertCore[TResult](IWebDriver driver, Func`1 assertion, TimeSpan timeout) in /_/src/Shared/E2ETesting/WaitAssert.cs:line 139
at Microsoft.AspNetCore.E2ETesting.WaitAssert.WaitAssertCore(IWebDriver driver, Action assertion, TimeSpan timeout) in /_/src/Shared/E2ETesting/WaitAssert.cs:line 84
at Microsoft.AspNetCore.E2ETesting.WaitAssert.Equal[T](IWebDriver driver, T expected, Func`1 actual) in /_/src/Shared/E2ETesting/WaitAssert.cs:line 27
at Microsoft.AspNetCore.Components.E2ETests.Tests.GlobalizationTest`1.CanSetCultureAndParseCultureInvariantNumbersAndDatesWithInputFields(String culture) in /_/src/Components/test/E2ETest/Tests/GlobalizationTest.cs:line 106
----- Inner Stack Trace -----
at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass17_0.<WaitAssertCore>b__0() in /_/src/Shared/E2ETesting/WaitAssert.cs:line 83
at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass18_0`1.<WaitAssertCore>b__0(IWebDriver _) in /_/src/Shared/E2ETesting/WaitAssert.cs:line 109