File tree Expand file tree Collapse file tree 2 files changed +8
-10
lines changed
TestCases.Shared.Tests/Tests/Issues Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 2
2
<ContentPage xmlns =" http://schemas.microsoft.com/dotnet/2021/maui"
3
3
xmlns : x =" http://schemas.microsoft.com/winfx/2009/xaml"
4
4
x : Class =" Maui.Controls.Sample.Issues.Issue16737" >
5
- <VerticalStackLayout >
6
- <Label Text = " Picker test " />
7
- < Picker
8
- AutomationId = " picker "
5
+ <VerticalStackLayout >
6
+ <Label AutomationId = " label "
7
+ Text = " Picker test " />
8
+ < Picker
9
9
Title =" Select something"
10
10
TitleColor =" Red"
11
11
TextColor =" Red" >
16
16
</x : Array >
17
17
</Picker .ItemsSource>
18
18
</Picker >
19
- </VerticalStackLayout >
19
+ </VerticalStackLayout >
20
20
</ContentPage >
Original file line number Diff line number Diff line change 1
- #if ANDROID
2
- using NUnit . Framework ;
1
+ using NUnit . Framework ;
3
2
using NUnit . Framework . Legacy ;
4
3
using UITest . Appium ;
5
4
using UITest . Core ;
@@ -16,11 +15,10 @@ public Issue16737(TestDevice device) : base(device) { }
16
15
[ Category ( UITestCategories . Picker ) ]
17
16
public void Issue16737Test ( )
18
17
{
19
- _ = App . WaitForElement ( "picker " ) ;
18
+ _ = App . WaitForElement ( "label " ) ;
20
19
21
20
// The test passes if the title's color is red
22
21
VerifyScreenshot ( ) ;
23
22
}
24
23
}
25
- }
26
- #endif
24
+ }
You can’t perform that action at this time.
0 commit comments