Граф коммитов

14374 Коммитов

Автор SHA1 Сообщение Дата
Shane Neuville 118319c1ca
Only run delete if files exist (#20617)
* Only run delete if folders exist

* - fix
2024-02-16 11:23:06 +00:00
Matthew Leibowitz 37be10aad8
Add the multi-project template (#20365) 2024-02-15 22:21:05 +02:00
TJ Lambert ee32869faa
[iOS] Adjust Keyboard Scrolling for Sticky Headers and Fix Bottom Content Inset (#20562)
* got sticky header working

* add correct contentinset

* Add UITests

* remove comment
2024-02-15 10:24:32 -06:00
Manuel de la Pena 8769393c2a
[CI] Fix template to get it back to work with the megapipeline. (#20587)
* [CI] Fix template to get it back to work with the megapipeline.

The template has a parameter that allows to know the checkout location,
that allow use to reuse it in the megapiepline. The new step was added
ignoring that fact.

* Add checkout dir as requeste in the pr.
2024-02-15 16:20:48 +00:00
Stephane Delcroix 4a2d418db4
[XC] split warnings on ',' and ';' (#20578)
- fixes #20568
2024-02-15 17:10:08 +02:00
Javier Suárez b2f64f250f
[iOS] Fix gestures in Label Spans (#15544)
* Squashed commit of the following:

commit 694fba90b18d73375195203af1dfab72d105f860
Merge: b388f57f3a 1f21047a1e
Author: Javier Suárez <javiersuarezruiz@hotmail.com>
Date:   Mon Dec 4 12:03:39 2023 +0100

    Merge branch 'main' into fix-4734-ios

commit b388f57f3a907e98195407796f44de2c55170845
Author: Javier Suárez <javiersuarezruiz@hotmail.com>
Date:   Thu Nov 30 08:59:24 2023 +0100

    Updated tests

commit 89353df7cc8cef49cb1f94cc806669617bd7075f
Author: Javier Suárez <javiersuarezruiz@hotmail.com>
Date:   Wed Nov 29 17:29:14 2023 +0100

    Fix merge issue

commit 99db35e6fb32774c0257d47a726ba24cfd2a0b85
Merge: fdb71132e1 4a31ee1f34
Author: Javier Suárez <javiersuarezruiz@hotmail.com>
Date:   Tue Nov 28 13:50:36 2023 +0100

    Merge branch 'main' into fix-4734-ios

commit fdb71132e168c97bfaab656afcc6127ca63060e4
Merge: ad27d6e987 f6956cbdd1
Author: Javier Suárez <javiersuarezruiz@hotmail.com>
Date:   Fri Nov 3 09:08:01 2023 +0100

    Merge branch 'main' into fix-4734-ios

commit ad27d6e98756270eb4ae38557a8647a640b963a6
Merge: c87a842e67 783db2459c
Author: Javier Suárez <javiersuarezruiz@hotmail.com>
Date:   Wed Oct 25 14:07:27 2023 +0200

    Merge branch 'main' into fix-4734-ios

commit c87a842e675b8dea20c515a8ea089cd01cbabcda
Merge: a507d1e08d e25d3314fa
Author: Javier Suárez <javiersuarezruiz@hotmail.com>
Date:   Fri Oct 20 13:34:23 2023 +0200

    Merge branch 'main' into fix-4734-ios

commit a507d1e08df682ce0d7f0bfe12826623d191b7e5
Author: Javier Suárez <javiersuarezruiz@hotmail.com>
Date:   Wed Oct 18 17:13:11 2023 +0200

    Updated test

commit aa0f949b153a4c833749ebf8d4f7a90a3ceaf6d3
Merge: b12077e7ed 3bd8421581
Author: Javier Suárez <javiersuarezruiz@hotmail.com>
Date:   Wed Oct 18 13:25:01 2023 +0200

    Merge branch 'main' into fix-4734-ios

commit b12077e7ed0242435c55d333e746b4eb744f0f29
Merge: 8e454567d7 0f764ac98e
Author: Javier Suárez <javiersuarezruiz@hotmail.com>
Date:   Wed Oct 18 08:40:46 2023 +0200

    Merge branch 'main' into fix-4734-ios

commit 8e454567d7822a8c9a1f4028bcaaacfe0e42958f
Author: Javier Suárez <javiersuarezruiz@hotmail.com>
Date:   Fri Oct 6 11:47:49 2023 +0200

    Fix the test

commit 08176dcec512276ddff111f7f8f5c206e36cd4f2
Author: Javier Suárez <javiersuarezruiz@hotmail.com>
Date:   Thu Oct 5 12:30:35 2023 +0200

    Updated test

commit e7ed5719d0786a3888063aaac26d8141f972d162
Author: Javier Suárez <javiersuarezruiz@hotmail.com>
Date:   Wed Oct 4 14:20:15 2023 +0200

    Updated test

commit 93e80956c603c1b5241d8a323de11fb7981573fd
Merge: 1145f10b0a a05a5a7c29
Author: Javier Suárez <javiersuarezruiz@hotmail.com>
Date:   Wed Oct 4 13:52:29 2023 +0200

    Merge branch 'main' into fix-4734-ios

commit 1145f10b0ab1753a3a008c8bb25ea8d957cdf20a
Author: Javier Suárez <javiersuarezruiz@hotmail.com>
Date:   Fri Sep 29 11:46:28 2023 +0200

    Update src/Controls/tests/UITests/Tests/Issues/Issue3525.cs

    Co-authored-by: Gerald Versluis <gerald.versluis@microsoft.com>

commit 6f272d40ad95238e117bf10addd41bd131a56d0e
Author: Javier Suárez <javiersuarezruiz@hotmail.com>
Date:   Thu Sep 28 16:23:00 2023 +0200

    Changes in tests

commit 7c8d5338af025828a1b3500c73e51a94f674d274
Merge: b69cc28a8b 989539905f
Author: Javier Suárez <javiersuarezruiz@hotmail.com>
Date:   Wed Sep 27 10:51:18 2023 +0200

    Merge branch 'main' into fix-4734-ios

commit b69cc28a8b17ec3934da16ad2300b787ac7243de
Author: Shane Neuville <shneuvil@microsoft.com>
Date:   Sun Sep 17 10:41:12 2023 -0500

    - add span tests back

commit 3f4b36b40ebf2e4ad011e280dd3b94ec96289e29
Merge: c21fe9a12e fdbeb81aa9
Author: Shane Neuville (HE/HIM) <shneuvil@microsoft.com>
Date:   Sun Sep 17 10:34:32 2023 -0500

    Merge remote-tracking branch 'origin/main' into fix-4734-ios

commit c21fe9a12ec48b1e31ef4213a542773b5f41e3c0
Author: Javier Suárez <javiersuarezruiz@hotmail.com>
Date:   Wed Sep 13 15:55:22 2023 +0200

    Fix build errors

commit 0669553a588d00558de445a6693965be7c7b7376
Merge: fdf5296f1c aff9b34f69
Author: Javier Suárez <javiersuarezruiz@hotmail.com>
Date:   Tue Sep 12 13:02:14 2023 +0200

    Merge branch 'main' into fix-4734-ios

commit fdf5296f1cacc8836c4b27b4cf87643ff503018d
Merge: ee2cd4e09b ace9fe5e7d
Author: Javier Suárez <javiersuarezruiz@hotmail.com>
Date:   Fri Aug 18 09:02:59 2023 +0200

    Merge branch 'main' into fix-4734-ios

commit ee2cd4e09b78fb55b6524587a2a1bd106c6eca74
Author: Javier Suárez <javiersuarezruiz@hotmail.com>
Date:   Thu Aug 17 12:23:35 2023 +0200

    Remove unnecessary event in iOS MauiLabel

commit cd8098fb6538045056a6a56e2063d90d6c24d84c
Author: Javier Suárez <javiersuarezruiz@hotmail.com>
Date:   Thu Aug 17 12:13:20 2023 +0200

    Changes in test

commit 797872d8461dd52b28a336fcfd5b1df4d64c7950
Author: Javier Suárez <javiersuarezruiz@hotmail.com>
Date:   Thu Aug 17 12:12:46 2023 +0200

    Fix build error

commit 5c7ff39419231d4fc7ee1551d1f2c5afebe850ba
Author: Javier Suárez <javiersuarezruiz@hotmail.com>
Date:   Thu Aug 17 11:53:06 2023 +0200

    Added UI Test

commit deaf66d1173babaf940462fbd44c55094fac2c5d
Merge: b68a52dc46 34b481daba
Author: Javier Suárez <javiersuarezruiz@hotmail.com>
Date:   Thu Aug 17 09:57:08 2023 +0200

    Merge branch 'main' into fix-4734-ios

commit b68a52dc463a8098e7d739fde4ee5dae1e85813e
Merge: 48549772ac e6a4334ad3
Author: Javier Suárez <javiersuarezruiz@hotmail.com>
Date:   Thu Aug 3 15:44:30 2023 +0200

    Merge branch 'main' into fix-4734-ios

commit 48549772ac11e6c9a546210838241d83456ead9f
Merge: 74a8d7a9f2 f2410145ec
Author: Javier Suárez <javiersuarezruiz@hotmail.com>
Date:   Tue Jul 25 12:00:27 2023 +0200

    Merge branch 'main' into fix-4734-ios

commit 74a8d7a9f215cc5273ba71dc261b422cff49cfa8
Merge: b62d39d760 443d3a028b
Author: Javier Suárez <javiersuarezruiz@hotmail.com>
Date:   Tue Jul 18 11:49:35 2023 +0200

    Merge branch 'main' into fix-4734-ios

commit b62d39d7605b4967388348a6df70426d2ed503ad
Merge: 05b0495ff5 b9f64e153d
Author: Javier Suárez <javiersuarezruiz@hotmail.com>
Date:   Tue Jul 11 12:42:20 2023 +0200

    Merge branch 'main' into fix-4734-ios

commit 05b0495ff559fe2519e60bff20ce808fc8d9b9e4
Author: Javier Suárez <javiersuarezruiz@hotmail.com>
Date:   Thu Jul 6 12:16:43 2023 +0200

    Fix the build

commit b717d17fe1cc658c27b1c909d33efa8576fd7219
Merge: b1543a38f9 700944b2ac
Author: Javier Suárez <javiersuarezruiz@hotmail.com>
Date:   Wed Jul 5 09:12:33 2023 +0200

    Merge branch 'main' into fix-4734-ios

commit b1543a38f9665019bc55c8742f403c2396e4d6bb
Merge: d55348b1e5 db60162cc3
Author: Javier Suárez <javiersuarezruiz@hotmail.com>
Date:   Fri Jun 30 09:41:55 2023 +0200

    Merge branch 'main' into fix-4734-ios

commit d55348b1e5e14887c1bf2ba80882fb8594828bac
Author: Javier Suárez <javiersuarezruiz@hotmail.com>
Date:   Fri Jun 23 19:34:48 2023 +0200

    Fix broken tests

commit f48ca855fa4ad62cc3eb9f96d6bbb51fba9fa117
Merge: a725311439 3622625fd9
Author: Javier Suárez <javiersuarezruiz@hotmail.com>
Date:   Thu Jun 22 11:56:09 2023 +0200

    Merge branch 'main' into fix-4734-ios

commit a725311439fbfee6139d9dcaba04809a2cd48a44
Merge: 3d4326c091 b7afc3b1a6
Author: Javier Suárez <javiersuarezruiz@hotmail.com>
Date:   Wed Jun 14 12:00:53 2023 +0200

    Merge branch 'main' into fix-4734-ios

commit 3d4326c0918735691f3dfacf9347a0f9ccbd9597
Merge: e99fa671a9 233fa2f3dc
Author: Matthew Leibowitz <mattleibow@live.com>
Date:   Thu May 18 19:53:40 2023 +0800

    Merge remote-tracking branch 'origin/main' into fix-4734-ios

commit e99fa671a9b0e5249daff49b8d6d26a5fdbf27d2
Author: Javier Suárez <javiersuarezruiz@hotmail.com>
Date:   Wed May 10 10:11:43 2023 +0200

    More changes

commit 9c458948df715608afad8ef2961f0b57a9d92288
Author: Javier Suárez <javiersuarezruiz@hotmail.com>
Date:   Wed May 10 10:11:35 2023 +0200

    More changes

commit a0747e439d02006cb4b8af0fe458eea784abc158
Author: Javier Suárez <javiersuarezruiz@hotmail.com>
Date:   Wed May 10 10:01:00 2023 +0200

    Fix span gestures on iOS

Co-authored-by: Javier Suárez <javiersuarezruiz@hotmail.com>

* Removed duplicated test

* I think the span gestures look pretty good now

* Fix edge case with new line

* remove comment

* make RecalculateSpanPositions internal

---------

Co-authored-by: Matthew Leibowitz <mattleibow@live.com>
Co-authored-by: tj-devel709 <tj.devel709@gmail.com>
2024-02-14 23:35:31 -06:00
Jonathan Dick 1e3f24df06
Added text and link to suggest attaching binlog (#20599)
* Added text and link to suggest attaching binlog

* Remove extra / unintended line
2024-02-14 23:15:36 +02:00
Rui Marinho 63bffb3220
[testing] Ignore flacky tests on iOS17 (#20581)
* [tests] Ignore more keyboard tests

* [tests] Ignore Issue18751Test as image comparison fails

* Use Ignore attribute
2024-02-14 19:04:20 +00:00
Shane Neuville d749dc7795
Add SR2 to issue template (#20564) 2024-02-13 18:28:33 -06:00
Shane Neuville d87c18152f
Temporarily Remove Tests (#20536)
* Temporarily Remove Tests

* Update SwitchHandlerTests.cs
2024-02-13 09:08:05 -06:00
Bret Johnson 977642b689
Bump to latest VisualTestUtils (#20525)
This also includes a bump to the latest MagickNet,
with security related fixes.
2024-02-13 00:42:33 +00:00
Eric Erhardt b928bb7bf5
Remove allocation from Color.TryParse (#20446)
C# now allows for switching over a ReadOnlySpan<char>. Updating the code to no longer allocate a new string when trying to find the named color.
2024-02-13 00:37:27 +00:00
Pierre Galaup d9e1804edc
Fixed the problem on ANDROID 14 connectivity with the BroadcastReceiver where the ConnectivityChanged event was never triggered. (#19968)
Co-authored-by: Pierre Galaup <pierre.galaup@neovigie.com>
2024-02-13 00:36:06 +00:00
Emanuel Fernandez Dell'Oca c56f13b339
[Android] Make Flyout footer aware of header/content margin (#19303)
We were not considering the header and content positioning for the footer when the flyout view was a ScrollView and ViewGroup, but that's something we should always execute. The only extra thing we need to do in that case is set padding, as it was already explained in the code.

Also, re-enable the tests that were failing because of this.
2024-02-13 00:35:07 +00:00
dotnet-maestro[bot] 66be9c9b87
Update dependencies from https://github.com/dotnet/xharness build 20240212.1 (#20517)
Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit
 From Version 9.0.0-prerelease.24105.1 -> To Version 9.0.0-prerelease.24112.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2024-02-13 00:04:19 +00:00
Shane Neuville 5fa1771d19
[main] Update with release/8.0.1xx sr2 (#20520) 2024-02-12 17:53:05 -06:00
Artak cf0a96b03c
Remove non-supported tasks / actions in preparation for migration off of FabricBot (#20527)
Resource Management Service (FabricBot successor) has no support for the `noActivitySince` condition in Event Responder tasks.
Also, the `addReactionToIssue` is not supported.

I've confirmed with @samhouts and @Eilon that it's ok to exclude these tasks so that we can submit migration PRs soon.
2024-02-12 22:04:21 +00:00
Bret Johnson 7b07a834cc
Fix OnPlatform + Setter when no match for current platform (#17061)
* Fix OnPlatform + Setter when no match for current platform

When OnPlatforfm is used for a Setter value, and there's no match for the
current platform, fix so that the property isn't set (same behavior as Xamarin.Forms).
Previously, XamlC would report a "Missing Value For Setter" error when this happens
and non-compiled XAML would crash with an NRE. This PR contains fixes for both,
ensuring the XAML compiler doesn't show an error, then ensuring it doesn't crash
at runtime.

Fixes #12064

* Swtich to device tests for OnPlatform

* Remove test screenshot, no longer used
2024-02-12 19:20:02 +00:00
Edward Miller 49be7e39be
Optimize GetVisualTreeElementsWindowsInternal (#19984)
* add benchmark

* prevent multiple enumerations

---------

Co-authored-by: Edward Miller <symbiogenisis@outlook.com>
2024-02-12 16:51:52 +00:00
Shane Neuville 403fb6564a Merge branch 'release/8.0.1xx-sr2' into merge_sr
# Conflicts:
#	eng/pipelines/common/ui-tests-compatibility-steps.yml
#	eng/pipelines/common/ui-tests-steps.yml
2024-02-12 10:06:05 -06:00
Janus Weil 0e61f5ecc5
Devices.Sensors.Location: rework argument handling in constructors (issue #19389) (#19459)
* throw an exception if latitude is out of range
* longitude is a cyclic variable, so we project it into a defined range
* make all constructors behave the same way
  (and document the behaviour)
2024-02-12 15:44:56 +00:00
Vitek Karas 604c217d47
Removes dead code from type conversion (#19436)
The removed code would only run if `converter` was not null. But in that case the if on line 166 would match and it would return from the method. So the removed code can only be reached if `converter` is null.
2024-02-12 15:43:41 +00:00
borrmann 3047f1371a
Closes #20497 (#20498) 2024-02-12 15:42:39 +00:00
E.Z. Hart 2da0417099
Add benchmarking class for PropertyMapper extensions (#18660) 2024-02-12 15:37:29 +00:00
Ivan Povazan b3e50af372
[iOS][tests] NativeAOT: Do not treat warnings as errors in integration tests (#20471)
* Fix RunOniOS test

* Do not treat NativeAOT build warnings as errors - introduced with https://github.com/dotnet/runtime/pull/96567

---------

Co-authored-by: Simon Rozsival <simon@rozsival.com>
2024-02-12 15:32:22 +00:00
Stephane Delcroix aeba2ddf68
[X] Fix XamlCompilation of RD subclasses (#20463)
Fix an issue when compiling a non-direct descendant of RD

- fixes #19535
2024-02-12 13:04:05 +00:00
Shane Neuville a195e8da8f
Remove cleanup for CI Builds (#20395)
* Remove cleanup for CI Builds

* - added scripts

* Update ios.cake

* Update clean-bot.sh

* add clean bot to yaml

* - fix yml

* - fix yaml

* - try harder

* - chmod

* - update

* - chmod

* Update ios.cake

* - add grep logging

* - grep

* - logs

* Update device-tests-steps.yml

* Update clean-bot.sh

* Update device-tests-steps.yml

* - zip up logs

* - fix condition

* - params

* - test

* - fix

* - again

* - test

* - zippity

* - zip

* - fix condition

* - log dir

* - fix tabs

* - diag reports

* Try resetting simulators before test runs

* Fix cmdline arguments for reset-simulator command

---------

Co-authored-by: Ivan Povazan <ivan.povazan@gmail.com>
2024-02-12 12:47:38 +00:00
Filip Navara 170a7a9832
[iOS] Clear BindingContext when cell is queued for reuse (#14619)
* Clear BindingContext when cell is queued for reuse

This avoid holding references to objects that were already removed.

* Auto-format source code

* Update src/Controls/src/Core/PublicAPI/net-ios/PublicAPI.Unshipped.txt to list PrepareForReuse override.

* Empty commit

* Apply code review feedback

* Update public API for maccatalyst

* Add test that shows the fix is not fully working yet

* [iOS] Unbind TemplatedCell when it goes out of display and the bound item is no longer present in items source.

Extend the test to check rebinding after clearing the source.

* Relax the test to make it pass on Android.

* Update src/Controls/src/Core/Handlers/Items/iOS/ItemsViewDelegator.cs

Co-authored-by: Rui Marinho <me@ruimarinho.net>

* Use Equals to compare item list elements

* Auto-format source code

* PR feedback

---------

Co-authored-by: GitHub Actions Autoformatter <autoformat@example.com>
Co-authored-by: Rui Marinho <me@ruimarinho.net>
2024-02-12 11:12:20 +00:00
Shane Neuville b43f2650b9
Revert "Added appium UITest for FlyoutNavigationBetweenItemsWithNavigationStacks (#19444) Fixes #16675" (#20509)
This reverts commit 637adb53c4.
2024-02-12 01:56:54 +00:00
Matthew Leibowitz 2fbc285fe3
Update Cake (#20475)
* Update Cake

* Update android.cake
2024-02-11 22:06:09 +00:00
Shane Neuville cc360741eb
UI Test logs still aren't pushing to CI (#20485)
* UI Test logs still aren't pushing to CI

* Update ui-tests-compatibility-steps.yml
2024-02-11 12:07:03 -06:00
Rui Marinho 847a7af88e
[testing] Fix more iOS17 test (#20493)
* [testing] Update more screenshots for iOS17

* [testing] Ignoring EntryNextEditorTest for now
2024-02-10 14:46:34 +00:00
Matthew Leibowitz 459f54934d
Adding a test to validate loading images (#20147)
I noticed that in one of my PRs I loaded a lower res image and another test caught it. Adding these tests to ensure that at least we validate the on-screen image.
2024-02-10 08:27:27 +02:00
Rui Marinho db773d28e8
[ci] Fix CarouseltestPostion test for iOS17 (#20489)
* Update screenshot

* [tests] fix ignore position

* [ci] Back to our own pool for ios device tests
2024-02-10 02:41:09 +00:00
Shane Neuville 7a1884a1a9
Gather iOS device logs after running tests (#20458)
* Gather iOS device logs after running tests

* - remove guid generation

* - fix

* Apply suggestions from code review

* Apply suggestions from code review

* Apply suggestions from code review

* - fix logging pipeline

* - add time stamp

* - bash

---------

Co-authored-by: Matthew Leibowitz <mattleibow@live.com>
2024-02-09 18:18:47 -06:00
github-actions[bot] abcc7c3140
[release/8.0.1xx-sr2] Fix design time image converter (#20476)
* Fix idesign time converter

* Fix test regressions

---------

Co-authored-by: Evgeny Tvorun false <evgenyt@microsoft.com>
2024-02-10 01:41:51 +02:00
Rui Marinho 40649b6c30
[ci] Only run on 17.2 and latest 33 (#20455)
* [ci] Only run on 17.2 and latest 33

* Update screenshots for iPhoneXs

* [uitests] Run on API 30 on android

* Update more images

* Fix looking for simulators

* [testing] Fix test navigation when it fails

* [ci] Fix naming of task

* [testing] Update more testing screenshots
2024-02-09 23:09:16 +00:00
ET 3fdb6b0d3c
Fix design time image converter (#20374)
* Fix idesign time converter
* Fix test regressions
2024-02-09 21:47:12 +02:00
Niels van der Knaap 00ff9f7686
[iOS] Fixes carouselview layout on iOS (#20001)
* fixes carouselview layout on iOS

* Adds 'GetDesiredSize' also to the maccatalyst public API

* Refactor to expression body

* Add test case for issue #19657

* [Tests] Enable CarouselTest on iOS

* Revert "[Tests] Enable CarouselTest on iOS"

This reverts commit 4e0db6c559608e45aa0ae24a6a65a698d73553cb.

* Add image for test

---------

Co-authored-by: nielsvanderknaap <niels.vander.knaap@capgemini.com>
Co-authored-by: Rui Marinho <me@ruimarinho.net>
2024-02-09 21:29:34 +02:00
Jonathan Dick bbbbfe7bdd
Stop caching preferences instance (#20445)
It appears that reusing the shared preferences instance sometimes causes changes to not be properly committed to disk as the instance is not disposed in some cases before the app is torn down (eg: force close).

Caching isn't really necessary here anyways as the underlying android preference manager does its own layer of caching (so we are just paying the interop tax to get a 'new' instance here).

The simplest fix is to stop caching which is the real content of this change.  We don't cache in the regular preferences API where we use shared preferences and the issue does not seem to exist there.
2024-02-09 15:17:08 +00:00
Rui Marinho 5c29eaae29
Merge branch 'release/8.0.1xx-sr2' into `main` (#20456) 2024-02-09 11:14:09 +00:00
Shane Neuville 4074cc437b
Update HeaderFooterShellFlyout.cs 2024-02-08 18:24:30 -06:00
Shane Neuville a61662e35a Merge branch 'main' into merge_sr2
# Conflicts:
#	src/Compatibility/ControlGallery/src/Issues.Shared/HeaderFooterShellFlyout.cs
2024-02-08 16:44:46 -06:00
Rui Marinho 792f1f88e5
[ci] Don't AzurePipelines for uitest templates (#20436) 2024-02-08 22:21:53 +00:00
Rui Marinho ce80f53704
[iOS] Add iOS17 tests again (#19941)
* [iOS] Add iOS17 tests again

* Add visual test support for multiple devices for a single platform (#20256)

* Add visual test support for multiple devices for a single platform

Fixes: https://github.com/dotnet/maui/issues/20113

We need this immediately to be able to test both iOS 17.2 on iPhone 15
(the new default) while still testing iOS 16.2 on iPhone X (the old test device).
But this is general support that should meet our future needs as more devices
are added (at least that's the intention).

The comment below explains the scheme:

 /*
 Determine the environmentName, used as the directory name for visual testing snaphots. Here are the rules/conventions:
 - Names are lower case, no spaces.
 - By default, the name matches the platform (android, ios, windows, or mac).
 - Each platform has a default device (or set of devices) - if the snapshot matches the default no suffix is needed (e.g. just ios).
 - If tests are run on secondary devices that produce different snapshots, the device name is used as suffix (e.g. ios-iphonex).
 - If tests are run on secondary devices with multiple OS versions that produce different snapshots, both device name and os version are
   used as a suffix (e.g. ios-iphonex-16_4). We don't have any cases of this today but may eventually. The device name comes first here,
   before os version, because most visual testing differences come from different sceen size (a device thing), not OS version differences,
   but both can happen.
*/

* Rename ios -> ios-iphonex directory

The ios directory will be replaced with iPhone 15
generated images, as it's the new default.

* Update to include deviceName in error messages

* Remove the xharness suffix and update iOS test device names

* Set DeviceName for Android

* Fix cropping on iPhone 15

* Add iPhone 15 snapshots

* Ignore FlyoutHeaderWithZeroMarginShouldHaveNoY for now

* Fix device for 17

---------

Co-authored-by: Bret Johnson <bret.johnson@microsoft.com>
2024-02-08 22:21:03 +00:00
Shane Neuville 479d5f8292
Add opt out for Application Dispatcher resolution (#20447) 2024-02-08 15:18:42 -06:00
Stephane Delcroix 1dc2d46d70
[C] ColorTypeConverter include alpha if <1 (#20414)
- fixes #20411
2024-02-08 13:04:52 +00:00
Shane Neuville 08d0388fb4
Bring back some aspect of ConvertView on TableView and avoid AT_MOST Measure (#20130)
* Bring back some aspect of convertView on TableView

* Update TableViewRenderer.cs

* - add more tests

* - add comments fix double create of views

* - add extra disconnect code to GetCell

* - fix events
2024-02-07 17:59:51 -06:00
Rui Marinho 0da0a61a7e
[xharness] Add timeout (#20432) 2024-02-07 18:24:58 +00:00
Jakub Florkowski 1138b628d6
[iOS] Fixed Collection View header and footer update (#20210)
* Fixed Collection View header and footer update [iOS] (#19379)

* Added UITest

* Added pending snapshot

* [iOS] Correctly fix the CollectionView mappers hierarchy

---------

Co-authored-by: javiersuarezruiz@hotmail.com <javiersuarezruiz@hotmail.com>
Co-authored-by: Rui Marinho <me@ruimarinho.net>
2024-02-07 16:42:42 +00:00