blob: 954af1706227fe37bf051fdebb28ef78c6653092 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
using System;
using Xamarin.Forms.CustomAttributes;
using Xamarin.Forms.Internals;
#if UITEST
using Xamarin.UITest;
using NUnit.Framework;
#endif
namespace Xamarin.Forms.Controls.Issues
{
[Preserve (AllMembers = true)]
[Issue (IssueTracker.Bugzilla, 29128, "Slider background lays out wrong Android")]
public class Bugzilla29128 : TestContentPage
{
protected override void Init ()
{
Content = new Slider {
AutomationId = "SliderId",
BackgroundColor = Color.Blue,
Maximum = 255,
Minimum = 0,
};
}
#if UITEST
[Test]
public void Bugzilla29128Test ()
{
RunningApp.WaitForElement (q => q.Marked ("SliderId"));
RunningApp.Screenshot("Slider and button should be centered");
Assert.Inconclusive ("For visual review only");
}
#endif
}
}
|