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

11 Коммитов

Автор SHA1 Сообщение Дата
MartyIX 5ff0613d52
[Windows] Make `WebView.CaptureAsync()` work (#23474) 2024-08-19 21:24:02 +08:00
Matthew Leibowitz 69fbd4fdd8
Add the embedding sample (#23647) 2024-07-19 17:11:28 +02: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
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
Marco Goertz 4fa29bc436
Restructured CodeBehindGenerator pipeline (#20524)
* - Restructured CodeBehindGenerator pipeline to maximize SourceGen cachability
- Split out CSS SourceGen, which does not depend on Compilation at all
- Added TrackingNames to support new SourceGen unit test project

Fixes Issue #12978 CodeBehindGenerator has improper pipeline
Fixes AB#1947659: `CodeBehindGenerator` has improper pipeline

* - Use file-scoped namespaces throughout PR
- Use raw string literals for SourceGen tests
2024-02-23 16:02:48 +00:00
Matthew Leibowitz 74c8c14695
Fix the incorrect manifest project name (#18488)
The project name should have the `.Manifest` suffix to indicate that it is the manifest.
The final package name is already correct as there was adjustment in the project to fix
it during the package process.
2023-11-03 10:19:24 +01:00
Scott Banning a597b9350c Only specify app path for Windows tests 2023-10-02 17:08:42 -07:00
Rui Marinho dec8b249fb
[uitests] Work for get appium uitests with CI (#14488)
* More stuff with query

* Update to Appium 2.0

* Cleanup

* Fix tests

* Add mac tests

* Multiple testcase

* Fixes for  windows

* Deploy as unpackaged app

* Fixes for run UITests on windows

* Cleanup and move to TestUtils projects for Appium and Xamarin.UITest

* Fix references

* Add to mac sln

* Fix sln

* Add uitest yaml

* Fix sln

* Update yml

* more fixes

* again powershell

* fix ident

* Add path and try call cake

* Fix

* Start background

* Start appium on the background

* Just run android for now

* try install app

* try again

* if it fails continue

* fix paths

* appium

* try again

* try again

* fix

* again

* try again

* location of samples

* build samples

* do not skip xcode

* more debug info

* Publish test results

* nUnit tests for now

* try any file

* no retry

* try vstest

* FIX PATH

* install more drivers

* usenuget when building samples

* Move to helpers

* Try run iOS tests

* try build both

* Add ALLTests

* Android folder

* fixes

* try again

* Fix path

* Cleanup android cake

* cleanup iOS cake

* add mac cake

* fix version

* try again

* try again

* upDATE TOOLS

* try again

* fix again

* again

* again

* again

* rollback xharness

* increase timeout

* run with dotnet path

* Fix dir

* Try again

* fix

* Fix

* build and then run tests

* fix platformVersion passed to APPIUM

* Don t do verbosity

* Log for appium

* Try 16.2

* Add platform to appium logs

* Fix

* Start test server

* Wait for server to start

* Fix typo

* Add windows cake

* Set uitests windows yaml

* provision on macos only

* Fix path for app windows

* Rename winui

* Try again

* Make sure to stop and dispose the server

* fix template

* Install windows driver too

* Better appium install drivers

* specify device

* Fix binlog android

* Run device tests in release

* Try no path

* Try with debug configuration

* try build samples just for that platform

* Release

* rename to match platform

* try cleanup

* Add mac uitests

* Build only for catalyst

* Add information

* Version mac

* Fix folder path

* Try build and run windows tests

* more stuff on install script

* Add retry for ios

* run always on xamarin pool

* Fix windows

* Allow to pass configuration to catalyst

* Add bindir info

* Try fix windows build

* Try set env variables before

* [Sample] Clean fields when tapping login button

* Take screenshot before querying text element

* Enable automationmode-without-authentication

* Try using action instead

* Use same machine pool as ios/android for mac

* Change entry to not get autocorrect pop-up and add delay before click

* Disable keyboard completion for catalyst runs

* Auto-format source code

* Update sln

* Fix csproj

* Add Sample UITests

* Fix yaml

* Use the new app uitest sandbox project

* Remove old code

* Cleanup

* Fix Android manifest

* Fix build for tizen

* Rename projects

* Some more renames

* Fix ios for PR's

* Update MainPageTests.cs

* Add to mac slnf

* Try more stuff for the mac

* Try run before

* don t set automation mode

* Try Xcode select and move to ventura

* Fix script

* Dont xcode select

* Bool and not string

* try old appium

* Fix version

* Can we skip provisioning

* We can't skip provisioning

* Dont provision on windows

* Update sln and packages

* Update node

* Configure the windows path to the exe

* Auto-format source code

---------

Co-authored-by: Scott Banning <scoban@microsoft.com>
Co-authored-by: GitHub Actions Autoformatter <autoformat@example.com>
2023-05-16 16:34:25 -05:00
Shane Neuville f7f31f8954
Create better helpers for attaching and fix Window (#14772)
* Create better helpers for attaching and fix Window

* - add a few more helpers into the basement

* - fix compile error on swipeview

* Auto-format source code

* - fix focus tests

* - move methods up

* - fix some left over code

---------

Co-authored-by: GitHub Actions Autoformatter <autoformat@example.com>
2023-04-26 21:02:06 +00:00
Matthew Leibowitz db74ff7411 SourceGen now supports internal duplicate types
Fixes #14158
2023-03-25 19:01:12 +02:00
Shane Neuville 474d332f31
Create development path without compatibility projects (#13660) 2023-03-15 11:33:41 +02:00