File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
TestCases.HostApp/Issues/XFIssue
TestCases.Shared.Tests/Tests/Issues/XFIssue Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ internal DataTemplate GetCarouselTemplate()
6666 } ;
6767
6868 info . SetBinding ( Label . TextProperty , new Binding ( "Name" ) ) ;
69+ info . SetBinding ( Label . AutomationIdProperty , new Binding ( "Name" ) ) ;
6970
7071 grid . Children . Add ( info ) ;
7172
Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ public Issue7678(TestDevice device) : base(device)
1616 public void VerifyCarouselViewItemsRenderAfterBinding ( )
1717 {
1818 App . WaitForElement ( "carouselView" , timeout : TimeSpan . FromSeconds ( 4 ) ) ;
19- App . WaitForElement ( "1" ) ;
19+ var text = App . WaitForElement ( "1" ) . GetText ( ) ;
20+ Assert . That ( text , Is . EqualTo ( "1" ) , "The first item in the Carouselview should be `1` after binding." ) ;
2021 }
2122 }
2223}
You can’t perform that action at this time.
0 commit comments