public void ShouldReturnTypedViewWithSameAutomationIdFoundInPageHierarchy() { var screen = new Renderer <App>().Render <MainPage>(); screen.GetByAutomationId <Label>(singleLabelAutomationId) !.AutomationId.Should() .Be(singleLabelAutomationId); }
public void ShouldFilterElementsWithSameAutomationIdButDifferentTypesFoundInPageHierarchy() { var screen = new Renderer <App>().Render <MainPage>(); screen.GetByAutomationId <Label>("Other Label Automation") !.AutomationId.Should().Be("Other Label Automation"); }