diff options
Diffstat (limited to 'Xamarin.Forms.Core.UITests.Shared/Tests/WebViewUITests.cs')
-rw-r--r-- | Xamarin.Forms.Core.UITests.Shared/Tests/WebViewUITests.cs | 111 |
1 files changed, 111 insertions, 0 deletions
diff --git a/Xamarin.Forms.Core.UITests.Shared/Tests/WebViewUITests.cs b/Xamarin.Forms.Core.UITests.Shared/Tests/WebViewUITests.cs new file mode 100644 index 00000000..08ff5146 --- /dev/null +++ b/Xamarin.Forms.Core.UITests.Shared/Tests/WebViewUITests.cs @@ -0,0 +1,111 @@ +using NUnit.Framework; +using Xamarin.Forms.CustomAttributes; + +namespace Xamarin.Forms.Core.UITests +{ + [TestFixture] + [Category(UITestCategories.WebView)] + internal class WebViewUITests : _ViewUITests + { + public WebViewUITests() + { + PlatformViewType = Views.WebView; + } + + protected override void NavigateToGallery() + { + App.NavigateToGallery(GalleryQueries.WebViewGallery); + } + + [Category(UITestCategories.ManualReview)] + public override void _IsEnabled() + { + Assert.Inconclusive("Does not make sense for WebView"); + } + + [Test] + [Category(UITestCategories.ManualReview)] + [Ignore("Keep empty test from failing in Test Cloud")] + public override void _IsVisible() + { + } + + [UiTestExempt(ExemptReason.CannotTest, "Invalid interaction with Label")] + public override void _Focus() + { + } + + // TODO + public override void _GestureRecognizers() + { + } + + [UiTestExempt(ExemptReason.CannotTest, "Invalid interaction with Label")] + public override void _IsFocused() + { + } + + [Test] + [Category(UITestCategories.ManualReview)] + [Ignore("Keep empty test from failing in Test Cloud")] + public override void _Opacity() + { + } + + [Test] + [Category(UITestCategories.ManualReview)] + [Ignore("Keep empty test from failing in Test Cloud")] + public override void _Rotation() + { + } + + [Test] + [Category(UITestCategories.ManualReview)] + [Ignore("Keep empty test from failing in Test Cloud")] + public override void _RotationX() + { + } + + [Test] + [Category(UITestCategories.ManualReview)] + [Ignore("Keep empty test from failing in Test Cloud")] + public override void _RotationY() + { + } + + [Test] + [Category(UITestCategories.ManualReview)] + [Ignore("Keep empty test from failing in Test Cloud")] + public override void _TranslationX() + { + } + + [Test] + [Category(UITestCategories.ManualReview)] + [Ignore("Keep empty test from failing in Test Cloud")] + public override void _TranslationY() + { + } + + [Test] + [Category(UITestCategories.ManualReview)] + [Ignore("Keep empty test from failing in Test Cloud")] + public override void _Scale() + { + } + + [UiTestExempt(ExemptReason.CannotTest, "Invalid interaction with Label")] + public override void _UnFocus() + { + } + + // TODO + // Implement control specific ui tests + + protected override void FixtureTeardown() + { + App.NavigateBack(); + base.FixtureTeardown(); + } + } +}
\ No newline at end of file |