Skip to content

Commit

Permalink
chore: Restore existing ListView UI test
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjohnoliver committed Jun 26, 2020
1 parent e6fae0c commit 6fc0b69
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public void ListView_ObservableCollection_Unused_Space()

Assert.AreEqual(3 * heightBefore, heightAfter);
}

[Test]
[AutoRetry]
[ActivePlatforms(Platform.iOS, Platform.Android)] // WASM is disabled https://github.com/unoplatform/uno/issues/2615
Expand Down Expand Up @@ -271,7 +271,7 @@ public void ListView_ChangeHeight_Validation()
string heightBefore = fixedHeightContainer.GetDependencyPropertyValue("Height")?.ToString();
heightChangeButton.Tap();
string heightAfter = fixedHeightContainer.GetDependencyPropertyValue("Height")?.ToString();
Assert.AreNotEqual(heightBefore, heightAfter);
Assert.AreNotEqual(heightBefore, heightAfter);
}

[Test]
Expand Down Expand Up @@ -342,7 +342,7 @@ public void ListView_ExpandableItemLarge_ExpandHeaderWithMultipleItems_Validatio
ClickCheckBoxAt(1);
ClickCheckBoxAt(2);
var screenshot2 = TakeScreenshot("Expanded State");
ImageAssert.AreNotEqual(screenshot1, screenshot2);
ImageAssert.AreNotEqual(screenshot1, screenshot2);

// Collapse and compare
checkBoxHeader.Tap();
Expand All @@ -355,7 +355,7 @@ public void ListView_ExpandableItemLarge_ExpandHeaderWithMultipleItems_Validatio

[Test]
[AutoRetry]
[ActivePlatforms(Platform.iOS, Platform.Android)] // WASM is disabledListViewTests_TestsListViewTests_TestsListViewTests_TestsListViewTests_TestsListViewTests_TestsListViewTests_TestsListViewTests_TestsListViewTests_TestsListViewTests_TestsListViewTests_TestsListViewTests_TestsListViewTests_TestsListViewTests_TestsListViewTests_TestsListViewTests_TestsListViewTests_TestsListViewTests_TestsListViewTests_TestsListViewTests_TestsListViewTests_TestsListViewTests_TestsListViewTests_TestsListViewTests_TestsListViewTests_TestsListViewTests_TestsListViewTests_TestsListViewTests_TestsListViewTests_TestsListViewTests_TestsListViewTests_Tests https://github.com/unoplatform/uno/issues/2615
[ActivePlatforms(Platform.iOS, Platform.Android)] // WASM is disabled https://github.com/unoplatform/uno/issues/2615
public void ListView_ExpandableItemLarge_ExpandHeaderWithSingleItem_Validation()
{
Run("SamplesApp.Windows_UI_Xaml_Controls.ListView.ListView_Expandable_Item_Large");
Expand All @@ -379,6 +379,8 @@ public void ListView_ExpandableItemLarge_ExpandHeaderWithSingleItem_Validation()
ImageAssert.AreEqual(screenshot1, screenshot3);
}

[Test]
[AutoRetry]
public void ListView_SelectedItems()
{
Run("SamplesApp.Windows_UI_Xaml_Controls.ListView.ListViewSelectedItems");
Expand Down

0 comments on commit 6fc0b69

Please sign in to comment.