Skip to content

Quarantine CanRenderComponentWithPersistedState(suppressEnhancedNavigation: False, renderMode: typeof(Microsoft.AspNetCore.Components.Web.InteractiveAutoRenderMode), streaming: "AutoStreaming"/null) #50810

@SteveSandersonMS

Description

@SteveSandersonMS

Failing Test(s)

  • Microsoft.AspNetCore.Components.E2ETests.Tests.StatePersistenceTest.CanRenderComponentWithPersistedState

... but only the following variants:

[InlineData(true, typeof(InteractiveAutoRenderMode), (string)null)]
[InlineData(false, typeof(InteractiveAutoRenderMode), (string)null)]
[InlineData(false, typeof(InteractiveAutoRenderMode), "AutoStreaming")]

We need to verify this is not a product bug before 8.0 ships, so putting it in the 8.0 milestone.

Error Message

Xunit.Sdk.EqualException: Assert.Equal() Failure
Expected: Interactive runtime: server
Actual:   Interactive runtime: wasm

Stacktrace

   at Microsoft.AspNetCore.E2ETesting.WaitAssert.WaitAssertCore[TResult](IWebDriver driver, Func`1 assertion, TimeSpan timeout) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 129
   at Microsoft.AspNetCore.E2ETesting.WaitAssert.WaitAssertCore(IWebDriver driver, Action assertion, TimeSpan timeout) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 83
   at Microsoft.AspNetCore.E2ETesting.WaitAssert.Equal[T](IWebDriver driver, T expected, Func`1 actual) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 27
   at Microsoft.AspNetCore.Components.E2ETests.Tests.StatePersistenceTest.AssertPageState(String mode, String renderMode, Boolean interactive, Boolean stateFound, String stateValue, String streamingId, Boolean streamingCompleted, String interactiveRuntime) in /home/vsts/work/1/s/src/Components/test/E2ETest/Tests/StatePersistenceTest.cs:line 225
   at Microsoft.AspNetCore.Components.E2ETests.Tests.StatePersistenceTest.RenderComponentsWithPersistentStateAndValidate(Boolean suppresEnhancedNavigation, String mode, Type renderMode, String streaming, String interactiveRuntime, String stateValue) in /home/vsts/work/1/s/src/Components/test/E2ETest/Tests/StatePersistenceTest.cs:line 197
   at Microsoft.AspNetCore.Components.E2ETests.Tests.StatePersistenceTest.CanRenderComponentWithPersistedState(Boolean suppressEnhancedNavigation, Type renderMode, String streaming) in /home/vsts/work/1/s/src/Components/test/E2ETest/Tests/StatePersistenceTest.cs:line 101
   at InvokeStub_StatePersistenceTest.CanRenderComponentWithPersistedState(Object, Span`1)
   at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
----- Inner Stack Trace -----
   at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass18_0`1.<WaitAssertCore>b__0(IWebDriver _) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 101

Logs


Build

https://dev.azure.com/dnceng-public/public/_build/results?buildId=411184
https://dev.azure.com/dnceng-public/public/_build/results?buildId=411665
https://dev.azure.com/dnceng-public/public/_build/results?buildId=457395

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions