blob: 9de241c0921cbcf8854d135dec7c8cf37cb85392 (
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
37
38
39
40
41
42
43
44
45
46
47
48
|
using NUnit.Framework;
using Xamarin.UITest;
namespace Xamarin.Forms.Core.UITests
{
[TestFixture]
[Category ("StackLayout")]
internal class MinimumSizeGalleryTests : BaseTestFixture
{
// TODO
// TODO: Port to new conventions
public MinimumSizeGalleryTests ()
{
ShouldResetPerFixture = false;
}
protected override void NavigateToGallery ()
{
App.NavigateToGallery (GalleryQueries.MinimumSizeGalleryLegacy);
}
[Test]
[Description ("Scroll to the bottom of the TableView")]
public void MinimumSizeGalleryTableViewElementsAreAccessible ()
{
// AllElementsPresent ();
// var tableView = App.Query (PlatformQueries.Tables) [0];
// var tableX = tableView.Rect.X;
// var tableY = tableView.Rect.Y;
// var tableWidth = tableView.Rect.Width;
// var tableHeight = tableView.Rect.Height;
// var elementFound = App.DragFromToForElement (20, q => q.Marked ("Cell 4 Last"), tableWidth / 2, (tableY + tableHeight) - 70, tableWidth / 2, tableY + 30);
// Assert.IsTrue (elementFound);
// App.Screenshot ("All table elements exist");
}
/*******************************************************/
/**************** Landscape tests **********************/
/*******************************************************/
}
}
|