Skip to content

Investigate CanUseViewportAsContainer test failure #24922

Closed
@dougbu

Description

@dougbu

Test failed in https://dev.azure.com/dnceng/public/_build/results?buildId=770042 with the following details:

OpenQA.Selenium.BrowserAssertFailedException : Xunit.Sdk.NotEqualException: Assert.NotEqual() Failure
Expected: Not "height: 0px;"
Actual:   "height: 0px;"
 at Xunit.Assert.NotEqual[T](T expected, T actual, IEqualityComparer1 comparer) in C:\\Dev\\xunit\\xunit\\src\\xunit.assert\\Asserts\\EqualityAsserts.cs:line 143
 at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass17_0.<WaitAssertCore>b__0() in /_/src/Shared/E2ETesting/WaitAssert.cs:line 80
 at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass18_01.<WaitAssertCore>b__0(IWebDriver ) in //src/Shared/E2ETesting/WaitAssert.cs:line 106
Screen shot captured at 'F:\workspace\_work\1\s\artifacts\TestResults\Release\Microsoft.AspNetCore.Components.E2ETests\9bf01489259c44e79bc88ed4bba1080a.png'
Encountered browser errors
[2020-08-14T00:13:18Z] [Debug] http://127.0.0.1:60011/subdir/_framework/dotnet.5.0.0-rc.1.20371.13.js 0:126676 "mono_wasm_runtime_ready" "fe00e07a-5519-4dfe-b35a-f867dbaf2e28"Page content:
<head>
    <meta charset="utf-8">
    <title>Basic test app</title>
    <base href="/subdir/">
    <link href="style.css" rel="stylesheet">

    
    <link href="_content/TestContentPackage/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.CounterComponentUsingChild">Counter using child component
        <option value="BasicTestApp.CulturePicker">Culture Picker
        <option value="BasicTestApp.DispatchingComponent">Dispatching to sync context
        <option value="BasicTestApp.ElementFocusComponent">Element focus component
        <option value="BasicTestApp.ErrorComponent">Error throwing
        <option value="BasicTestApp.EventCallbackTest.EventCallbackCases">EventCallback
        <option value="BasicTestApp.EventDisablingComponent">Event disabling

Stack trace
   at Microsoft.AspNetCore.E2ETesting.WaitAssert.WaitAssertCore[TResult](IWebDriver driver, Func`1 assertion, TimeSpan timeout) in /_/src/Shared/E2ETesting/WaitAssert.cs:line 126
   at Microsoft.AspNetCore.E2ETesting.WaitAssert.WaitAssertCore(IWebDriver driver, Action assertion, TimeSpan timeout) in /_/src/Shared/E2ETesting/WaitAssert.cs:line 81
   at Microsoft.AspNetCore.E2ETesting.WaitAssert.NotEqual[T](IWebDriver driver, T expected, Func`1 actual) in /_/src/Shared/E2ETesting/WaitAssert.cs:line 27
   at Microsoft.AspNetCore.Components.E2ETests.Tests.VirtualizationTest.CanUseViewportAsContainer() in /_/src/Components/test/E2ETest/Tests/VirtualizationTest.cs:line 204
----- Inner Stack Trace -----
   at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass17_0.<WaitAssertCore>b__0() in /_/src/Shared/E2ETesting/WaitAssert.cs:line 80
   at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass18_0`1.<WaitAssertCore>b__0(IWebDriver _) in /_/src/Shared/E2ETesting/WaitAssert.cs:line 106

9bf01489259c44e79bc88ed4bba1080a

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions