Closed
Description
OpenQA.Selenium.BrowserAssertFailedException : Xunit.Sdk.EqualException: Assert.Equal() Failure
Expected: 02/01/2000 00:00:00
Actual: 03/04/1985 00:00:00
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 'D:\workspace\_work\1\s\artifacts\TestResults\Release\Microsoft.AspNetCore.Components.E2ETests\dbbe9fe910c741a3969de49329539ae6.png'
Encountered browser errors
[2021-06-04T21:52:31Z] [Info] http://127.0.0.1:24665/subdir/_framework/blazor.server.js 0:32016 "[2021-06-04T21:52:31.646Z] Information: Normalizing '_blazor' to 'http://127.0.0.1:24665/subdir/_blazor'."
[2021-06-04T21:52:31Z] [Info] http://127.0.0.1:24665/subdir 45:16 "Blazor server-side"
[2021-06-04T21:52:31Z] [Info] http://127.0.0.1:24665/subdir/_framework/blazor.server.js 0:32016 "[2021-06-04T21:52:31.678Z] Information: WebSocket connected to ws://127.0.0.1:24665/subdir/_blazor?id=Ryn00NtIEUt1Mv_Ik69eYQ."
[2021-06-04T21:52:32Z] [Info] http://127.0.0.1:24665/subdir/_framework/blazor.server.js 0:32016 "[2021-06-04T21:52:32.171Z] Information: Normalizing '_blazor' to 'http://127.0.0.1:24665/subdir/_blazor'."
[2021-06-04T21:52:32Z] [Info] http://127.0.0.1:24665/subdir 45:16 "Blazor server-side"
[2021-06-04T21:52:32Z] [Info] http://127.0.0.1:24665/subdir/_framework/blazor.server.js 0:32016 "[2021-06-04T21:52:32.181Z] Information: WebSocket connected to ws://127.0.0.1:24665/subdir/_blazor?id=cTSuh9Rg7sbgD3R6AIzjrw."
[2021-06-04T21:52:33Z] [Info] http://127.0.0.1:24665/subdir/_framework/blazor.server.js 0:32016 "[2021-06-04T21:52:33.100Z] Information: Normalizing '_blazor' to 'http://127.0.0.1:24665/subdir/_blazor'."
[2021-06-04T21:52:33Z] [Info] http://127.0.0.1:24665/subdir 45:16 "Blazor server-side"
[2021-06-04T21:52:33Z] [Info] http://127.0.0.1:24665/subdir/_framework/blazor.server.js 0:32016 "[2021-06-04T21:52:33.108Z] Information: WebSocket connected to ws://127.0.0.1:24665/subdir/_blazor?id=4kVk-6hZ40Motcxc0by1Mg."
[2021-06-04T21:52:33Z] [Info] http://127.0.0.1:24665/subdir/_framework/blazor.server.js 0:32016 "[2021-06-04T21:52:33.460Z] Information: Normalizing '_blazor' to 'http://127.0.0.1:24665/subdir/_blazor'."
[2021-06-04T21:52:33Z] [Info] http://127.0.0.1:24665/subdir 45:16 "Blazor server-side"
[2021-06-04T21:52:33Z] [Info] http://127.0.0.1:24665/subdir/_framework/blazor.server.js 0:32016 "[2021-06-04T21:52:33.465Z] Information: WebSocket connected to ws://127.0.0.1:24665/subdir/_blazor?id=Zb9n6FMdTPEEJmJZVZFNCQ."Page content:
<head>
<meta charset="utf-8">
<title>Basic test app</title>
<base href="/https/github.com/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.ElementFocusComponent">Element focus component
<option value="BasicTestApp.ErrorComponent">Error throwing
<option value="BasicTestApp.EventBubblingComponent">Event bubbling
<option value="BasicTestApp.EventCustomArgsComponent">Event custom arguments
<option value="BasicTestApp.EventDuringBatchRendering">Event during batch rendering
<option value="BasicTestApp.ExternalContentPackage">External content package
<option value="BasicTestApp.FormsTest.InputFocusComponent">Input Focus
<option value="BasicTestApp.FormsTest.SimpleValidationComponent">Simple validation
<option value="BasicTestApp.FormsTest.TypicalValidationComponent">Typical validation
<option value="BasicTestApp.FormsTest.InputFileComponent">Input file
<option value="BasicTestApp.GlobalizationBindCases">Globalization Bind Cases
<option value="BasicTestApp.HierarchicalImportsTest.Subdir.ComponentUsingImports">Imports statement
<option value="BasicTestApp.HtmlEncodedChildContent">ChildContent HTML Encoded Block
<option value="BasicTestApp.HttpClientTest.BinaryHttpRequestsComponent">Binary HttpClient tester
<option value="BasicTestApp.HttpClientTest.HttpRequestsComponent">HttpClient tester
<option value="BasicTestApp.InteropComponent">Interop component
<option value="BasicTestApp.JsonSerializationCases">JSON serialization
<option value="BasicTestApp.KeyPressEventComponent">Key press event
<option value="BasicTestApp.LimitCounterComponent">Limit counter component
<option value="BasicTestApp.LogicalElementInsertionCases">Logical element insertion cases
<option value="BasicTestApp.LongRunningInterop">Long running interop
<option value="BasicTestApp.MouseEventComponent">Mouse events
<option value="BasicTestApp.MultipleChildContent">Multiple child content
<option value="BasicTestApp.ParentChildComponent">Parent component with child
<option value="Components.TestServer.ProtectedBrowserStorageUsageComponent, Components.TestServer, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60">Protected browser storage usage
<option value="BasicTestApp.RazorTemplates">Razor Templates
<option value="BasicTestApp.RedTextComponent">Red text
<option value="BasicTestApp.RenderFragmentToggler">Render fragment renderer
<option value="BasicTestApp.ReorderingFocusComponent">Reordering focus retention
<option value="BasicTestApp.RouterTest.TestRouter">Router
<option value="BasicTestApp.RouterTest.TestRouterWithLazyAssembly">Router with dynamic assembly
<option value="BasicTestApp.SelectVariantsComponent">Select with component options
<option value="BasicTestApp.StringComparisonComponent">StringComparison
<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 129
at Microsoft.AspNetCore.E2ETesting.WaitAssert.WaitAssertCore(IWebDriver driver, Action assertion, TimeSpan timeout) in /_/src/Shared/E2ETesting/WaitAssert.cs:line 83
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 130
----- 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