summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core.iOS.UITests
diff options
context:
space:
mode:
authorE.Z. Hart <hartez@users.noreply.github.com>2016-11-15 19:39:23 (GMT)
committerJason Smith <jason.smith@xamarin.com>2016-11-15 19:39:23 (GMT)
commit14e21dcebd4a706aaa5eed384b142957d84df002 (patch)
tree035a8f781244a0f6c23cee75bf83073c253fff30 /Xamarin.Forms.Core.iOS.UITests
parent7f9f2530ca1912421e0d88cd47f185dc733cd310 (diff)
downloadxamarin-forms-14e21dcebd4a706aaa5eed384b142957d84df002.zip
xamarin-forms-14e21dcebd4a706aaa5eed384b142957d84df002.tar.gz
xamarin-forms-14e21dcebd4a706aaa5eed384b142957d84df002.tar.bz2
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
Diffstat (limited to 'Xamarin.Forms.Core.iOS.UITests')
-rw-r--r--Xamarin.Forms.Core.iOS.UITests/Tests/ActionSheetUITests.cs2
-rw-r--r--Xamarin.Forms.Core.iOS.UITests/Tests/ActivityIndicatorUITests.cs2
-rw-r--r--Xamarin.Forms.Core.iOS.UITests/Tests/AppearingUITests.cs3
-rw-r--r--Xamarin.Forms.Core.iOS.UITests/Tests/AutomationIDUITests.cs2
-rw-r--r--Xamarin.Forms.Core.iOS.UITests/Tests/BoxViewUITests.cs2
-rw-r--r--Xamarin.Forms.Core.iOS.UITests/Tests/ButtonUITests.cs2
-rw-r--r--Xamarin.Forms.Core.iOS.UITests/Tests/ContextActionsUITests.cs4
-rw-r--r--Xamarin.Forms.Core.iOS.UITests/Tests/DatePickerUITests.cs2
-rw-r--r--Xamarin.Forms.Core.iOS.UITests/Tests/DisplayAlertUITests.cs2
-rw-r--r--Xamarin.Forms.Core.iOS.UITests/Tests/EditorUITests.cs2
-rw-r--r--Xamarin.Forms.Core.iOS.UITests/Tests/EntryUITests.cs2
-rw-r--r--Xamarin.Forms.Core.iOS.UITests/Tests/FrameUITests.cs2
-rw-r--r--Xamarin.Forms.Core.iOS.UITests/Tests/ImageUITests.cs2
-rw-r--r--Xamarin.Forms.Core.iOS.UITests/Tests/LabelUITests.cs2
-rw-r--r--Xamarin.Forms.Core.iOS.UITests/Tests/Legacy-CellsUITests.cs2
-rw-r--r--Xamarin.Forms.Core.iOS.UITests/Tests/PickerUITests.cs2
-rw-r--r--Xamarin.Forms.Core.iOS.UITests/Tests/ProgressBarUITests.cs2
-rw-r--r--Xamarin.Forms.Core.iOS.UITests/Tests/RootGalleryUITests.cs2
-rw-r--r--Xamarin.Forms.Core.iOS.UITests/Tests/ScrollViewUITests.cs2
-rw-r--r--Xamarin.Forms.Core.iOS.UITests/Tests/SearchBarUITests.cs2
-rw-r--r--Xamarin.Forms.Core.iOS.UITests/Tests/SliderUITests.cs2
-rw-r--r--Xamarin.Forms.Core.iOS.UITests/Tests/StepperUITests.cs3
-rw-r--r--Xamarin.Forms.Core.iOS.UITests/Tests/SwitchUITests.cs2
-rw-r--r--Xamarin.Forms.Core.iOS.UITests/Tests/TimePickerUITests.cs2
-rw-r--r--Xamarin.Forms.Core.iOS.UITests/Tests/ToolbarItemTests.cs2
-rw-r--r--Xamarin.Forms.Core.iOS.UITests/Tests/ViewUITests.cs4
-rw-r--r--Xamarin.Forms.Core.iOS.UITests/Tests/WebViewUITests.cs22
-rw-r--r--Xamarin.Forms.Core.iOS.UITests/UITestCategories.cs35
-rw-r--r--Xamarin.Forms.Core.iOS.UITests/Xamarin.Forms.Core.iOS.UITests.csproj1
29 files changed, 76 insertions, 40 deletions
diff --git a/Xamarin.Forms.Core.iOS.UITests/Tests/ActionSheetUITests.cs b/Xamarin.Forms.Core.iOS.UITests/Tests/ActionSheetUITests.cs
index cf03b70..0f74d6d 100644
--- a/Xamarin.Forms.Core.iOS.UITests/Tests/ActionSheetUITests.cs
+++ b/Xamarin.Forms.Core.iOS.UITests/Tests/ActionSheetUITests.cs
@@ -7,7 +7,7 @@ using Xamarin.UITest.Queries;
namespace Xamarin.Forms.Core.UITests
{
[TestFixture]
- [Category ("ActionSheet")]
+ [Category(UITestCategories.ActionSheet)]
internal class ActionSheetUITests : BaseTestFixture
{
AppRect screenSize;
diff --git a/Xamarin.Forms.Core.iOS.UITests/Tests/ActivityIndicatorUITests.cs b/Xamarin.Forms.Core.iOS.UITests/Tests/ActivityIndicatorUITests.cs
index a2de9d5..36dd3a1 100644
--- a/Xamarin.Forms.Core.iOS.UITests/Tests/ActivityIndicatorUITests.cs
+++ b/Xamarin.Forms.Core.iOS.UITests/Tests/ActivityIndicatorUITests.cs
@@ -10,7 +10,7 @@ using Xamarin.UITest.Queries;
namespace Xamarin.Forms.Core.UITests
{
[TestFixture]
- [Category ("ActivityIndicator")]
+ [Category(UITestCategories.ActivityIndicator)]
internal class ActivityIndicatorUITests : _ViewUITests
{
public ActivityIndicatorUITests ()
diff --git a/Xamarin.Forms.Core.iOS.UITests/Tests/AppearingUITests.cs b/Xamarin.Forms.Core.iOS.UITests/Tests/AppearingUITests.cs
index c346b4f..4b37ea9 100644
--- a/Xamarin.Forms.Core.iOS.UITests/Tests/AppearingUITests.cs
+++ b/Xamarin.Forms.Core.iOS.UITests/Tests/AppearingUITests.cs
@@ -3,10 +3,9 @@ using NUnit.Framework;
namespace Xamarin.Forms.Core.UITests
{
- [Category ("Lifecycle")]
+ [Category(UITestCategories.LifeCycle)]
internal class AppearingUITests : BaseTestFixture
{
-
public AppearingUITests ()
{
ShouldResetPerFixture = false;
diff --git a/Xamarin.Forms.Core.iOS.UITests/Tests/AutomationIDUITests.cs b/Xamarin.Forms.Core.iOS.UITests/Tests/AutomationIDUITests.cs
index d397900..4aeb5cc 100644
--- a/Xamarin.Forms.Core.iOS.UITests/Tests/AutomationIDUITests.cs
+++ b/Xamarin.Forms.Core.iOS.UITests/Tests/AutomationIDUITests.cs
@@ -7,7 +7,7 @@ using Xamarin.UITest.Queries;
namespace Xamarin.Forms.Core.UITests
{
[TestFixture]
- [Category ("AutomationID")]
+ [Category(UITestCategories.AutomationId)]
internal class AutomationIDUITests : BaseTestFixture
{
protected override void NavigateToGallery ()
diff --git a/Xamarin.Forms.Core.iOS.UITests/Tests/BoxViewUITests.cs b/Xamarin.Forms.Core.iOS.UITests/Tests/BoxViewUITests.cs
index cf542c3..fa9cdc2 100644
--- a/Xamarin.Forms.Core.iOS.UITests/Tests/BoxViewUITests.cs
+++ b/Xamarin.Forms.Core.iOS.UITests/Tests/BoxViewUITests.cs
@@ -17,7 +17,7 @@ using Xamarin.UITest.iOS;
namespace Xamarin.Forms.Core.UITests
{
[TestFixture]
- [Category ("BoxView")]
+ [Category(UITestCategories.BoxView)]
internal class BoxViewUITests : _ViewUITests
{
public BoxViewUITests ()
diff --git a/Xamarin.Forms.Core.iOS.UITests/Tests/ButtonUITests.cs b/Xamarin.Forms.Core.iOS.UITests/Tests/ButtonUITests.cs
index 47bb45c..83c9ccc 100644
--- a/Xamarin.Forms.Core.iOS.UITests/Tests/ButtonUITests.cs
+++ b/Xamarin.Forms.Core.iOS.UITests/Tests/ButtonUITests.cs
@@ -17,7 +17,7 @@ using Xamarin.UITest.iOS;
namespace Xamarin.Forms.Core.UITests
{
[TestFixture]
- [Category ("Button")]
+ [Category(UITestCategories.Button)]
internal class ButtonUITests : _ViewUITests
{
public ButtonUITests ()
diff --git a/Xamarin.Forms.Core.iOS.UITests/Tests/ContextActionsUITests.cs b/Xamarin.Forms.Core.iOS.UITests/Tests/ContextActionsUITests.cs
index fc80937..a3ae106 100644
--- a/Xamarin.Forms.Core.iOS.UITests/Tests/ContextActionsUITests.cs
+++ b/Xamarin.Forms.Core.iOS.UITests/Tests/ContextActionsUITests.cs
@@ -10,7 +10,7 @@ using Xamarin.UITest.Queries;
namespace Xamarin.Forms.Core.UITests
{
[TestFixture]
- [Category ("Cells")]
+ [Category(UITestCategories.Cells)]
internal class ContextActionsListUITests : BaseTestFixture
{
@@ -84,7 +84,7 @@ namespace Xamarin.Forms.Core.UITests
}
[TestFixture]
- [Category ("Cells")]
+ [Category(UITestCategories.Cells)]
internal class ContextActionsTableUITests : BaseTestFixture
{
public ContextActionsTableUITests ()
diff --git a/Xamarin.Forms.Core.iOS.UITests/Tests/DatePickerUITests.cs b/Xamarin.Forms.Core.iOS.UITests/Tests/DatePickerUITests.cs
index 5769f71..7245288 100644
--- a/Xamarin.Forms.Core.iOS.UITests/Tests/DatePickerUITests.cs
+++ b/Xamarin.Forms.Core.iOS.UITests/Tests/DatePickerUITests.cs
@@ -17,7 +17,7 @@ using Xamarin.UITest.iOS;
namespace Xamarin.Forms.Core.UITests
{
[TestFixture]
- [Category ("DatePicker")]
+ [Category(UITestCategories.DatePicker)]
internal class DatePickerUITests : _ViewUITests
{
public DatePickerUITests ()
diff --git a/Xamarin.Forms.Core.iOS.UITests/Tests/DisplayAlertUITests.cs b/Xamarin.Forms.Core.iOS.UITests/Tests/DisplayAlertUITests.cs
index 74bd895..afefdeb 100644
--- a/Xamarin.Forms.Core.iOS.UITests/Tests/DisplayAlertUITests.cs
+++ b/Xamarin.Forms.Core.iOS.UITests/Tests/DisplayAlertUITests.cs
@@ -6,7 +6,7 @@ using System.Threading;
namespace Xamarin.Forms.Core.UITests
{
[TestFixture]
- [Category ("DisplayAlert")]
+ [Category(UITestCategories.DisplayAlert)]
internal class DisplayAlertUITests : BaseTestFixture
{
diff --git a/Xamarin.Forms.Core.iOS.UITests/Tests/EditorUITests.cs b/Xamarin.Forms.Core.iOS.UITests/Tests/EditorUITests.cs
index 6701faa..e407ad2 100644
--- a/Xamarin.Forms.Core.iOS.UITests/Tests/EditorUITests.cs
+++ b/Xamarin.Forms.Core.iOS.UITests/Tests/EditorUITests.cs
@@ -17,7 +17,7 @@ using Xamarin.UITest.iOS;
namespace Xamarin.Forms.Core.UITests
{
[TestFixture]
- [Category ("Editor")]
+ [Category(UITestCategories.Editor)]
internal class EditorUITests : _ViewUITests
{
public EditorUITests ()
diff --git a/Xamarin.Forms.Core.iOS.UITests/Tests/EntryUITests.cs b/Xamarin.Forms.Core.iOS.UITests/Tests/EntryUITests.cs
index 6d498b5..82ee605 100644
--- a/Xamarin.Forms.Core.iOS.UITests/Tests/EntryUITests.cs
+++ b/Xamarin.Forms.Core.iOS.UITests/Tests/EntryUITests.cs
@@ -17,7 +17,7 @@ using Xamarin.UITest.iOS;
namespace Xamarin.Forms.Core.UITests
{
[TestFixture]
- [Category ("Entry")]
+ [Category(UITestCategories.Entry)]
internal class EntryUITests : _ViewUITests
{
public EntryUITests ()
diff --git a/Xamarin.Forms.Core.iOS.UITests/Tests/FrameUITests.cs b/Xamarin.Forms.Core.iOS.UITests/Tests/FrameUITests.cs
index f7a59ed..035e3f7 100644
--- a/Xamarin.Forms.Core.iOS.UITests/Tests/FrameUITests.cs
+++ b/Xamarin.Forms.Core.iOS.UITests/Tests/FrameUITests.cs
@@ -17,7 +17,7 @@ using Xamarin.UITest.iOS;
namespace Xamarin.Forms.Core.UITests
{
[TestFixture]
- [Category ("Frame")]
+ [Category(UITestCategories.Frame)]
internal class FrameUITests : _ViewUITests
{
public FrameUITests ()
diff --git a/Xamarin.Forms.Core.iOS.UITests/Tests/ImageUITests.cs b/Xamarin.Forms.Core.iOS.UITests/Tests/ImageUITests.cs
index 5c19d1c..cdf9af6 100644
--- a/Xamarin.Forms.Core.iOS.UITests/Tests/ImageUITests.cs
+++ b/Xamarin.Forms.Core.iOS.UITests/Tests/ImageUITests.cs
@@ -17,7 +17,7 @@ using Xamarin.UITest.iOS;
namespace Xamarin.Forms.Core.UITests
{
[TestFixture]
- [Category ("Image")]
+ [Category(UITestCategories.Image)]
internal class ImageUITests : _ViewUITests
{
public ImageUITests ()
diff --git a/Xamarin.Forms.Core.iOS.UITests/Tests/LabelUITests.cs b/Xamarin.Forms.Core.iOS.UITests/Tests/LabelUITests.cs
index 423774f..2a01187 100644
--- a/Xamarin.Forms.Core.iOS.UITests/Tests/LabelUITests.cs
+++ b/Xamarin.Forms.Core.iOS.UITests/Tests/LabelUITests.cs
@@ -17,7 +17,7 @@ using Xamarin.UITest.iOS;
namespace Xamarin.Forms.Core.UITests
{
[TestFixture]
- [Category ("Label")]
+ [Category(UITestCategories.Label)]
internal class LabelUITests : _ViewUITests
{
public LabelUITests ()
diff --git a/Xamarin.Forms.Core.iOS.UITests/Tests/Legacy-CellsUITests.cs b/Xamarin.Forms.Core.iOS.UITests/Tests/Legacy-CellsUITests.cs
index 4710c33..4d7ec9d 100644
--- a/Xamarin.Forms.Core.iOS.UITests/Tests/Legacy-CellsUITests.cs
+++ b/Xamarin.Forms.Core.iOS.UITests/Tests/Legacy-CellsUITests.cs
@@ -13,7 +13,7 @@ using Xamarin.UITest.Queries;
namespace Xamarin.Forms.Core.UITests
{
[TestFixture]
- [Category("Cells")]
+ [Category(UITestCategories.Cells)]
internal class CellsGalleryTests : BaseTestFixture
{
// TODO find a way to test individula elements of cells
diff --git a/Xamarin.Forms.Core.iOS.UITests/Tests/PickerUITests.cs b/Xamarin.Forms.Core.iOS.UITests/Tests/PickerUITests.cs
index 19357fa..f0bd20a 100644
--- a/Xamarin.Forms.Core.iOS.UITests/Tests/PickerUITests.cs
+++ b/Xamarin.Forms.Core.iOS.UITests/Tests/PickerUITests.cs
@@ -17,7 +17,7 @@ using Xamarin.UITest.iOS;
namespace Xamarin.Forms.Core.UITests
{
[TestFixture]
- [Category ("Picker")]
+ [Category(UITestCategories.Picker)]
internal class PickerUITests : _ViewUITests
{
public PickerUITests ()
diff --git a/Xamarin.Forms.Core.iOS.UITests/Tests/ProgressBarUITests.cs b/Xamarin.Forms.Core.iOS.UITests/Tests/ProgressBarUITests.cs
index 5d95145..aa0b713 100644
--- a/Xamarin.Forms.Core.iOS.UITests/Tests/ProgressBarUITests.cs
+++ b/Xamarin.Forms.Core.iOS.UITests/Tests/ProgressBarUITests.cs
@@ -17,7 +17,7 @@ using Xamarin.UITest.iOS;
namespace Xamarin.Forms.Core.UITests
{
[TestFixture]
- [Category ("ProgressBar")]
+ [Category(UITestCategories.ProgressBar)]
internal class ProgressBarUITests : _ViewUITests
{
public ProgressBarUITests ()
diff --git a/Xamarin.Forms.Core.iOS.UITests/Tests/RootGalleryUITests.cs b/Xamarin.Forms.Core.iOS.UITests/Tests/RootGalleryUITests.cs
index e597809..1089b33 100644
--- a/Xamarin.Forms.Core.iOS.UITests/Tests/RootGalleryUITests.cs
+++ b/Xamarin.Forms.Core.iOS.UITests/Tests/RootGalleryUITests.cs
@@ -25,7 +25,7 @@ namespace Xamarin.Forms.Core.UITests
}
[TestFixture]
- [Category ("RootGallery")]
+ [Category(UITestCategories.RootGallery)]
internal class RootGalleryUITests : BaseTestFixture
{
IEnumerable<RootPageModel> rootPages;
diff --git a/Xamarin.Forms.Core.iOS.UITests/Tests/ScrollViewUITests.cs b/Xamarin.Forms.Core.iOS.UITests/Tests/ScrollViewUITests.cs
index 2266c26..3319834 100644
--- a/Xamarin.Forms.Core.iOS.UITests/Tests/ScrollViewUITests.cs
+++ b/Xamarin.Forms.Core.iOS.UITests/Tests/ScrollViewUITests.cs
@@ -4,7 +4,7 @@ using Xamarin.UITest;
namespace Xamarin.Forms.Core.UITests
{
[TestFixture]
- [Category ("ScrollView")]
+ [Category(UITestCategories.ScrollView)]
internal class ScrollViewGalleryTests : BaseTestFixture
{
public ScrollViewGalleryTests ()
diff --git a/Xamarin.Forms.Core.iOS.UITests/Tests/SearchBarUITests.cs b/Xamarin.Forms.Core.iOS.UITests/Tests/SearchBarUITests.cs
index e45ba38..9f9f3e9 100644
--- a/Xamarin.Forms.Core.iOS.UITests/Tests/SearchBarUITests.cs
+++ b/Xamarin.Forms.Core.iOS.UITests/Tests/SearchBarUITests.cs
@@ -17,7 +17,7 @@ using Xamarin.UITest.iOS;
namespace Xamarin.Forms.Core.UITests
{
[TestFixture]
- [Category ("SearchBar")]
+ [Category(UITestCategories.SearchBar)]
internal class SearchBarUITests : _ViewUITests
{
public SearchBarUITests ()
diff --git a/Xamarin.Forms.Core.iOS.UITests/Tests/SliderUITests.cs b/Xamarin.Forms.Core.iOS.UITests/Tests/SliderUITests.cs
index 6f8eb77..c726903 100644
--- a/Xamarin.Forms.Core.iOS.UITests/Tests/SliderUITests.cs
+++ b/Xamarin.Forms.Core.iOS.UITests/Tests/SliderUITests.cs
@@ -17,7 +17,7 @@ using Xamarin.UITest.iOS;
namespace Xamarin.Forms.Core.UITests
{
[TestFixture]
- [Category ("Slider")]
+ [Category(UITestCategories.Slider)]
internal class SliderUITests : _ViewUITests
{
public SliderUITests ()
diff --git a/Xamarin.Forms.Core.iOS.UITests/Tests/StepperUITests.cs b/Xamarin.Forms.Core.iOS.UITests/Tests/StepperUITests.cs
index bec1e22..3afd1e6 100644
--- a/Xamarin.Forms.Core.iOS.UITests/Tests/StepperUITests.cs
+++ b/Xamarin.Forms.Core.iOS.UITests/Tests/StepperUITests.cs
@@ -17,7 +17,8 @@ using Xamarin.UITest.iOS;
namespace Xamarin.Forms.Core.UITests
{
[TestFixture]
- [Category ("Stepper")]
+
+ [Category(UITestCategories.Stepper)]
internal class StepperUITests : _ViewUITests
{
public StepperUITests ()
diff --git a/Xamarin.Forms.Core.iOS.UITests/Tests/SwitchUITests.cs b/Xamarin.Forms.Core.iOS.UITests/Tests/SwitchUITests.cs
index 344aae4..d7896d4 100644
--- a/Xamarin.Forms.Core.iOS.UITests/Tests/SwitchUITests.cs
+++ b/Xamarin.Forms.Core.iOS.UITests/Tests/SwitchUITests.cs
@@ -17,7 +17,7 @@ using Xamarin.UITest.iOS;
namespace Xamarin.Forms.Core.UITests
{
[TestFixture]
- [Category ("Switch")]
+ [Category(UITestCategories.Switch)]
internal class SwitchUITests : _ViewUITests
{
public SwitchUITests ()
diff --git a/Xamarin.Forms.Core.iOS.UITests/Tests/TimePickerUITests.cs b/Xamarin.Forms.Core.iOS.UITests/Tests/TimePickerUITests.cs
index 63e6a29..954e824 100644
--- a/Xamarin.Forms.Core.iOS.UITests/Tests/TimePickerUITests.cs
+++ b/Xamarin.Forms.Core.iOS.UITests/Tests/TimePickerUITests.cs
@@ -17,7 +17,7 @@ using Xamarin.UITest.iOS;
namespace Xamarin.Forms.Core.UITests
{
[TestFixture]
- [Category ("TimePicker")]
+ [Category(UITestCategories.TimePicker)]
internal class TimePickerUITests : _ViewUITests
{
public TimePickerUITests ()
diff --git a/Xamarin.Forms.Core.iOS.UITests/Tests/ToolbarItemTests.cs b/Xamarin.Forms.Core.iOS.UITests/Tests/ToolbarItemTests.cs
index eddc20c..30cabff 100644
--- a/Xamarin.Forms.Core.iOS.UITests/Tests/ToolbarItemTests.cs
+++ b/Xamarin.Forms.Core.iOS.UITests/Tests/ToolbarItemTests.cs
@@ -7,7 +7,7 @@ using Xamarin.UITest.iOS;
namespace Xamarin.Forms.Core.UITests
{
[TestFixture]
- [Category ("ToolbarItem")]
+ [Category(UITestCategories.ToolbarItem)]
internal class ToolbarItemTests : BaseTestFixture
{
string btn1Id = "tb1";
diff --git a/Xamarin.Forms.Core.iOS.UITests/Tests/ViewUITests.cs b/Xamarin.Forms.Core.iOS.UITests/Tests/ViewUITests.cs
index 7cfbe55..a7a1301 100644
--- a/Xamarin.Forms.Core.iOS.UITests/Tests/ViewUITests.cs
+++ b/Xamarin.Forms.Core.iOS.UITests/Tests/ViewUITests.cs
@@ -213,7 +213,7 @@ namespace Xamarin.Forms.Core.UITests
[Test]
[UiTest (typeof (VisualElement), "TranslationX")]
- [Category ("ManualReview")]
+ [Category(UITestCategories.ManualReview)]
public virtual void _TranslationX ()
{
var remote = new ViewContainerRemote (App, Test.VisualElement.TranslationX, PlatformViewType);
@@ -222,7 +222,7 @@ namespace Xamarin.Forms.Core.UITests
[Test]
[UiTest (typeof (VisualElement), "TranslationY")]
- [Category ("ManualReview")]
+ [Category(UITestCategories.ManualReview)]
public virtual void _TranslationY ()
{
var remote = new ViewContainerRemote (App, Test.VisualElement.TranslationY, PlatformViewType);
diff --git a/Xamarin.Forms.Core.iOS.UITests/Tests/WebViewUITests.cs b/Xamarin.Forms.Core.iOS.UITests/Tests/WebViewUITests.cs
index c52693a..e056b32 100644
--- a/Xamarin.Forms.Core.iOS.UITests/Tests/WebViewUITests.cs
+++ b/Xamarin.Forms.Core.iOS.UITests/Tests/WebViewUITests.cs
@@ -17,7 +17,7 @@ using Xamarin.UITest.iOS;
namespace Xamarin.Forms.Core.UITests
{
[TestFixture]
- [Category ("WebView")]
+ [Category(UITestCategories.WebView)]
internal class WebViewUITests : _ViewUITests
{
public WebViewUITests ()
@@ -29,15 +29,15 @@ namespace Xamarin.Forms.Core.UITests
{
App.NavigateToGallery (GalleryQueries.WebViewGallery);
}
-
- [Category ("ManualReview")]
+
+ [Category(UITestCategories.ManualReview)]
public override void _IsEnabled ()
{
Assert.Inconclusive ("Does not make sense for WebView");
}
[Test]
- [Category ("ManualReview")]
+ [Category(UITestCategories.ManualReview)]
[Ignore("Keep empty test from failing in Test Cloud")]
public override void _IsVisible () {}
@@ -51,38 +51,38 @@ namespace Xamarin.Forms.Core.UITests
public override void _IsFocused () {}
[Test]
- [Category ("ManualReview")]
+ [Category(UITestCategories.ManualReview)]
[Ignore("Keep empty test from failing in Test Cloud")]
public override void _Opacity () {}
[Test]
- [Category ("ManualReview")]
+ [Category(UITestCategories.ManualReview)]
[Ignore("Keep empty test from failing in Test Cloud")]
public override void _Rotation () {}
[Test]
- [Category ("ManualReview")]
+ [Category(UITestCategories.ManualReview)]
[Ignore("Keep empty test from failing in Test Cloud")]
public override void _RotationX () {}
[Test]
- [Category ("ManualReview")]
+ [Category(UITestCategories.ManualReview)]
[Ignore("Keep empty test from failing in Test Cloud")]
public override void _RotationY () {}
[Test]
- [Category ("ManualReview")]
+ [Category(UITestCategories.ManualReview)]
[Ignore("Keep empty test from failing in Test Cloud")]
public override void _TranslationX () {}
[Test]
- [Category ("ManualReview")]
+ [Category(UITestCategories.ManualReview)]
[Ignore("Keep empty test from failing in Test Cloud")]
public override void _TranslationY () {}
[Test]
- [Category ("ManualReview")]
+ [Category (UITestCategories.ManualReview)]
[Ignore("Keep empty test from failing in Test Cloud")]
public override void _Scale () {}
diff --git a/Xamarin.Forms.Core.iOS.UITests/UITestCategories.cs b/Xamarin.Forms.Core.iOS.UITests/UITestCategories.cs
new file mode 100644
index 0000000..dbc298f
--- /dev/null
+++ b/Xamarin.Forms.Core.iOS.UITests/UITestCategories.cs
@@ -0,0 +1,35 @@
+´╗┐namespace Xamarin.Forms.Core.UITests
+{
+ internal static class UITestCategories
+ {
+ public const string ActionSheet = "ActionSheet";
+ public const string ActivityIndicator = "ActivityIndicator";
+ public const string AutomationId = "AutomationID";
+ public const string BoxView = "BoxView";
+ public const string Button = "Button";
+ public const string Cells = "Cells";
+ public const string DatePicker = "DatePicker";
+ public const string DisplayAlert = "DisplayAlert";
+ public const string Editor = "Editor";
+ public const string Entry = "Entry";
+ public const string Frame = "Frame";
+ public const string Image = "Image";
+ public const string Label = "Label";
+ public const string ListView = "ListView";
+ public const string LifeCycle = "Lifecycle";
+ public const string MasterDetailPage = "MasterDetailPage";
+ public const string Picker = "Picker";
+ public const string ProgressBar = "ProgressBar";
+ public const string RootGallery = "RootGallery";
+ public const string ScrollView = "ScrollView";
+ public const string SearchBar = "SearchBar";
+ public const string Slider = "Slider";
+ public const string Stepper = "Stepper";
+ public const string Switch = "Switch";
+ public const string TimePicker = "TimePicker";
+ public const string ToolbarItem = "ToolbarItem";
+ public const string WebView = "WebView";
+
+ public const string ManualReview = "ManualReview";
+ }
+} \ No newline at end of file
diff --git a/Xamarin.Forms.Core.iOS.UITests/Xamarin.Forms.Core.iOS.UITests.csproj b/Xamarin.Forms.Core.iOS.UITests/Xamarin.Forms.Core.iOS.UITests.csproj
index 6d49ae6..42ac29e 100644
--- a/Xamarin.Forms.Core.iOS.UITests/Xamarin.Forms.Core.iOS.UITests.csproj
+++ b/Xamarin.Forms.Core.iOS.UITests/Xamarin.Forms.Core.iOS.UITests.csproj
@@ -64,6 +64,7 @@
</ItemGroup>
<ItemGroup>
<Compile Include="BaseTestFixture.cs" />
+ <Compile Include="UITestCategories.cs" />
<Compile Include="PlatformQueries.cs" />
<Compile Include="Remotes\BaseViewContainerRemote.cs" />
<Compile Include="Remotes\EventViewContainerRemote.cs" />