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

48 Коммитов

Автор SHA1 Сообщение Дата
Rui Marinho 29bd4ca64a
[UITest] Update to Xamarin.UITests 2.2.4 2018-05-03 15:20:47 +01:00
Rui Marinho 05b69eba69
[UITest] Update packages (#1892) 2018-02-15 22:23:50 +00:00
Samantha Houts c18e85ee43 [Internal] Basic performance testing and monitoring (#1329)
* [Core] Extract Performance class to Performance Provider

* [iOS] Add instrumentation

* [Android] Update instrumentation

* [Controls] Add perf gallery

* Update docs

* Get build number from txt file

* Remove unnecessary .bat
2018-01-31 18:09:15 +00:00
E.Z. Hart db00192b7d
Add delay between scrollTo commands in 40704 test 2017-12-27 14:06:23 -07:00
Rui Marinho b74d545fc1
[All] Move to netstandard2.0 **Breaking change** (#1306)
* Move to netstandard 2.0

* Fix docs

* Small fixes
2017-11-29 17:37:06 +00:00
Rui Marinho b3a0e1f14f
[UITest] Update UITest package to 2.2.1.1670-dev (#1273) 2017-11-15 10:26:41 +00:00
Rui Marinho 6b9a0c05e2 [UITest] Update packages to 0.21.2 2017-11-10 14:38:49 +00:00
Rui Marinho 2d78972268
[UITest] Try dev uitest for api25 fixes (#1242)
* [UITest] Try dev uitest for api25 fixes

* [Controls] Fix some rounding issues for UITests

* [UITest] Update to Xamarin.UITest 2.2.0 stable

* [UITests] Remove Private so dll is copied
2017-11-03 10:48:58 +00:00
Stephane Delcroix c0e89187bb [Test] Make sure we always test with different Cultures (#1219)
also get rid of the 'Turkey' build configuration
2017-10-24 10:41:33 +02:00
Rui Marinho cc47809a2b [Packages] Update UITest and consolidate packages (#1201)
* [Packages] Update UITest and consolidate packages

* [Controls] Remove old packages

* [UITest] Try fix UITests iOS11

* [UITests] Use back instead of custom class
2017-10-18 18:04:03 +01:00
Rui Marinho ec638b8604 [UITests] Update uitest dev packages ios11 (#1145)
* [UITests] Update uitest dev packages ios11

* [UITest] Update UITest 2.1.2

* Update Xamarin.Forms.ControlGallery.iOS.csproj
2017-09-21 23:55:41 +01:00
E.Z. Hart 3896c1a7bf [Internal] Stopgap support for running UI Tests on UWP Desktop (#1067)
* First stab at getting UWP app tests running

* Implement a couple more methods (we can get all the way through the first test now)

* Add reset button to UWP Control Gallery; implement WaitForElement

* First pass at WaitForNoElement

* Make layouts available for automation queries; implement Tap(marked)

* Implement some of the keyboard methods

* Checkpoint

* Checkpoint

* More refactoring

* Forgot to save project file

* Put infrastructure for property queries in place

* Fix query parsing bug, add condition for text: query

* Implement Back(); add automation peers to Page and Label

* Implement TapCoordinates

* Fix dismiss button and make test text correct

* Fix incorrect AppRect conversion; add offsets to TapCoordinates

* Better reset

* Fill in missing 'DismissKeyboard' implementation

* Make layout renderers take up space even if they have no children

* Add ability to find TextBoxes by text contents

* DoubleTap
2017-09-19 22:18:24 +01:00
Rui Marinho 0314360850 [UITests] Update packages, fix failing test (#1140)
* [Nuget] Update UITest packages

* [UITest] Fix failing tests by scrolling to results first

* [PagesGallery] Remove iOS7 storyboard

* Revert "[UITest] Fix failing tests by scrolling to results first"

This reverts commit 54eba70cf04d155998c1436e1320e02984864bca.

* [Controls] Move results labels on 51773 to the top
2017-09-14 22:26:02 +01:00
Rui Marinho cc48d3c7f9 [UITest] Fix FastRenderer test for iOS (#1102)
* [UITest] Fix FastRenderer test for iOS

* [UITests] Update uitest packages and make test only run on android

* [UITests] Update more UITests packages
2017-08-17 10:57:58 +01:00
E.Z. Hart c066aa8971 Moving to version 2.0.9 of Xamarin.UITest (#937) 2017-05-26 11:52:39 +01:00
Rui Marinho 2be80a55a5 [UITests]Add Xamarin.Forms.Core.UITests.Shared (#711)
* [UITests]Add Xamarin.Forms.Core.UITests.Shared

* fix

* [UITests]Use shared UITest project on macOS

* [UITests] Add correct platform queries

* [Controls] Add missing Preserve
2017-03-23 11:03:48 +00:00
Rui Marinho 0b7623b5e6 [MacOS] Fixes to ToolbarItems (#728)
* [MacOS] Support toolbar item property changes

* [UITest,MacOS] Support query by button hardcoded

* [UITests] Add and fix more toolbar tests
2017-01-30 12:29:27 +00:00
Rui Marinho 004197380a Add MacOS gallery and UITest (#721)
* [MacOS] Cleanup

* [Controls] Add Header support to ListView

* [MacOS] NSView reuse on NSTableView

* [MacOS] Some fix on layour order

* [MacOS] Add CarouselPageRenderer

* [MacOS] Implement EventTracker on PageRenderer

* [MacOS] Cleanup CarouselPageRenderer

* [MacOS] Add MasterDetailPage renderer

* [MacOS] MDP renderer don't allow drag of splitter

* [MacOS] Add TabbedPage renderer

* [MacOS] Initial sketch of NavigationPageRenderer

* [MacOS] Send disappearing of CurrentPage on Dispose on NavigationPageRenderer

* [MacOS] Add Gallery page for Mac

* [MacOS] Add MacOSExpressionSearch

* [MacOS] Fix ColorExtension

* [MacOS] Fix MDP renderer layout

* [MacOS] Implement native selection on ListViewRenderer

* [MacOS] Deselect a item on NSTableView

* [MacOS] Remove previous SplitViewItems

* [MacOS] Fix navigationpage height

* [MacOS] Add toolbar for NavigationPageRenderer

* [MacOS] Don't remove selection for now (crashing)

* [MacOS] Refactor page and back button title on NavigationPageRenderer

* [MacOS] Fix bug when native navigate back

* [MacOS] Hide layer when transition

* [MacOS] ListviewRenderer fix BbackgroundColor

* [MacOS] Fix background on ScrollViewRenderer

* [MacOS] Fix header measure on ListViewRenderer

* [MacOS] Add Mac twitter demo

* [Controls] Spaces for easy reading

* [MacOS] More xaml cleanup

* [Core] Add Mac as aTargetPlatform

* [MacOS] Add alerts and actionsheets

* [MacOS] Add GestureRecognizers

* [MacOS] Fix Layout issues when adding children, enable transformations

* [MacOS] Fix title on tab item, move to tabbed navigation based on segmented control

* [MacOS] Hide toolbar when not needed, this allows to work with tabbed page, cleanup

* [MacOS] Add NativeBindings and NativeViewWrapper

* [MacOS] Fix AssemblyInfo

* [MacOS] FIX NRE on SetBackgroundColor BoxView

* [MacOS] Fix NavigationPageRenderer

* [MacOS] Fix build

* [MacOS] Also update page when it resizes

* [MacOS] Add LayoutRenderer for handle items position when the bounds change.

* [MacOS] Refactor/Cleanup

* [MacOS] Add toolbar items support to NavigationPage

* [MacOS] Resize images for TabViewITems

* [MacOS] Fix TabbedPage resize issues , allow users to override some features when creating TVI

* [MacOS] Fix hide/show Navigation toolbar

* [MacOS] Redo CarouselPageRenderer with NSPageController

* [MacOS] Add support for Modal pages

* [MacOS] Refactor navigation from platform

* [Nuget] Add nuget for MacOS

* [Nuget]Fix nuspec

* [Nuget] Add variables for CI

* [Controls] Remove MainMenu from MacOS

* [MacOS] Add TableView renderer (no headers yet)

* [MacOS] Refactoring, marking extensions as internal

* [MacOS] Add group headers for TableViewRenderer

* [MacOS] Workaround for updates on listview collection

* [MacOS] Handle updates of rows in the ListViewRenderer properly

* [MacOS] Fix navigation animation

* Fix navigation header issues with modal pages

* [MacOS] Fix MDP issues with resizing

* [MacOS] Fix general dispose

* [MacOS] Add a ViewControllerWrapper for NSSplitView

* [MacOS] MDP renderer fix animation

* [MacOS] Fix ListView selection bug

* [MacOS] Fix rendering MDP Layout inside wrappers

* [MacOS] Re write the MainToolbar handler

* [MacOS] Don't use Sierra new extensions so we can run in stable channel

* [MacOS] Another way to hide the toolbar (smarter i think)

* [MacOS] Fix MDP bug and remove debug color

* [Controls] Add HanselForms sample

* [MacOS] Fix NRE WebviewRenderer

* [MacOS] Fix uneven rows on ListView renderer

* [MacOS] Fix NRE on load (can+t find the reason this happens)

* [MacOS] Fix uneven rows

* [MacOS] Fix header sizing on ListViewRenderer

* [Controls] More stuff on HanselForms

* [MacOS] Remove warning from ListViewRenderer

* [MacOS] Fix PageRenderer bug double init

* [MacOS] Don't calculate height if RowHeight is provided

* [Controls] More Hanselforms stuff

* [MacOS] Once again a new implementation for the NavigationBar, this time using a custom view to support BackgroundColor

* [MacOS] Fix build

* [MacOS] Refactoring AwesomeBar related controls

* Fix build

* [MacOS] NavigationBar update background and t test colors

* [MacOS] Fix when we remove navigation so it works when the NavigationRenderer wasn't removed from the parent controller like in a TabbedPage

* [MacOS] Add support for ListView  grouping

* [MacOS] Fix image extension method.

* [MacOS] Add base Maps project

* [MacOS] Export MapRenderer

* [MacOS] Add pin click and geocoderbacked for Maps

* [MacOS] Add extra binding project for API not in stable.

* [MacOS] Add MacOS Maps lib

* [MacOS]Fix build on alpha

* [MacOS] Remove MacOS Maps extra binding

* [UITest] Basic macOS setup

* [UITest] Add MacOSApp wrapper implementation

* [MacOS] Set AutomationID

* [UITests] Add ActionSheetUITests to MacOS UITest

* [MacOS] Fix bug on Picker

* [UITests] Link basic uitest basefixture and related files

* [MacOS] Fix pickers reuse

* [UItests] Fix MacOS app path

* [UITest] Ignore UItest for appearing on macOS for now

* [UITest] Update macOS for 2.0.3

* [UITest] Refactor EnterText MacOS app

* [UITest]Fix ViewQuery on MacOS

* [UITest]Fix IsEnabled UItest on macOS

* [UITest] Implement Enter, mark some tests inconclusive fix others

* [MacOS] Implement Entry Completed event

* [UITests] Fix UITest for IsVisible, ignore ToolbarItem test for now

* [UITests] Fix ISVisible again add extra category

* [Controls] Cleanup macOS gallery

* [MacOS] Fix Assembly info

* [Docs] Fix docs

* Fix build

* [Nuget] Fix nuspec

* [Controls] Link files on MacOS

* [Core] Update Forms stack before firing a event saying page was removed, possible breaking change

* [MacOS] Implement RemovePage on NavigationPAgeRenderer

* [UItest] Ignore some , implement back on MacOS UITest app

* [MacOS] Add default back button name (needs to be translated)

* [MacOS] Fix dispose

* [UITest] Make 29257 work on MacOS

* [MacOS] Rename stuff

* [MacOS] More renaming and cleanup

* [MacOS] Share implementations for iOS

* [MacOS] Reuse more IOS extensions

* [MacOS] Reuse FontExtensions

* [MacOS] Share NativeViewWrapper related stuff

* [MAcOS] Share event args and ExportRenderer

* [MacOS] Share platform effect

* [MacOS] Fix build

* [Docs]Fixing docs

* [MacOS] Fix ViewCell reuse

* [Core] Support ListView CachingStrategy on MacOS

* [MacOS] Fix issues with TextCell and ImageCell (we can’t set null to a NSControl value)

* [MacOS] Fix MDP child sizing bug
[UITest] Query marked by id and text

* [MacOS] Comment test related with context actions

* [MacOS] Implement missing stuff on ticker

* [MacOS] Make sure VisualElemenTracker calls the ticker update

* [UITests]Ignore context actions and not possible to test

* [MacOS] Fix Grouping bug on Listview

* [MacOS] Fix selection on Listview when using grouping

* [MacOS] Update navbar when page is popped

* [MacOS] Cleanup NavigationBar

* [Controls] More info on exceptions

* [MacOS] Fix bug animation pop modal

* [MacOS] Bring back BackgroundColor of NavigationBar

* [MacOS] Fix UITest animation delay

* [MacOS] Treat warnings as errors

* [MacOS] Center title on toolbar

* [Core] Add Platform configuration specific for MacOS

* [MacOS] Implement TabbedPage platform specific to handle TabItems on NavigationPage bar

* [MacOS] Fix warning

* [MacOS] Fix bug on SearchBar color

* [MacOS]Fix build

* [MacOS] remove extra dll from maps

* [Docs] Update docs

* [MacOS]Cleanup and refactoring

* Revert "[MacOS] remove extra dll from maps"

This reverts commit 73b948937001fea3f28449a963d0b94943e07aa0.

* [MacOS] Fix wrong refactoring

* [MacOS] dix formatting

* [MacOS] Fix build

* [MacOS] Fix bug on TabbedPageRenderer no title

* [MacOS,UITest] Update packages

* [MacOS ,UITest] Add delay when tapping something, and focus with double click

* [MacOS,UITest] Ignore UITest, not possible to test with current version

* [MacOS,UITest] Ignore test that uses Frame, UITest doesn’t return it

* [MacOS] Fix bug when no title on toolbar items

* [MacOS] Remove FormsNSView

* [MacOS] Cleanup on dispose on MDP renderer

* [MacOS] Different way to test leak of MDP, need to look at this again after

* [MacOS] Update current page when source changes

* [MacOS] More cleanup

* [MacOS,UITest] Implement ClearText

* [MacOS,UITest] ClearText doesn’t work for now on MacOS uitest

* [MacOS] Make sure we show the previous page when popping a Modal

* [MacOS] Fix issue with sizing the Header and visibility, remove for now header renderer reuse

* [MacOS] Clean CustomNSTableView

* [MacOS] Share LabelRenderer with iOS

* [MacOS,UITest] Don’t try to scroll for the element

* [MacOS] Share ResourcesProvider with iOS

* [MAcoS] Share VisualElementPackager with iOS

* [MacOS] Share ViewRenderer with iOS

* [MacOS] Merge with VisualElementTracker from iOS

* [MacOS] Merge with EventTracker from iOS

* [MacOS] Merge with VisualElementRenderer of iOS

* [MacOS] Make sure we always have a layer

* [MacOS] Fix Tracker merge with iOS version

* [MacOS] Fix bug with tabbed page on modal without navigation

* [Core] Rever change on core

* [Controls] Add missing image

* [MacOS] Clear renderers before setting them MDP

* [MacOS] Update tabbedPage ContainerArea

* [Controls] Add Custom renderers tests

* [MacOS] Fix ListViewRenderer

* [MacOS,UITest] Refactoring, implement index

* [MacOS] Make sure we don’t pass null to TextField string value

* [MacOS] Support for multiple clicks in same selected item on NSTableView

* [MacOS, UITest] Fix bug on Back because of refactoring

* [MacOS,UITest] Ignore UITest because we’d-not have ScrollDownTo yet

* [MacOS] Support Focus on EntryRenderer

* [MacOS,UITest] Ignore more a couple of tests that we can’t test on UITest Desktop

* [MacOS,UITest] MacOSApp looks for StaticText fields too

* [MacOS, UITest] Fix EnterText for marked Entry

* [MacOS] Fix index bug on TablevIewDataSource

* [MacOS] Fix SelectedItem TableViewDataSource

* [Nuget] Add Mac to Maps nuspec

* [Nuget]Fix path

* [Controls] Add basic FormsGallery sample

* [macOS] Fixed Tab NSImage crash in TabbedPageRenderer (#705)

* [macOS] Fixed Tab NSImage crash in TabbedPageRenderer

* Coding Style

* Coding Style

* [MacOS] Fix previous merge with master

* [MacOS] Possible simple fix for click on views overlapping

* [UItest] Ignore this part of the test we can’t click on NSViews yet

* [MacOS] Rename to IsOnViewCell

* fix docs

* [MacOS] Cleanup, Address feedback from Samantha’s review

* [MacOS] Add ContextActions

* [Controls] Remove FormsGalery for now

* [Docs] Update docs

* [MacOS] Implement ContextActions

* [MacOS,UITests] Enable and support UITests of ContextActions
2017-01-27 12:52:38 +00:00
E.Z. Hart 5fec30f288 Pool and reuse MKMapView instances on iOS 9 as well as iOS 10 (#680) 2017-01-16 19:36:49 +00:00
Rui Marinho c8d54e69ce [UITest] Update to UITest 2.0.5 (#665) 2017-01-05 11:43:58 +00:00
Rui Marinho 137e7480d8 [iOS] Ignore intermittent failing test on XTC (#666) 2017-01-04 13:15:40 +00:00
E.Z. Hart efc1e93f81
Make CellsGalleryImageUrlCellList test finish early if possible 2016-12-29 09:18:35 -07:00
E.Z. Hart cf496381ce
Update ImageCellListPage to use an image we control;
Update CellsGalleryImageUrlCellList test to wait longer than 1s for images
to load if necessary
2016-12-28 16:42:17 -07:00
E.Z. Hart bb942eb29f
Updating UITest package to 2.0.3 2016-12-12 16:22:44 -07:00
E.Z. Hart 5642dd58cd Fix broken alerts for iPad (#549)
* Fix broken alerts for iPad

* Remove unnecessary parameter and add null check

* Dropping test limit to 10 so we can get iOS passing
2016-11-22 17:01:20 +00:00
E.Z. Hart 55b8a43b5b
Turning down number of consecutive tests to avoid jetsam ejections on iOS 2016-11-21 09:11:33 -07:00
E.Z. Hart 33a5f443d3 Adding some restart logic to the UI tests if navigation fails (#550) 2016-11-19 12:34:35 -07:00
E.Z. Hart 122f0e3e60 Run multiple UI tests without restarting ControlGallery (#539)
* Allow UI tests to bypass "manual" navigation to isses pages

* Add missing Preserve attribute

* Make Issue198 test work with direct navigation

* Remove empty UI tests

* Fix error handling for iOS

* Use navigation which works for subsequent TestNavigationPages on iOS

* Fix race condition in 39530 test
Remove master page nesting when doing direct nav for UI tests

* Set up and run a single instance of Control Gallery for UI tests

* Force NavigateToIssue to wait for main page appearing to deal with iOS timing

* Move remaining UI tests into Issues namespace

* Change the connection check URL so it'll work on iOS

* Make Appearing Gallery tests work without restarting app

* Prevent ContextActions tests from stepping on each other

* Make context menu test more robust

* Move ButtonExtensions back to Controls namespace

* Have test 774 dismiss the action sheet before ending

* Update UITest package to 2.0.0 stable

* Make 2948 restore orientation when it's done

* Null check on PageController before calling SendDisappearing

* Adding a wait for the root page in the core tests

* Add consecutive tests reset to prevent memory slog on older iOS devices
2016-11-16 13:07:30 -08:00
E.Z. Hart 14e21dcebd Creating category constants for UI test categories (#487)
* Creating a category just for core UI tests

* Grouping all of the core UI tests

* Adjusting categories so we can run in smaller batches

* Adding some of the Issues tests to categories

* Fix shared project nonsense

* Fix non-existent test category

* Testing global category for Issues
2016-11-15 11:39:23 -08:00
E.Z. Hart d55799ce24 Attempting to fix possible race conditions in Automation ID tests (#533) 2016-11-15 09:52:20 -07:00
Rui Marinho c833da1fdf [UITest] Update to UItest beta 5, fix class naming (#413)
* [UITest] Update to UItest beta 5, fix class naming

* [UITest] Fix reference to alpha package

* [UITests] Update UITest
2016-10-06 20:32:41 +01:00
Rui Marinho b645064d93 Fix tests on IOS10 [Do not merge] (#373)
* [UITests] Update packages

* [UITests] Fix formatting

* [UITests] Fix tests

* Add badges

* Update Android csproj

* fix
2016-10-04 00:45:57 +01:00
Rui Marinho d4efe0a37e [Controls] Update Insights and UITest packages and fix warnings (#361)
* [Controls] Update Insights and UITest packages

* Update Xamarin.Forms.Platform.Android (Forwarders).csproj
2016-09-18 11:24:44 -07:00
Rui Marinho 52dc625bce [iOS] Change when we updated the XF INavigationPageController after popping a page natively, Cleanup UITest references (#291) 2016-08-16 11:31:53 -07:00
Rui Marinho b15ee30765 [UITest] Update to 1.3.8, remove old projects (#240)
* [UITests] Update to Xamarin UItest 1.3.8

* Remove legacy UITest projects

* Remove issue that uses reference to controls

* Update Xamarin.Forms.Core.iOS.UITests.csproj

* Update Xamarin.Forms.Core.Android.UITests.csproj
2016-06-24 17:05:42 +01:00
E.Z. Hart 0fa667e186 # This is a combination of 5 commits. (#221)
# The first commit's message is:
Removing CI-specific script from main repo

# This is the 2nd commit message:

Removing build projects

# This is the 3rd commit message:

Add some error reporting around TestFixtureSetup

# This is the 4th commit message:

Force load referenced assemblies to prevent missing registrations

# This is the 5th commit message:

Revert failed fix for GetAssemblies
2016-06-14 11:16:48 +01:00
E.Z. Hart 846c1dc0ec Make RunningApp.Screenshot do nothing unless SCREENSHOTS symbol defined (#169)
* Make RunningApp.Screenshot do nothing unless SCREENSHOTS symbol is defined

* Replace IApp casts with conditional compilation directives

* Fix warning

* Remove EnableLocalScreenshots

* Add Ignore attributes to keep tests from "failing" in Test Cloud
2016-05-11 07:21:41 -07:00
E.Z. Hart ad3a6f68f0 Remove unused UI test (#163) 2016-05-11 07:03:20 -07:00
E.Z. Hart 8d383746ca Remove empty UI tests (#160)
* Use WaitForElement instead of Thread.Sleep to cut down on idle time

* Remove empty UI tests
2016-05-04 15:16:42 +01:00
E.Z. Hart ed80514659 Remove empty UI test for control which no longer exists (#152) 2016-04-28 19:10:25 -04:00
Rui Marinho 5f762bdc25 [iOS] Fix uitests on iPhone5 (#105) 2016-04-18 23:47:25 -07:00
Jason Smith 5569e3072d Update to latest UITest nuget (#80)
* Update to latest UITest nuget

* Fix uploader
2016-04-13 17:14:42 +01:00
Paul DiPietro b42460c2c3 Enable CS1998 warnings as errors (#65) 2016-04-12 12:30:27 -07:00
Jason Smith df24270915 Resharper warnings are slightly different for some reason than WError, resolve these (#66) 2016-04-11 17:33:34 -07:00
Paul DiPietro b2ad3e53a8 Enable CS0618 warnings as errors (#72)
CS0618 occurs when using an obsolete property or method.

https://msdn.microsoft.com/en-us/library/x5ye6x1e.aspx
2016-04-11 09:50:28 -07:00
kingces95 a0f0b3954e Enable warnings as errors in tests 2016-04-06 23:03:59 -07:00
E.Z. Hart e969ddb727 Update references to outdated project name 2016-03-29 12:02:26 -06:00
Jason Smith 17fdde66d9 Initial import 2016-03-22 16:13:41 -07:00