Esempio n. 1
0
        public void DoubleTapWithMixedRecognizersShouldRegisterDoubleTap()
        {
            RunningApp.WaitForElement(MixedTapBoxId);
            RunningApp.DoubleTap(MixedTapBoxId);

            RunningApp.WaitForElement($"1 {Doubles} on {MixedTapBoxId}");
        }
Esempio n. 2
0
 public void DoubleTapInFlyout(string text, string flyoutIcon = FlyoutIconAutomationId, bool usingSwipe = false, string timeoutMessage = null)
 {
     timeoutMessage = timeoutMessage ?? text;
     ShowFlyout(flyoutIcon, usingSwipe);
     RunningApp.WaitForElement(text, timeoutMessage);
     RunningApp.DoubleTap(text);
 }
Esempio n. 3
0
        public void DoubleTapWithOnlySingleTapRecognizerShouldRegisterTwoTaps()
        {
            RunningApp.WaitForElement(SingleTapBoxId);
            RunningApp.DoubleTap(SingleTapBoxId);

            RunningApp.WaitForElement($"2 {Singles} on {SingleTapBoxId}");
        }
Esempio n. 4
0
        public void DoubleTapWithOnlyDoubleTapRecognizerShouldRegisterOneDoubleTap()
        {
            RunningApp.WaitForElement(DoubleTapBoxId);
            RunningApp.DoubleTap(DoubleTapBoxId);

            RunningApp.WaitForElement($"1 {Doubles} on {DoubleTapBoxId}");
        }
Esempio n. 5
0
 public void Issue4714Test()
 {
     RunningApp.WaitForElement(InitialText);
     RunningApp.DoubleTap(InitialText);
     RunningApp.Tap(InitialText);
     RunningApp.Tap(InitialText);
     RunningApp.WaitForElement($"{InitialText}: 4");
 }
Esempio n. 6
0
        public void TapThenDoubleTap()
        {
            RunningApp.Screenshot("I am at Issue 24574");

            RunningApp.WaitForElement(q => q.Marked("TapLabel"));

            RunningApp.Tap(q => q.Marked("TapLabel"));
            RunningApp.WaitForElement(q => q.Marked("Single"));

            RunningApp.DoubleTap(q => q.Marked("TapLabel"));
            RunningApp.WaitForElement(q => q.Marked("Double"));
        }
Esempio n. 7
0
        public void Bugzilla45027Test()
        {
            var firstItemList = List.First().ToString();

            RunningApp.WaitForElement(q => q.Marked(firstItemList));

            RunningApp.TouchAndHold(q => q.Marked(firstItemList));
            RunningApp.WaitForElement(q => q.Marked(BUTTON_ACTION_TEXT));
            RunningApp.DoubleTap(q => q.Marked(BUTTON_ACTION_TEXT));

            RunningApp.TouchAndHold(q => q.Marked(firstItemList));
            RunningApp.WaitForElement(q => q.Marked(BUTTON_DELETE_TEXT));
            RunningApp.DoubleTap(q => q.Marked(BUTTON_DELETE_TEXT));
        }
Esempio n. 8
0
        public void Issue2961Test()
        {
            RunningApp.Screenshot("I am at Issue 2961");
            OpenMDP("ShowMasterBtnHome");
            RunningApp.Tap(c => c.Marked("Home"));
            RunningApp.WaitForElement(c => c.Marked("lblHome"));
            OpenMDP("ShowMasterBtnHome");
            RunningApp.Tap(c => c.Marked("About"));
            RunningApp.WaitForElement(c => c.Marked("lblAbout"));
            OpenMDP("ShowMasterBtnAbout");
#if __IOS__
            return;
#else
            RunningApp.DoubleTap(c => c.Marked("Home"));
            RunningApp.WaitForElement(c => c.Marked("lblHome"));
            RunningApp.Tap(c => c.Marked("About"));
            RunningApp.WaitForNoElement(c => c.Marked("Home"));
#endif
        }
Esempio n. 9
0
 public void Issue2961Test()
 {
     RunningApp.Screenshot("I am at Issue 2961");
     OpenMDP("ShowMasterBtnHome");
     RunningApp.Tap(c => c.Marked("Home"));
     RunningApp.WaitForElement(c => c.Marked("lblHome"));
     OpenMDP("ShowMasterBtnHome");
     RunningApp.Tap(c => c.Marked("About"));
     RunningApp.WaitForElement(c => c.Marked("lblAbout"));
     OpenMDP("ShowMasterBtnAbout");
     if (RunningApp is iOSApp)
     {
         return;
     }
     RunningApp.DoubleTap(c => c.Marked("Home"));
     RunningApp.WaitForElement(c => c.Marked("lblHome"));
     RunningApp.Tap(c => c.Marked("About"));
     RunningApp.WaitForNoElement(c => c.Marked("Home"));
 }
Esempio n. 10
0
 public void AnimationCancel()
 {
     RunningApp.WaitForElement(ButtonId);
     RunningApp.DoubleTap(ButtonId);
     RunningApp.WaitForElement(Success, timeout: TimeSpan.FromSeconds(25));
 }
Esempio n. 11
0
 public void AnimationCancel()
 {
     RunningApp.WaitForElement(ButtonId);
     RunningApp.DoubleTap(ButtonId);
     RunningApp.WaitForElement(Success);
 }