Skip to content

[Testing] Feature Matrix UITest Cases for CollectionView Header/Footer Feature #28938

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

Merged

Conversation

LogishaSelvarajSF4525
Copy link
Contributor

Description

This PR includes a comprehensive set of UI test cases for the CollectionView control. The tests validate the Header/Footer feature functionality in CollectionView, including properties such as: Header, Footer, HeaderTemplate, FooterTemplate EmptyView, IsGrouped, GroupHeaderTemplate, GroupFooterTemplate, ItemsLayout, ItemTemplate, ItemsSource.

New feature matrix for CollectionView:

  • Added a new CollectionViewControlPage with a detailed layout and bindings for various CollectionView properties (ItemsSource, Header, Footer, etc.) (src/Controls/tests/TestCases.HostApp/FeatureMatrix/CollectionView/CollectionViewControlPage.xaml).
  • Implemented the code-behind for CollectionViewControlPage, including a method to navigate to an options page (src/Controls/tests/TestCases.HostApp/FeatureMatrix/CollectionView/CollectionViewControlPage.xaml.cs).
  • Added a new CollectionViewOptionsPage to allow users to configure CollectionView options such as header, footer, templates, and layout (src/Controls/tests/TestCases.HostApp/FeatureMatrix/CollectionView/CollectionViewOptionsPage.xaml).

Updates to existing files:

  • Updated CorePageView to include a new gallery page for the CollectionView feature matrix (src/Controls/tests/TestCases.HostApp/CoreViews/CorePageView.cs).

Header/Footer-Related Issues Identified in CollectionView

@dotnet-policy-service dotnet-policy-service bot added the community ✨ Community Contribution label Apr 11, 2025
Copy link
Contributor

Hey there @@LogishaSelvarajSF4525! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed.

@dotnet-policy-service dotnet-policy-service bot added the partner/syncfusion Issues / PR's with Syncfusion collaboration label Apr 11, 2025
@anandhan-rajagopal anandhan-rajagopal added the area-testing Unit tests, device tests label Apr 11, 2025
@LogishaSelvarajSF4525 LogishaSelvarajSF4525 marked this pull request as ready for review April 11, 2025 15:01
@Copilot Copilot bot review requested due to automatic review settings April 11, 2025 15:01
@LogishaSelvarajSF4525 LogishaSelvarajSF4525 requested a review from a team as a code owner April 11, 2025 15:01
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 6 out of 9 changed files in this pull request and generated no comments.

Files not reviewed (3)
  • src/Controls/tests/TestCases.HostApp/FeatureMatrix/CollectionView/CollectionViewControlPage.xaml: Language not supported
  • src/Controls/tests/TestCases.HostApp/FeatureMatrix/CollectionView/CollectionViewOptionsPage.xaml: Language not supported
  • src/Controls/tests/TestCases.HostApp/FeatureMatrix/CollectionView/HeaderFooterMainPage.xaml: Language not supported
Comments suppressed due to low confidence (1)

src/Controls/tests/TestCases.HostApp/FeatureMatrix/CollectionView/ColllectionViewViewModel.cs:1

  • The file name 'ColllectionViewViewModel.cs' appears to contain a typo with an extra 'l'. Consider renaming it to 'CollectionViewViewModel.cs' for consistency with the class name.
using System;

@LogishaSelvarajSF4525 LogishaSelvarajSF4525 marked this pull request as draft April 11, 2025 15:04
@PureWeen
Copy link
Member

/azp run MAUI-UITests-public

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@PureWeen PureWeen added this to the .NET 9 SR7 milestone Apr 13, 2025
@PureWeen PureWeen moved this from Todo to In Progress in MAUI SDK Ongoing Apr 13, 2025
@github-project-automation github-project-automation bot moved this from In Progress to Approved in MAUI SDK Ongoing Apr 14, 2025
@LogishaSelvarajSF4525 LogishaSelvarajSF4525 marked this pull request as ready for review April 14, 2025 06:50
@rmarinho
Copy link
Member

/azp run MAUI-public

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@PureWeen PureWeen changed the base branch from main to inflight/current April 14, 2025 13:27
@PureWeen PureWeen changed the base branch from inflight/current to inflight/candidate April 14, 2025 13:28
@PureWeen PureWeen merged commit ce792da into dotnet:inflight/candidate Apr 14, 2025
93 checks passed
@github-project-automation github-project-automation bot moved this from Approved to Done in MAUI SDK Ongoing Apr 14, 2025
github-actions bot pushed a commit that referenced this pull request Apr 14, 2025
…r Feature (#28938)

* Added feature tests for Header/Footer

* added test cases

* update the test cases

* update the changes

* modified

* updated the test cases

* update the changes

* update the changes

* updated the UI and Test cases

* Updated test cases

* add fails attributes

* updated

* modified changes

* updated changes

* renamed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-testing Unit tests, device tests community ✨ Community Contribution partner/syncfusion Issues / PR's with Syncfusion collaboration
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants