I have a blazor component that contains a SectionContent within which is a html table node.
<SectionContent SectionName = "top-row"><table id="weatherTable">//table contents here</table></SectionContent>The unit test code for the UI is,
//Arrangevar tc= new TestContext();var rc = tc.RenderComponent<TestComponent>();//Assertvar table = rc.Nodes.OfType<IHtmlTableElement>().Single(); --> unit tests fails and throws 'Sequence contains no elements' error.The test runs fine without errors when the table html element isn't wrapped within the blazor SectionContent.
Should SectionContent be initialized as a render component of its own? Any pointers would be greatly appreciated