-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[iOS] Make sure to distinguish between group header and global header…
… on CV2
- Loading branch information
Showing
3 changed files
with
43 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
...trols/tests/TestCases.Shared.Tests/Tests/CollectionView/CollectionViewUITests.Grouping.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
using NUnit.Framework; | ||
using UITest.Appium; | ||
using UITest.Core; | ||
|
||
namespace Microsoft.Maui.TestCases.Tests | ||
{ | ||
public class CollectionViewGroupingTests : CollectionViewUITests | ||
{ | ||
|
||
protected override bool ResetAfterEachTest => true; | ||
|
||
public CollectionViewGroupingTests(TestDevice device) | ||
: base(device) | ||
{ | ||
} | ||
|
||
[Test] | ||
[Category(UITestCategories.CollectionView)] | ||
public void GroupingAndHeaderWorks() | ||
{ | ||
VisitInitialGallery("Grouping"); | ||
|
||
VisitSubGallery("Basic Grouping"); | ||
|
||
// header | ||
App.WaitForElement("This is a header"); | ||
// group header | ||
App.WaitForElement("Avengers"); | ||
// group footer | ||
App.WaitForElement("Total members: 12"); | ||
} | ||
} | ||
} |