You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assert.IsTrue(carouselAutomationPeer.GetName().Contains(automationName),"Verify that the UIA name contains the given AutomationProperties.Name of the Carousel.");
46
+
// Asserts the automation peer name based on the Automation Property Name value.
Assert.IsTrue(carouselAutomationPeer.GetName().Contains(expectedCarouselAutomationName),"Verify that the UIA name contains the given AutomationProperties.Name of the Carousel.");
49
49
50
-
carousel.Name=name;
51
-
Assert.IsTrue(carouselAutomationPeer.GetName().Contains(name),"Verify that the UIA name contains the given Name of the Carousel.");
50
+
// Asserts the automation peer name based on the element Name property.
51
+
carousel.Name=expectedCarouselName;
52
+
Assert.IsTrue(carouselAutomationPeer.GetName().Contains(expectedCarouselName),"Verify that the UIA name contains the given Name of the Carousel.");
0 commit comments