KEMBAR78
Update Test HostApp to not use TableView by jsuarezruiz · Pull Request #28830 · dotnet/maui · GitHub
Skip to content

Conversation

@jsuarezruiz
Copy link
Contributor

@jsuarezruiz jsuarezruiz commented Apr 7, 2025

Description of Change

Update Test HostApp to not use TableView and use CollectionView instead.

image
image

Issues Fixed

Related with #28698

@jsuarezruiz jsuarezruiz added area-controls-collectionview CollectionView, CarouselView, IndicatorView area-testing Unit tests, device tests area-controls-listview ListView and TableView labels Apr 7, 2025
@Copilot Copilot AI review requested due to automatic review settings April 7, 2025 13:46
@jsuarezruiz jsuarezruiz requested a review from a team as a code owner April 7, 2025 13:46
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.

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

Comments suppressed due to low confidence (2)

src/Controls/tests/TestCases.HostApp/TestCases.cs:294

  • Consider adding a type-check or null-check for grid.BindingContext before casting to IssueModel to prevent potential runtime errors if the BindingContext is not as expected.
var issueModel = (IssueModel)grid.BindingContext;

src/Controls/tests/TestCases.HostApp/TestCases.cs:279

  • Ensure that the new CollectionView item template is adequately covered by automated tests in both TestCases.HostApp and TestCases.Shared.Tests to validate its behavior and layout.
ItemTemplate = new DataTemplate(() => {

@jsuarezruiz
Copy link
Contributor Author

Related with #28327

Copy link
Member

@PureWeen PureWeen left a comment

Choose a reason for hiding this comment

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

I think we should still target main with this one (or the testflight branch)

If net10 and net9 runners start falling out of sync that's going to probably be hard to maintain down the road

@rmarinho
Copy link
Member

rmarinho commented Apr 8, 2025

yeah I agree, we want to have this on main so it s in sync when we merge main to net10

@jsuarezruiz jsuarezruiz changed the base branch from net10.0 to main April 9, 2025 05:57
@jsuarezruiz jsuarezruiz requested review from a team and tj-devel709 as code owners April 9, 2025 05:57
@jsuarezruiz jsuarezruiz changed the base branch from main to net10.0 April 9, 2025 05:58
@jsuarezruiz jsuarezruiz changed the base branch from net10.0 to main April 10, 2025 14:45
@jsuarezruiz
Copy link
Contributor Author

Retarget to main.

@jsuarezruiz jsuarezruiz requested a review from PureWeen April 10, 2025 14:47
@rmarinho rmarinho moved this from Todo to Approved in MAUI SDK Ongoing May 19, 2025
@jsuarezruiz jsuarezruiz enabled auto-merge (squash) May 19, 2025 12:02
@rmarinho rmarinho disabled auto-merge June 13, 2025 11:59
@rmarinho rmarinho merged commit bc16a06 into main Jun 13, 2025
128 checks passed
@rmarinho rmarinho deleted the fix-28698 branch June 13, 2025 11:59
@github-project-automation github-project-automation bot moved this from Approved to Done in MAUI SDK Ongoing Jun 13, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-controls-collectionview CollectionView, CarouselView, IndicatorView area-controls-listview ListView and TableView area-testing Unit tests, device tests

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants