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

Flaky test: "CanSetCultureAndParseCultureInvariantNumbersAndDatesWithInputFields" #27155

Closed
JunTaoLuo opened this issue Oct 23, 2020 · 3 comments · Fixed by #31156
Closed

Flaky test: "CanSetCultureAndParseCultureInvariantNumbersAndDatesWithInputFields" #27155

JunTaoLuo opened this issue Oct 23, 2020 · 3 comments · Fixed by #31156
Assignees
Labels
area-blazor Includes: Blazor, Razor Components Done This issue has been fixed ✔️ Resolution: Fixed The bug or enhancement requested in this issue has been checked-in! task test-failure
Milestone

Comments

@JunTaoLuo
Copy link
Contributor

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
@JunTaoLuo JunTaoLuo added test-failure area-blazor Includes: Blazor, Razor Components labels Oct 23, 2020
@mkArtakMSFT mkArtakMSFT added this to the Next sprint planning milestone Oct 26, 2020
@ghost
Copy link

ghost commented Oct 26, 2020

Thanks for contacting us.
We're moving this issue to the Next sprint planning milestone for future evaluation / consideration. We will evaluate the request when we are planning the work for the next milestone. To learn more about what to expect next and how this issue will be handled you can read more about our triage process here.

@wtgodbe
Copy link
Member

wtgodbe commented Dec 16, 2020

Similar failure: CanSetCultureAndParseCultureSensitiveNumbersAndDates

Details in #27556

@HaoK
Copy link
Member

HaoK commented Mar 23, 2021

Resolved as part of #31156

@HaoK HaoK closed this as completed Mar 23, 2021
@HaoK HaoK self-assigned this Mar 23, 2021
@HaoK HaoK added ✔️ Resolution: Fixed The bug or enhancement requested in this issue has been checked-in! Done This issue has been fixed labels Mar 23, 2021
@HaoK HaoK linked a pull request Mar 23, 2021 that will close this issue
@ghost ghost locked as resolved and limited conversation to collaborators Apr 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-blazor Includes: Blazor, Razor Components Done This issue has been fixed ✔️ Resolution: Fixed The bug or enhancement requested in this issue has been checked-in! task test-failure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants