This repository has been archived by the owner on May 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Isolate the TemplatedView check inside Platform.cs to just RadioButto…
…n until we can provide a more generalized fix (#13279) * UI Test * - Hack fix for now * - fiix UI Test wording * - apply to UWP * - add UI Test for RB Templates * - fix categories
- Loading branch information
Showing
7 changed files
with
96 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
...orms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/RadioButtonTemplateFromStyle.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
using Xamarin.Forms.CustomAttributes; | ||
using Xamarin.Forms.Internals; | ||
|
||
#if UITEST | ||
using Xamarin.Forms.Core.UITests; | ||
using Xamarin.UITest; | ||
using NUnit.Framework; | ||
#endif | ||
|
||
namespace Xamarin.Forms.Controls.Issues | ||
{ | ||
#if UITEST | ||
[Category(UITestCategories.RadioButton)] | ||
#endif | ||
|
||
[Preserve(AllMembers = true)] | ||
[Issue(IssueTracker.None, 0, "RadioButton: Template From Style", PlatformAffected.All)] | ||
public class RadioButtonTemplateFromStyle : TestNavigationPage | ||
{ | ||
protected override void Init() | ||
{ | ||
#if APP | ||
PushAsync(new GalleryPages.RadioButtonGalleries.TemplateFromStyle()); | ||
#endif | ||
} | ||
|
||
#if UITEST | ||
[Test] | ||
public void ContentRenderers() | ||
{ | ||
RunningApp.WaitForElement("A"); | ||
RunningApp.WaitForElement("B"); | ||
RunningApp.WaitForElement("C"); | ||
} | ||
#endif | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters