Closed
Description
Error Message
OpenQA.Selenium.BrowserAssertFailedException : Xunit.Sdk.EqualException: Assert.Equal() Failure
Expected: 100
Actual: 102
OpenQA.Selenium.BrowserAssertFailedException : Xunit.Sdk.EqualException: Assert.Equal() Failure
Expected: 100
Actual: 102
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\9766a2945740491ab146463a31573347.png'
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<!--!
Stacktrace
stacktrace
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 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.E2ETest.Tests.CascadingValueTest.CanUpdateValuesMatchedByType() in /_/src/Components/test/E2ETest/Tests/CascadingValueTest.cs:line 39
----- 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