Skip to content

Conversation

@nivetha-nagalingam
Copy link
Contributor

@nivetha-nagalingam nivetha-nagalingam commented May 5, 2025

Description

As we plan to integrate CarouselView2 into the CI pipeline (PR #29283), this PR modifies the UI tests that are currently failing with CarouselView2 to use CarouselView1 instead. This approach ensures the test suite continues to run successfully while we track and resolve the issues related to CarouselView2 separately.

Changes

  • Modified failing tests to explicitly instantiate CarouselView1 instead of defaulting to CarouselView2
  • Created separate tracking issues for each test that needs fixing for CarouselView2

New Issues Created

All issues have been linked to the CarouselView2 epic: #28978

@dotnet-policy-service
Copy link
Contributor

Hey there @@nivetha-nagalingam! 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 community ✨ Community Contribution partner/syncfusion Issues / PR's with Syncfusion collaboration labels May 5, 2025
@nivetha-nagalingam nivetha-nagalingam added the area-testing Unit tests, device tests label May 5, 2025
@nivetha-nagalingam nivetha-nagalingam marked this pull request as ready for review May 5, 2025 07:43
Copilot AI review requested due to automatic review settings May 5, 2025 07:43
@nivetha-nagalingam nivetha-nagalingam requested a review from a team as a code owner May 5, 2025 07:43
Copy link
Contributor

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.

Pull Request Overview

This PR updates UI tests to instantiate CarouselView1 instead of CarouselView2 to ensure the test suite runs successfully while CarouselView2 issues are being tracked separately.

  • Updated two test files to use CarouselView1.
  • Added inline comments with references to the corresponding GitHub issues.

Reviewed Changes

Copilot reviewed 2 out of 7 changed files in this pull request and generated no comments.

File Description
src/Controls/tests/TestCases.HostApp/Issues/XFIssue/Issue7678_1.cs Replaced CarouselView with CarouselView1 and added a comment referencing issue #29310
src/Controls/tests/TestCases.HostApp/Issues/XFIssue/Issue7678.cs Replaced CarouselView with CarouselView1 and added a comment referencing issue #29310
Files not reviewed (5)
  • src/Controls/tests/TestCases.HostApp/Elements/CarouselViewCoreGalleryPage.xaml: Language not supported
  • src/Controls/tests/TestCases.HostApp/Issues/CarouselViewPositionVisibility.xaml: Language not supported
  • src/Controls/tests/TestCases.HostApp/Issues/CarouselViewUpdateCurrentItem.xaml: Language not supported
  • src/Controls/tests/TestCases.HostApp/Issues/CarouselViewUpdatePosition.xaml: Language not supported
  • src/Controls/tests/TestCases.HostApp/Issues/Issue25192.xaml: Language not supported
Comments suppressed due to low confidence (2)

src/Controls/tests/TestCases.HostApp/Issues/XFIssue/Issue7678_1.cs:33

  • Ensure that the updated test in this file is appropriately covered by a corresponding test in TestCases.Shared.Tests to validate CarouselView1 behavior.
var carouselView = new CarouselView1

src/Controls/tests/TestCases.HostApp/Issues/XFIssue/Issue7678.cs:32

  • Ensure that the updated test in this file is supported by a corresponding test case in TestCases.Shared.Tests to validate CarouselView1 behavior consistency.
var carouselView = new CarouselView1

@ghost ghost requested review from PureWeen and Copilot May 5, 2025 08:01
Copy link
Contributor

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.

Pull Request Overview

This PR updates failing UI tests by switching the instantiation from CarouselView2 to CarouselView1, ensuring that the test suite remains stable while the underlying issues with CarouselView2 are being tracked.

  • Modified tests in Issue7678_1.cs and Issue7678.cs to use CarouselView1 instead of CarouselView2
  • Added inline comments referencing the related tracking issue (#29310)

Reviewed Changes

Copilot reviewed 2 out of 7 changed files in this pull request and generated 2 comments.

File Description
src/Controls/tests/TestCases.HostApp/Issues/XFIssue/Issue7678_1.cs Updated CarouselView instantiation and added comment with issue reference
src/Controls/tests/TestCases.HostApp/Issues/XFIssue/Issue7678.cs Updated CarouselView instantiation and added comment with issue reference
Files not reviewed (5)
  • src/Controls/tests/TestCases.HostApp/Elements/CarouselViewCoreGalleryPage.xaml: Language not supported
  • src/Controls/tests/TestCases.HostApp/Issues/CarouselViewPositionVisibility.xaml: Language not supported
  • src/Controls/tests/TestCases.HostApp/Issues/CarouselViewUpdateCurrentItem.xaml: Language not supported
  • src/Controls/tests/TestCases.HostApp/Issues/CarouselViewUpdatePosition.xaml: Language not supported
  • src/Controls/tests/TestCases.HostApp/Issues/Issue25192.xaml: Language not supported

nivetha-nagalingam and others added 2 commits May 5, 2025 13:47
…1.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@PureWeen
Copy link
Member

PureWeen commented May 5, 2025

/azp run MAUI-UITests-public

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@github-project-automation github-project-automation bot moved this from Todo to Approved in MAUI SDK Ongoing May 6, 2025
@PureWeen PureWeen merged commit 4f0b3a4 into dotnet:main May 7, 2025
77 checks passed
@github-project-automation github-project-automation bot moved this from Approved to Done in MAUI SDK Ongoing May 7, 2025
SuthiYuvaraj pushed a commit to SuthiYuvaraj/maui that referenced this pull request May 9, 2025
…sample (dotnet#29315)

* Applied CV1 to all the failing test cases.

* Update src/Controls/tests/TestCases.HostApp/Issues/XFIssue/Issue7678_1.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/Controls/tests/TestCases.HostApp/Issues/XFIssue/Issue7678.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Addressed the feedback

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@github-actions github-actions bot locked and limited conversation to collaborators Jun 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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.

3 participants