Matthew Leibowitz
353f1a3064
Download using new APIs ( #25800 )
...
* Download using new APIs
mono is no longer found on machines
* fix
2024-11-12 22:47:08 -08:00
Shane Neuville
fad03e76d2
Setup lane to run CV2 and CV1 tests ( #25719 )
...
* Setup lane to run CV2 and CV1 tests
* - fix cake
* - fix args
* - fix
* - yaml
* - maybe
* - force CV2 for failing CV1 scenarios
* Update CarouselViewLoopNoFreeze.cs
* Update Issue12574.cs
* - force CV2
2024-11-11 09:47:31 -06:00
Rui Marinho
0fe75c39b5
[release/9.0.1xx] Build arcade net9 on GA branch ( #25336 )
...
* Work on UI tests
* Fix api scan
* Revert "Update windows samples" (#25059 )
This reverts commit 05fdf09fd6
.
* [net9] Try fix running UITests on iOS18 (#25070 )
* [housekeeping] Update & Consolidate Appium + driver versions (#24817 )
* Update appium + driver versions
Updating to latest
* Move appium versions to eng/Versions.props
* Fix ps1 get-location
* Check if appium is completely missing too
No need to attempt to uninstall appium if it's not installed
* - bump versions
* - fix script
---------
Co-authored-by: Shane Neuville <shneuvil@microsoft.com>
* Try iOS18 device
* See if this works
* Try xs
---------
Co-authored-by: Jonathan Dick <jodick@microsoft.com>
Co-authored-by: Shane Neuville <shneuvil@microsoft.com>
* Update latest stuff of arcade (#25086 )
* Remove Drag and Drop Tests from Catalyst (#25039 )
* try
* try again
* Try more build
* Fix snupkg
* try publish
* fix depends
* fix
* Fix signing
* Fix condition
* try without this
* Try install workloads
* add catalyst
* Try install .dotnet
* Skip install .net
* Nowarn
* Set java home
* try sign
* sign dll
* dix
* more variables
* try other
* fix
* Remove pool changes
* Fix path
* dotnet
* remvoe restore
* Again
* Try bump arcade
* TreatWarningsAsErrors
* will this work
* Try -warnAsError 0
* again
* extra nowarn
* Fix variable
* Fix _BuildOfficalId
* Fix signing
* Update arcade
* Don t push this
* Dont update build number
* Add back cake script
* Add nuget.config again
* Clean signing
* try these feeds
* less premissions
* Try this
* Try fix the bin folder
* Fix nuget config
* Use DotNetTempDirectory for the script
* Fix device tests
* Add missing variable
* We need this
* Try this
* try this
* Add public pipeline
* Fix cake
* Fix tool
* Fix device
* try workloads
* try fix test
* fix sign
* more quick
* needs t build
* Fix windows script
* Try workloads
* fix location
* fix
* Try with this
* try fix paths
* try this again
* try use the latest tooling
* Revert "try use the latest tooling"
This reverts commit 1b337f8b73
.
* Update variables.yml
* Update DotnetInternal.cs
* More fixes
* Update build-test-pack.yml
* Update latest arcade
* Remove package source mapping
* Update windows.cake
* Update windows.cake
* Update global.json
* Try _SkipUpdateBuildNumber
* again
* Update variables.yml
* Again
* Include this
* Update vsmanproj
* Nove to arcade ne9
* Dont build workloads
* Update global.json
* Update Versions.props
* Try rtm ios
* try windows again
* Fix folder for dotnet location
* Update windows.cake
* Update Compatibility.ControlGallery.WinUI.csproj
* [ci] Try skip install android stuff on handlers build (#25293 )
---------
Co-authored-by: Shane Neuville <shneuvil@microsoft.com>
Co-authored-by: Jonathan Dick <jodick@microsoft.com>
2024-10-17 11:51:18 +01:00
Rui Marinho
eb3ec76450
Merge branch 'main' into merge-main-net9
...
# Conflicts:
# eng/Version.Details.xml
# src/Core/src/Platform/iOS/KeyboardAutoManagerScroll.cs
2024-09-24 12:06:48 +01:00
Shane Neuville
a7e3ff808b
Add newer cmd linetools paths to cake ( #24828 )
2024-09-19 12:30:08 -04:00
Matthew Leibowitz
e43542007d
Merge branch 'main' into merge-main-into-net9-again
...
# Conflicts:
# eng/Version.Details.xml
# eng/Versions.props
# eng/devices/ios.cake
# src/Controls/src/Core/BindableObject.cs
# src/Controls/src/Core/Handlers/Items/CarouselViewHandler.Windows.cs
# src/Controls/src/Core/PublicAPI/net-android/PublicAPI.Unshipped.txt
# src/Controls/src/Core/PublicAPI/net-ios/PublicAPI.Unshipped.txt
# src/Controls/src/Core/PublicAPI/net-maccatalyst/PublicAPI.Unshipped.txt
# src/Controls/src/Core/PublicAPI/net-tizen/PublicAPI.Unshipped.txt
# src/Controls/src/Core/PublicAPI/net-windows/PublicAPI.Unshipped.txt
# src/Controls/src/Core/PublicAPI/net/PublicAPI.Unshipped.txt
# src/Controls/src/Core/PublicAPI/netstandard/PublicAPI.Unshipped.txt
# src/Controls/src/Xaml/PublicAPI/net-android/PublicAPI.Unshipped.txt
# src/Controls/src/Xaml/PublicAPI/net-ios/PublicAPI.Unshipped.txt
# src/Controls/src/Xaml/PublicAPI/net-maccatalyst/PublicAPI.Unshipped.txt
# src/Controls/src/Xaml/PublicAPI/net-tizen/PublicAPI.Unshipped.txt
# src/Controls/src/Xaml/PublicAPI/net-windows/PublicAPI.Unshipped.txt
# src/Controls/src/Xaml/PublicAPI/net/PublicAPI.Unshipped.txt
# src/Controls/src/Xaml/PublicAPI/netstandard/PublicAPI.Unshipped.txt
# src/Core/src/Handlers/Application/ApplicationHandler.Android.cs
# src/Core/src/Handlers/Application/ApplicationHandler.cs
# src/Core/src/Platform/iOS/LabelExtensions.cs
# src/Core/src/PublicAPI/net-android/PublicAPI.Unshipped.txt
# src/Core/src/PublicAPI/net-ios/PublicAPI.Unshipped.txt
# src/Core/src/PublicAPI/net-maccatalyst/PublicAPI.Unshipped.txt
# src/Core/src/PublicAPI/net-tizen/PublicAPI.Unshipped.txt
# src/Core/src/PublicAPI/net-windows/PublicAPI.Unshipped.txt
# src/Core/src/PublicAPI/net/PublicAPI.Unshipped.txt
# src/Core/src/PublicAPI/netstandard/PublicAPI.Unshipped.txt
# src/Core/src/PublicAPI/netstandard2.0/PublicAPI.Unshipped.txt
# src/Essentials/src/HapticFeedback/HapticFeedback.ios.cs
# src/Essentials/src/PublicAPI/net-android/PublicAPI.Unshipped.txt
# src/Essentials/src/PublicAPI/net-ios/PublicAPI.Unshipped.txt
# src/Essentials/src/PublicAPI/net-maccatalyst/PublicAPI.Unshipped.txt
# src/Essentials/src/PublicAPI/net-tizen/PublicAPI.Unshipped.txt
# src/Essentials/src/PublicAPI/net-windows/PublicAPI.Unshipped.txt
# src/Essentials/src/PublicAPI/net/PublicAPI.Unshipped.txt
# src/Essentials/src/PublicAPI/netstandard/PublicAPI.Unshipped.txt
# src/Essentials/src/WebAuthenticator/WebAuthenticator.ios.tvos.cs
2024-09-19 01:15:51 +08:00
Bret Johnson
566b8598ab
Improve Android device type check and improve UI Test cake scripts ( #24495 )
...
* Improve Android device type check to use screen size
For Android visual tests, they should be run with the right
device image (currently a Nexus 5X API 30). However,
there's no easy way to check the device type for Appium.
The check that was there before works on CI
since the DEVICE_SKIN environment variable is set there
(set by the android.cake script). And it can work locally if
folks run android.cake then launch VS from that console
session to get the env variable - but it doesn't work if VS
is run separately (normal case).
So update this with a different check. Getting the actual
Android device type requires using adb. We might eventually
do that, but for now just use a screen size check as a proxy
for the device type. Also update the failure message to give
good instructions.
* Add a "uitest-prepare" target to android.cake
uitest-prepare will build the test app, launch
the emulator, and deploy the test app. But
it won't actually run any tests.
* Validate that JAVA_HOME is set
Also display the Android image name
* Check Android device capabilties for a match
* Add uitest-prepare target for ios.cake to match android
2024-09-06 09:32:10 -05:00
Rui Marinho
88652454e0
[net9.0] Fix API23 Core device tests ( #24128 )
...
* - fix up for release on some device tests but not all yet
* - fix
* - options
* Update device-tests-steps.yml
* - try me
---------
Co-authored-by: Shane Neuville <shneuvil@microsoft.com>
2024-08-27 15:29:20 +01:00
Matthew Leibowitz
50037de4d9
Merge branch 'main' into merge-main-net9
...
# Conflicts:
# eng/pipelines/common/ui-tests-build-sample.yml
# src/Core/src/Core.csproj
2024-08-22 01:22:53 +08:00
Shane Neuville
0370361000
Fix cake scripts to work locally ( #24111 )
...
* Fix cake scripts to work locally
* - fix for windows
* - cleanup device retrieval
* - fix processSettings.RedirectedStandardOutputHandler
* Add build tasks
2024-08-16 08:15:01 -05:00
Matthew Leibowitz
6c527de29f
Merge remote-tracking branch 'origin/main' into merge-main-net9
...
# Conflicts:
# src/Controls/src/Core/BindableProperty.cs
2024-08-13 03:59:24 +08:00
Matthew Leibowitz
684033a6e6
Merge branch 'main' into dev/merge-main-net9
2024-08-12 21:00:12 +08:00
Matthew Leibowitz
9729b02c1a
Split template tests into parallel jobs ( #24080 )
2024-08-08 16:50:39 +08:00
Rui Marinho
c3bab5f8fb
Merge branch 'net9.0' into merge-main-net9
2024-07-23 19:48:27 +01:00
Šimon Rozsíval
a85362c7c8
[Binding SG] Dogfood binding source generator in the MAUI codebase ( #23393 )
...
* Use the SetBinding SG wherever possible in Controls Core
* Use the SetBinding SG wherever possible in Controls Core UnitTests
* Use the SetBinding SG wherever possible in Compatibility Core Android
* Add workaround for XamlPreCompile with interceptors for Windows builds
* Generate file-scoped attribute class in each generated source output
* Remove explicit restore and build targets in ExecuteBuildUITestApp
* Fix integration test
2024-07-23 17:28:21 +02:00
Shane Neuville
9dcd338922
Merge branch 'main' into merge-main-net9
...
# Conflicts:
# eng/pipelines/handlers.yml
# src/Controls/src/Core/Binding.cs
# src/Controls/src/Xaml/MarkupExtensions/BindingExtension.cs
# src/Controls/src/Xaml/XamlServiceProvider.cs
2024-07-22 17:12:01 -05:00
Shane Neuville
9251b38bd5
Fix iOS log exports ( #23334 )
...
* Fix ios Device Logging
* - fix up device test logging a bit more
* Update ui-tests-steps.yml
* Update ui-tests-steps.yml
* Update ios.cake
* Update ui-tests-steps.yml
* Update maui-templates.yml
* Update maui-templates.yml
2024-07-21 17:21:16 -05:00
Eilon Lipton
cf76a62902
HybridWebView control for integrating JS/HTML/CSS easily into a .NET MAUI app ( #22880 )
...
* Initial HybridWebView control to send messages between C# and .NET
Fixes #22302
2024-07-18 19:13:45 +02:00
Rui Marinho
fbb373f89f
Try build with rid
2024-07-11 13:08:34 +01:00
Rui Marinho
8081a8e151
Merge branch 'main' into merge-main-net9
...
# Conflicts:
# Microsoft.Maui-dev.sln
# Microsoft.Maui-vscode.sln
# Microsoft.Maui.sln
# eng/Versions.props
# eng/pipelines/common/ui-tests-steps.yml
# eng/pipelines/common/ui-tests.yml
# src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/IsInvokeRequiredRaceCondition.cs
# src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue10947.cs
# src/Core/src/PublicAPI/net-ios/PublicAPI.Unshipped.txt
2024-07-09 20:01:13 +01:00
Gerald Versluis
7785fea637
Run UI tests per groups of categories in CI ( #22609 )
...
* Run tests by category groups
* Some changes
* Fix
* Update ui-tests-compatibility-steps.yml
* No categories for compatibility project
* Update ui-tests-compatibility-steps.yml
2024-07-05 18:44:33 +00:00
Shane Neuville
6a0e5042f0
Merge branch 'main' into merge_main
...
# Conflicts:
# src/Controls/src/Core/PublicAPI/net-windows/PublicAPI.Unshipped.txt
# src/Controls/tests/TestCases.HostApp/Issues/Issue23029.xaml
# src/Controls/tests/TestCases.HostApp/Issues/Issue23029.xaml.cs
2024-06-29 16:39:34 -05:00
Matthew Leibowitz
e708567eb2
Renamed the project because macOS uses .app ( #23223 )
...
* Renamed the project because macOS uses .app
* And the folder
* merge first
* ns
2024-06-25 11:36:25 +02:00
Ivan Povazan
0e1a24bbe9
Do not overwrite RID when executing NativeAOT UI tests
2024-05-23 14:50:01 +02:00
Ivan Povazan
6d406564e4
Always specify RID when building iOS apps
2024-05-23 14:11:04 +02:00
Rui Marinho
9256dc1bd5
Update ios.cake
2024-05-21 22:05:09 +01:00
Rui Marinho
1a9b7692f2
Update ios.cake
2024-05-21 18:53:28 +01:00
Rui Marinho
87748c8219
Update ios.cake
2024-05-21 18:37:39 +01:00
Rui Marinho
da371f0c1f
Fix merge
2024-05-21 11:33:27 +01:00
Rui Marinho
db960d4947
Update ios.cake
2024-05-17 23:10:46 +01:00
Rui Marinho
f42bdc8a36
Merge branch 'main' into merge-main-net9
...
# Conflicts:
# src/Controls/tests/TestCases.Android.Tests/Controls.TestCases.Android.Tests.csproj
# src/TestUtils/src/DeviceTests.Runners/TestUtils.DeviceTests.Runners.csproj
2024-05-16 16:16:40 +01:00
Javier Suárez
2d769c4091
[Testing] Split up current appium tests into separate projects ( #21908 )
...
* Split up current appium tests into separate projects
* Updated samples sln
* More updates on slns
* More changes
* More fixes
* More changes
* More changes
* More changes
* More changes
* Trying to fix Windows project build
* not needed
* revert
* this
* undo
* this
* add it all back
* fixes
* eventually
* huh?
* this
* builds at least
* this
* ui tests
* this
* More changes
* Added uitest project by platform
* Remove IgnoreIfPlatforms
* Changes in the uitests yml
* Updated slnfs
* Fix format errors
* Added samples slnf
* Recover UITest single project
* Updated solutions
* Updated project references in uitests yml
* Added removed UITests comments
* Removed unnecesary changes
* Revert more unneccesary changes
* Fixed build error on macOS
* More changes
* Fix wrong namespace
* Fix deploy issues
* Fix wrong test app path
* Fixed test project paths
* Moved snapshots
* Fix merge issues
* Remove more IgnoreIfPlatforms methods
* Fix merge issue
* Fix build errors
* hmmm
* Maybe this?
* unifi
* Update Microsoft.Maui-vscode.sln
* Updated test
* More fixes
* More fixes
* Updated projects
* Update cake scripts
* More changes
* Fixes in project tests path
* More fixes
* Moved snapshots
* Updated snapshots tests used path
* More changes
* More pending changes
* Fixes the golden tests
* More changes in tests
* Renamed test projects
* More changes
* Updated test
* Fix build error
* More updates
* Renamed projects
* More changes
* Move more projects
* More changes
* Fixed build errors
* Fixed error on mac sln
* More changes
* Updated App path
* - move testcases app into tests folder
* - fix project references
* - add missing targets file
* - fix tizen manifest
* - additional props
* Updated UITesting md
* Updated Development md
* More docs updates
---------
Co-authored-by: Matthew Leibowitz <mattleibow@live.com>
Co-authored-by: Shane Neuville <shneuvil@microsoft.com>
2024-05-16 13:20:07 +02:00
Rui Marinho
dac317f739
Merge branch 'main' into merge-main-net9
...
# Conflicts:
# GitInfo.txt
# Microsoft.Maui.sln
# eng/Version.Details.xml
# eng/cake/dotnet.cake
# eng/devices/android.cake
# eng/devices/catalyst.cake
# eng/devices/devices-shared.cake
# eng/devices/ios.cake
# src/Controls/src/Core/PublicAPI/net-ios/PublicAPI.Unshipped.txt
# src/Controls/tests/UITests/UITest.cs
# src/Core/src/Platform/iOS/KeyboardAutoManagerScroll.cs
# src/Core/tests/UnitTests/Layouts/GridLayoutManagerTests.cs
# src/DotNet/DotNet.csproj
2024-05-16 11:21:31 +01:00
Rui Marinho
396f7f77aa
[ci] Move to arcade , remove GitInfo and Mono dependencies ( #21487 )
...
* try add internal
* needs missing paths
* [arcade] Add arcade files
* Try build with arcade
* Update internal
* try other pool
* Update default image for sdl
* try same pool for pack
* Update arcade release
* Remove gitinfo and update global.jso
* update nuget
* try again
* More updates
* Dont sign
* Fix package icon
* Update Controls.Build.Tasks.csproj
* Update Controls.Build.Tasks.csproj
* need set versions
* tre
* Use ArtifactsBinDir
* new binaries folder
* isShiping true
* more cleanup
* add post build
* fix
* try official
* try again
* DebugType to portable ?
* use one versions
* Add publish_build_assets
* again
* again
* Wrap on arcade job
* again
* use self
* again
* try again
* dupe
* remove dupes
* add Build Config
* More variables
* push
* Fix merge
* update to find the path
* Update scripts
* Add build config
* Update android scripts
* Remove more xunit versions
* Update xunit
* Update versions
* update more
* try this
* Fix versions
* Remove the test sdk by default
* Can this be false?
* No need to reference xunit.runner.visualstudio
* IsTestProject to false
* Fix more device tests paths
* Assembly should be 1.0
* Try fix msbuild tests
* Fix file version test
* Fix some culture tests
* try fix restore for next step
* Disable fileversion test
* Fix androidtests
* Fix android app finding
* Fix
* maybe this way it lauches
* Try compat
* Fix versions
* Fix image tests
* Try without this
* Fix build
* Update windows.cake
* Update windows.cake
* Update windows.cake
* Update provisioning.csx
* remove reference test sdk
* remove extra
* try fix compat uitests
* Fix build
* build control gallery uitest with dotnet test
* Remove nunit console
* Fix pushing test results for compat tests
* Set correct property msbuild props
* Update arcade
* Update Directory.Build.props
* Update Version.Details.xml
* Fix logs artifacts
* update source gen tests
* Use PackageIconFullPath so Arcade adds our file
* Remove file not used
* [ci] Push rollback for branch name
* Add Compatibility.UnitTests to sln
* Update dotnet.cake
* Update AssemblyInfoTests.cs
* Update pack.yml
* Remove extra files
* Update Microsoft.Maui.sln
* Update Microsoft.Maui-dev.sln
* Update pipeline
* Fix internal
* Try new catalyst cleanup
* Update catalyst
* Update iOS cake
* Fix Cg-gallery on iOS
* try again
* Refactor android cake
* Fix catalyst not finding the app
* Make sure to handle results all platforms
* Fix naming and test results
---------
Co-authored-by: Rui Marinho <ruimarinho@MSFT-M3-PRO.ihome>
Co-authored-by: Matthew Leibowitz <mattleibow@live.com>
2024-05-07 13:49:39 +01:00
Gerald Versluis
b591e59244
[net9.0] [testing] Enable Windows UITests back ( #20727 ) and make sure Android works too ( #21636 )
...
* Revert "Revert "[net9.0] [testing] Enable Windows UITests back (#20727 )" (#21…"
This reverts commit 7aa9bf0fe0
.
* Also make Android work
* Add error message extraction
* Update Compatibility.ControlGallery.Android.csproj
* Upload tested apk to artifacts
* Revert "Update Compatibility.ControlGallery.Android.csproj"
This reverts commit 164af8b8cc
.
* Update dotnet.cake
* Revert "Update dotnet.cake"
This reverts commit bc76cd15a9
.
* Enable _FastDeploymentDiagnosticLogging
* Revert "Enable _FastDeploymentDiagnosticLogging"
This reverts commit 91574f34c4
.
2024-04-09 11:56:58 +01:00
Rui Marinho
7aa9bf0fe0
Revert "[net9.0] [testing] Enable Windows UITests back ( #20727 )" ( #21560 )
...
This reverts commit 75bf6b591b
.
2024-04-03 12:23:08 +01:00
Rui Marinho
75bf6b591b
[net9.0] [testing] Enable Windows UITests back ( #20727 )
...
* [testing] Enable Windows UITests back
* Update dotnet.cake
* Update dotnet.cake
* Update dotnet.cake
* Update dotnet.cake
* Update dotnet.cake
* Update windows.cake
---------
Co-authored-by: Gerald Versluis <gerald.versluis@microsoft.com>
2024-03-28 17:24:37 +00:00
Rui Marinho
783f5acb47
Merge branch 'main' into merge-net9-main
...
# Conflicts:
# GitInfo.txt
# eng/Version.Details.xml
2024-03-12 12:31:19 +00:00
Shane Neuville
51cabfd400
Disable auto updating on device and better prepare logcat ( #20732 )
...
* Disable updated and setup logcat for tests
* - move shell commands to more generic spot
* Update android.cake
* - add test filter as arg
* Update android.cake
* - try removing play store
* Update android.cake
* - formalize retries a bit
* - fix
* Update android.cake
* Update android.cake
2024-03-06 13:22:58 -06:00
Matthew Leibowitz
0de4f22793
Add the trailing .0 to all the things ( #20792 )
...
This is just to be consistent and avoid a potential issue I saw when
testing the potential Win2D update. I am not sure why this is needed,
but appears to sometimes be needed in net7.0 scenarios.
2024-02-23 15:59:11 +00:00
Ivan Povazan
4048556ca7
[Testing] NativeAOT: Stand up UI testing on iOS platforms ( #20541 )
...
* Adding ability to build and run Controls.Sample.UITests with NativeAOT
* Properly set runtime identifier when creating the app bundle
* Disabling failing UI tests
* Merge fix and PR feedback
* Do not build or run Issue UI tests with NativeAOT
---------
Co-authored-by: Rui Marinho <me@ruimarinho.net>
2024-02-21 16:59:43 +00:00
Shane Neuville
81d2d34e7d
Merge branch 'main' into net9.0
...
# Conflicts:
# eng/Version.Details.xml
2024-02-13 10:37:05 -06: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
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
Matthew Leibowitz
2fbc285fe3
Update Cake ( #20475 )
...
* Update Cake
* Update android.cake
2024-02-11 22:06:09 +00:00
Rui Marinho
c4f3c80f71
Merge branch 'main' into net9-with-main
...
# Conflicts:
# GitInfo.txt
# eng/Version.Details.xml
# eng/pipelines/handlers.yml
# src/Core/src/Fonts/EmbeddedFontLoader.iOS.cs
2024-02-09 23:16:20 +00: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
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
Rui Marinho
0da0a61a7e
[xharness] Add timeout ( #20432 )
2024-02-07 18:24:58 +00:00
Rui Marinho
d84620d955
Update catalyst.cake
2024-02-06 12:28:15 +00:00