-
Notifications
You must be signed in to change notification settings - Fork 1.8k
[Testing] Feature Matrix UITest Cases for CollectionView Grouping Feature #29002
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Testing] Feature Matrix UITest Cases for CollectionView Grouping Feature #29002
Conversation
/azp run MAUI-UITests-public |
Azure Pipelines successfully started running 1 pipeline(s). |
7da2edb
to
3ce5e5a
Compare
/azp run MAUI-UITests-public |
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds comprehensive UI test cases and feature pages to validate the CollectionView grouping functionality while refactoring some legacy pages.
- Added new pages (CollectionViewFeaturePage, CollectionViewGroupingPage, etc.) and a corresponding view model (CollectionViewViewModel) with additional properties for grouping.
- Updated CorePageView to reference the new CollectionView feature page and removed obsolete pages.
Reviewed Changes
Copilot reviewed 12 out of 18 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
HeaderFooterMainPage.xaml.cs | Removed outdated header/footer page. |
HeaderFooterOptionsPage.xaml.cs | Updated to support dynamic header/footer options for CollectionView grouping. |
CollectionViewHeaderPage.xaml.cs | Introduced to showcase header configurations. |
CollectionViewViewModel.cs | Extended to support new properties (CanReorderItems, CanMixGroups) and a new ItemsSourceType value. |
GroupingOptionsPage.xaml.cs | Added to manage options for grouped CollectionView. |
CollectionViewGroupingPage.xaml.cs | Added to test grouping functionality. |
CollectionViewFeaturePage.xaml.cs | Added as an entry point for the CollectionView feature matrix. |
CollectionViewControlPage.xaml.cs | Removed in favor of the consolidated feature pages. |
CorePageView.cs | Updated GalleryPageFactory to reference the new CollectionView feature page. |
Files not reviewed (6)
- src/Controls/tests/TestCases.HostApp/FeatureMatrix/CollectionView/CollectionViewFeaturePage.xaml: Language not supported
- src/Controls/tests/TestCases.HostApp/FeatureMatrix/CollectionView/CollectionViewGrouping/CollectionViewGroupingPage.xaml: Language not supported
- src/Controls/tests/TestCases.HostApp/FeatureMatrix/CollectionView/CollectionViewGrouping/GroupingOptionsPage.xaml: Language not supported
- src/Controls/tests/TestCases.HostApp/FeatureMatrix/CollectionView/HeaderFooter/CollectionViewHeaderPage.xaml: Language not supported
- src/Controls/tests/TestCases.HostApp/FeatureMatrix/CollectionView/HeaderFooter/HeaderFooterOptionsPage.xaml: Language not supported
- src/Controls/tests/TestCases.HostApp/FeatureMatrix/CollectionView/HeaderFooterMainPage.xaml: Language not supported
Comments suppressed due to low confidence (2)
src/Controls/tests/TestCases.HostApp/FeatureMatrix/CollectionView/CollectionViewViewModel.cs:188
- Ensure that test cases are added for the new properties 'CanReorderItems' and 'CanMixGroups' in both TestCases.HostApp and TestCases.Shared.Tests.
public bool CanReorderItems
src/Controls/tests/TestCases.HostApp/FeatureMatrix/CollectionView/CollectionViewViewModel.cs:218
- [nitpick] Consider clarifying the naming of the enum value 'ObservableCollectionT' so that it clearly differentiates from 'ObservableCollection25T' and 'ObservableCollection5T'.
ItemsSourceType.ObservableCollectionT => _observableCollection,
bc5b786
to
16fa275
Compare
This PR includes a comprehensive set of UI test cases for the CollectionView control. The tests validate the Grouping feature functionality in CollectionView, including properties such as: IsGrouped, CanMixGroups, CanReorderItems, GroupHeaderTemplate, GroupFooterTemplate,Header, Footer, ItemsLayout, ItemTemplate, ItemsSource.
New Features :
CollectionViewFeaturePage
andCollectionViewControlPage
to showcase the CollectionView grouping feature. (src/Controls/tests/TestCases.HostApp/FeatureMatrix/CollectionView/CollectionViewGrouping/CollectionViewFeaturePage.xaml
[1]src/Controls/tests/TestCases.HostApp/FeatureMatrix/CollectionView/CollectionViewGrouping/CollectionViewControlPage.xaml
[2]CollectionViewViewModel
to manage the data and behavior of the CollectionView, including support for grouped items, reordering, and custom templates. (src/Controls/tests/TestCases.HostApp/FeatureMatrix/CollectionView/CollectionViewGrouping/CollectionViewViewModel.cs
src/Controls/tests/TestCases.HostApp/FeatureMatrix/CollectionView/CollectionViewGrouping/CollectionViewViewModel.csR1-R292)Code Enhancements:
CorePageView
to include a newGalleryPageFactory
for the CollectionView Feature Matrix. (src/Controls/tests/TestCases.HostApp/CoreViews/CorePageView.cs
src/Controls/tests/TestCases.HostApp/CoreViews/CorePageView.csR80)Issues Identified in Grouping Feature