-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Testing] Feature Matrix UITest Cases for CollectionView ItemsSource Feature #29322
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 ItemsSource Feature #29322
Conversation
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 new pages to verify and configure the CollectionView ItemsSource feature. The key changes include renaming and aligning test class names, adding new UI pages for ItemsSource options and actions, and implementing test logic for item management in CollectionView.
Reviewed Changes
Copilot reviewed 20 out of 23 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/CollectionView_GroupingFeatureTests.cs | Renaming test class for clarity and consistency with the file name. |
| src/Controls/tests/TestCases.HostApp/FeatureMatrix/CollectionView/ItemsSource/ItemsSourceOptionsPage.xaml.cs | New page for configuring ItemsSource options with radio button inputs. |
| src/Controls/tests/TestCases.HostApp/FeatureMatrix/CollectionView/ItemsSource/CollectionViewItemsSourcePage.xaml.cs | New page implementing item addition/removal and selection handling for CollectionView. |
| src/Controls/tests/TestCases.HostApp/FeatureMatrix/CollectionView/CollectionViewFeaturePage.xaml.cs | Updated navigation to include the new ItemsSource page. |
Files not reviewed (3)
- src/Controls/tests/TestCases.HostApp/FeatureMatrix/CollectionView/CollectionViewFeaturePage.xaml: Language not supported
- src/Controls/tests/TestCases.HostApp/FeatureMatrix/CollectionView/ItemsSource/CollectionViewItemsSourcePage.xaml: Language not supported
- src/Controls/tests/TestCases.HostApp/FeatureMatrix/CollectionView/ItemsSource/ItemsSourceOptionsPage.xaml: Language not supported
...Cases.HostApp/FeatureMatrix/CollectionView/ItemsSource/CollectionViewItemsSourcePage.xaml.cs
Outdated
Show resolved
Hide resolved
|
/azp run MAUI-UITests-public |
|
Azure Pipelines successfully started running 1 pipeline(s). |
jsuarezruiz
left a comment
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.
There are some build errors:
C:\a\_work\1\s\src\Controls\tests\TestCases.HostApp\FeatureMatrix\CollectionView\ItemsSource\CollectionViewItemsSourcePage.xaml.cs(95,53): error CS0117: 'ItemsSourceType' does not contain a definition for 'ObservableCollectionStringT' [C:\a\_work\1\s\src\Controls\tests\TestCases.HostApp\Controls.TestCases.HostApp.csproj::TargetFramework=net9.0-windows10.0.20348.0]
C:\a\_work\1\s\src\Controls\tests\TestCases.HostApp\FeatureMatrix\CollectionView\ItemsSource\CollectionViewItemsSourcePage.xaml.cs(95,53): error CS0117: 'ItemsSourceType' does not contain a definition for 'ObservableCollectionStringT' [C:\a\_work\1\s\src\Controls\tests\TestCases.HostApp\Controls.TestCases.HostApp.csproj::TargetFramework=net9.0-windows10.0.19041.0]
22 Warning(s)
2 Error(s)
Could you fix it?
@jsuarezruiz I have resolved the build errors and committed the changes. |
|
/azp run MAUI-UITests-public |
|
Azure Pipelines successfully started running 1 pipeline(s). |
3f2e177 to
17c5e3c
Compare
|
/azp run MAUI-UITests-public |
|
Azure Pipelines successfully started running 1 pipeline(s). |
ee3c5fd to
4db2e96
Compare
|
/azp run MAUI-UITests-public |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
@LogishaSelvarajSF4525 Could you rebase and fix the conflicts? |
a86aa75 to
9ce3673
Compare
@jsuarezruiz I have resolved conflicts. |
…iew/ItemsSource/CollectionViewItemsSourcePage.xaml.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
9ce3673 to
e7a906f
Compare
|
/azp run MAUI-UITests-public |
|
Azure Pipelines successfully started running 1 pipeline(s). |
…Feature (#29322) * added ItemsSource feature Tests * modified changes * updated changes * Update src/Controls/tests/TestCases.HostApp/FeatureMatrix/CollectionView/ItemsSource/CollectionViewItemsSourcePage.xaml.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * modified changes * added snapshots * modified changes * modified changes * modified changes --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…Feature (#29322) * added ItemsSource feature Tests * modified changes * updated changes * Update src/Controls/tests/TestCases.HostApp/FeatureMatrix/CollectionView/ItemsSource/CollectionViewItemsSourcePage.xaml.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * modified changes * added snapshots * modified changes * modified changes * modified changes --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…Feature (#29322) * added ItemsSource feature Tests * modified changes * updated changes * Update src/Controls/tests/TestCases.HostApp/FeatureMatrix/CollectionView/ItemsSource/CollectionViewItemsSourcePage.xaml.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * modified changes * added snapshots * modified changes * modified changes * modified changes --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…Feature (#29322) * added ItemsSource feature Tests * modified changes * updated changes * Update src/Controls/tests/TestCases.HostApp/FeatureMatrix/CollectionView/ItemsSource/CollectionViewItemsSourcePage.xaml.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * modified changes * added snapshots * modified changes * modified changes * modified changes --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…Feature (#29322) * added ItemsSource feature Tests * modified changes * updated changes * Update src/Controls/tests/TestCases.HostApp/FeatureMatrix/CollectionView/ItemsSource/CollectionViewItemsSourcePage.xaml.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * modified changes * added snapshots * modified changes * modified changes * modified changes --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…Feature (#29322) * added ItemsSource feature Tests * modified changes * updated changes * Update src/Controls/tests/TestCases.HostApp/FeatureMatrix/CollectionView/ItemsSource/CollectionViewItemsSourcePage.xaml.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * modified changes * added snapshots * modified changes * modified changes * modified changes --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…Feature (#29322) * added ItemsSource feature Tests * modified changes * updated changes * Update src/Controls/tests/TestCases.HostApp/FeatureMatrix/CollectionView/ItemsSource/CollectionViewItemsSourcePage.xaml.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * modified changes * added snapshots * modified changes * modified changes * modified changes --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…Feature (#29322) * added ItemsSource feature Tests * modified changes * updated changes * Update src/Controls/tests/TestCases.HostApp/FeatureMatrix/CollectionView/ItemsSource/CollectionViewItemsSourcePage.xaml.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * modified changes * added snapshots * modified changes * modified changes * modified changes --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
For more information about inflight process check https://github.com/dotnet/maui/wiki/Inflight-Branch-Process # .NET MAUI Release Notes - inflight/candidate Branch ## MAUI Product Fixes * [iOS] Fix SwipeView programmatic open when background color is set by @Shalini-Ashokan in #29765 * [iOS] FormattedText with text color causes stack overflow - fix by @kubaflo in #29874 * [iOS] Fix AdaptiveTrigger not working as expected by @jsuarezruiz in #20987 * [iOS] Fix for Flyout title is not broken over multiple lines when you rotate your screen by @BagavathiPerumal in #29171 * [Windows] Fix for Assigning null to the SelectedItem of the CollectionView in the SelectionChanged event does not clear the selection by @SyedAbdulAzeemSF4852 in #29288 * Fix TapCoordinates method in Catalyst by @jsuarezruiz in #29775 * Fixed ItemSpacing on CarouselView resizes items [Android] by @Dhivya-SF4094 in #29796 * Perf : ButtonContentTypeConverter now using InvariantCulture to parse double by @antoine-jonathan in #25393 * ToolbarItem behavior with ImageSource iOS - fix by @kubaflo in #28833 * [Android] Fixed Button Shadow Color Transparency Not Applied Correctly by @NanthiniMahalingam in #29371 * Don't call NSAttributedString with HTML from a background thread by @kubaflo in #26153 * [Windows] Implemented the Resize and Downsize functions in the W2DImage class by @HarishwaranVijayakumar in #29138 * Templated indicator view - improvements by @kubaflo in #25642 * Update Issue25946.xaml by @anandhan-rajagopal in #30025 ## Testing * Fixed Test case failure in PR 26153 - iOS by @kubaflo in #29906 * Fixed Test case failure in PR 25642 - snapshots by @kubaflo in #29881 * [Testing] Feature Matrix UITest Cases for RadioButton by @TamilarasanSF4853 in #29744 * [Testing] Feature Matrix UITest Cases for CollectionView ItemsSource Feature by @LogishaSelvarajSF4525 in #29322 * [Testing] Feature Matrix UITest Cases for Stepper by @nivetha-nagalingam in #29731 * [Testing] Feature Matrix UITest Cases for CheckBox Control by @anandhan-rajagopal in #29739 * Update the comment for the test properties by @mattleibow in #27306 ## Dependency Updates * No changes in this category ## Docs * No changes in this category ## Housekeeping * [create-pull-request] automated change by @github-actions[bot] in #29875 * [create-pull-request] automated change by @github-actions[bot] in #29792 * [create-pull-request] automated change by @github-actions[bot] in #29760 **Full Changelog**: origin/main...origin/inflight/candidate
…Feature (#29322) * added ItemsSource feature Tests * modified changes * updated changes * Update src/Controls/tests/TestCases.HostApp/FeatureMatrix/CollectionView/ItemsSource/CollectionViewItemsSourcePage.xaml.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * modified changes * added snapshots * modified changes * modified changes * modified changes --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This PR includes a comprehensive set of UI test cases for the CollectionView control. The tests validate the ItemsSource feature functionality in CollectionView, including properties such as: Add Items, Remove Items, PreSelection, CurrentSelection, ItemsSource.
New Features and Pages:
These changes significantly enhance the flexibility and functionality of CollectionView by allowing developers to dynamically manage and configure ItemsSource behaviors.