示例#1
0
 public void Test2()
 {
     if (Issue1461Helpers.ShouldRunTest(RunningApp))
     {
         RunningApp.SetOrientationLandscape();
         var query = RunningApp.Query(q => q.Marked("Master_Label"));
         Assert.IsTrue(query.Any(), "Master should be present");
         RunningApp.Screenshot("Master should not present");
         RunningApp.SetOrientationPortrait();
         query = RunningApp.Query(q => q.Marked("Master_Label"));
         Assert.IsTrue(!query.Any(), "Master should not present");
         RunningApp.Screenshot("Master should not present");
         RunningApp.Tap(q => q.Marked("Go Back"));
     }
     else
     {
         Assert.Inconclusive("Only run on iOS Tablet");
     }
 }
示例#2
0
        public void Issue773TestsRotationRelayoutIssue()
        {
            RunningApp.SetOrientationLandscape();

            var buttonLabels = new [] {
                "Button 1",
                "Button 2",
                "Button 3",
            };

            foreach (string buttonLabel in buttonLabels)
            {
                RunningApp.WaitForElement(q => q.Button(buttonLabel));
            }

            RunningApp.Screenshot("StackLayout in Modal respects rotation");

            RunningApp.SetOrientationPortrait();
        }
示例#3
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
        }
示例#4
0
        public void ChangeOrientationCheckScroll()
        {
#if __ANDROID__
            var isAndroid = true;
#else
            var isAndroid = false;
#endif
            var grid1 = RunningApp.Query("MainGrid").Single();
            RunningApp.SetOrientationLandscape();
            RunningApp.ScrollDown();
            RunningApp.SetOrientationPortrait();
            var grid2 = RunningApp.Query("MainGrid").Single();
            RunningApp.Screenshot("Did it resize ok? Do you see some white on the bottom?");

            if (!isAndroid)
            {
                Assert.AreEqual(grid1.Rect.CenterY, grid2.Rect.CenterY);
            }
        }
示例#5
0
        public void Issue206TestsTextInTextCellResizes()
        {
            RunningApp.WaitForElement(q => q.Marked("Click 9"));
            RunningApp.WaitForElement(q => q.Marked("0"));
            RunningApp.WaitForElement(q => q.Marked("1"));
            RunningApp.WaitForElement(q => q.Marked("2"));

            RunningApp.Screenshot("All elements exist");

#if !__MACOS__
            var scrollRect = RunningApp.RootViewRect();
            Xamarin.Forms.Core.UITests.Gestures.ScrollForElement(RunningApp, "* marked:'9'", new Xamarin.Forms.Core.UITests.Drag(scrollRect, Xamarin.Forms.Core.UITests.Drag.Direction.BottomToTop, Xamarin.Forms.Core.UITests.Drag.DragLength.Long));
            RunningApp.Screenshot("I see 9");
#endif

            RunningApp.Tap(q => q.Marked("9"));
            RunningApp.WaitForNoElement(q => q.Marked("9"));

            RunningApp.Screenshot("The text should not be cropped");
        }
示例#6
0
        public void TestDoesntCrashShowingContextMenu()
        {
            var screenBounds = RunningApp.Query(q => q.Raw("* index:0"))[0].Rect;

            var cell = RunningApp.Query(c => c.Marked("Swipe ME")) [0];

            if (RunningApp is iOSApp)
            {
                RunningApp.DragCoordinates(screenBounds.Width - 10, cell.Rect.CenterY, 0, cell.Rect.CenterY);
                //TODO: fix this when context menu bug is fixed
                RunningApp.WaitForElement(c => c.Marked("Text4"));
            }
            else
            {
                RunningApp.TouchAndHoldCoordinates(cell.Rect.CenterX, cell.Rect.CenterY);
                RunningApp.WaitForElement(c => c.Marked("Text0"));
            }
            RunningApp.Screenshot("Didn't crash");
            RunningApp.TapCoordinates(screenBounds.CenterX, screenBounds.CenterY);
        }
示例#7
0
        public void TestShowContextMenuItemsInTheRightOrder()
        {
            RunningApp.WaitForElement(c => c.Marked("Swipe ME"));

            var screenBounds = RunningApp.Query(q => q.Raw("* index:0"))[0].Rect;

            var cell = RunningApp.Query(c => c.Marked("Swipe ME")) [0];

#if __IOS__
            RunningApp.DragCoordinates(screenBounds.Width - 10, cell.Rect.CenterY, 0, cell.Rect.CenterY);
#else
            RunningApp.TouchAndHoldCoordinates(cell.Rect.CenterX, cell.Rect.CenterY);
#endif
            RunningApp.WaitForElement(c => c.Marked("Text0"));
            RunningApp.Screenshot("Are the menuitems in the right order?");

#if __ANDROID__
            RunningApp.Tap(c => c.Marked("Text0"));
#endif
        }
示例#8
0
        public void Bugzilla30317ItemSourceTabbedPage()
        {
            if (RunningApp is AndroidApp)
            {
                RunningApp.WaitForElement(q => q.Marked("GoToPageTwoButton"));
                RunningApp.Tap(q => q.Marked("GoToPageTwoButton"));

                RunningApp.Screenshot("I see Page 2");
                RunningApp.WaitForElement(q => q.Marked("PageTwo"));

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

                RunningApp.Screenshot("I see TabbedPage One");
                RunningApp.WaitForElement(q => q.Marked("TabOneCtor"));

                RunningApp.WaitForElement(q => q.Marked("PageThreeTabOneItem1"));
                RunningApp.TouchAndHold(q => q.Marked("PageThreeTabOneItem1"));
                RunningApp.WaitForElement(q => q.Marked("PageThreeTabOneItem1"));

                RunningApp.WaitForElement(q => q.Marked("PageThreeTabOneItem5"));
                RunningApp.TouchAndHold(q => q.Marked("PageThreeTabOneItem5"));
                RunningApp.WaitForElement(q => q.Marked("PageThreeTabOneItem5"));

                RunningApp.Screenshot("I see TabbedPage Two");
                RunningApp.WaitForElement(q => q.Marked("TabTwoOnAppearing"));
                RunningApp.Tap(q => q.Marked("TabTwoOnAppearing"));

                RunningApp.WaitForElement(q => q.Marked("PageThreeTabTwoItem1"));
                RunningApp.TouchAndHold(q => q.Marked("PageThreeTabTwoItem1"));
                RunningApp.WaitForElement(q => q.Marked("PageThreeTabTwoItem1"));

                RunningApp.WaitForElement(q => q.Marked("PageThreeTabTwoItem5"));
                RunningApp.TouchAndHold(q => q.Marked("PageThreeTabTwoItem5"));
                RunningApp.WaitForElement(q => q.Marked("PageThreeTabTwoItem5"));
            }
            else
            {
                Assert.Inconclusive("Not run on iOS");
            }
        }
示例#9
0
        public void Bugzilla30317ItemSourceOnAppearingContentPage()
        {
            if (RunningApp is AndroidApp)
            {
                RunningApp.Screenshot("I am at Bugzilla30317");
                RunningApp.WaitForElement(q => q.Marked("PageOne"));
                RunningApp.Screenshot("I see Page 1");

                RunningApp.WaitForElement(q => q.Marked("PageOneItem1"));
                RunningApp.TouchAndHold(q => q.Marked("PageOneItem1"));

                RunningApp.WaitForElement(q => q.Marked("PageOneItem5"));
                RunningApp.TouchAndHold(q => q.Marked("PageOneItem5"));

                RunningApp.Screenshot("I did not crash");
            }
            else
            {
                Assert.Inconclusive("Not run on iOS");
            }
        }
示例#10
0
        public void Issue774TestsDismissActionSheetAfterRotation()
        {
            RunningApp.Tap(q => q.Button("Show ActionSheet"));
            RunningApp.Screenshot("Show ActionSheet");

            RunningApp.SetOrientationLandscape();
            RunningApp.Screenshot("Rotate Device");

            // Wait for the action sheet element to show up
            RunningApp.WaitForElement(q => q.Marked("What's up"));

            var dismiss = RunningApp.Query("Dismiss");

            var target = dismiss.Length > 0 ? "Dismiss" : "Destroy";


            RunningApp.Tap(q => q.Marked(target));
            RunningApp.WaitForNoElement(q => q.Marked(target));

            RunningApp.Screenshot("Dismiss ActionSheet");
        }
示例#11
0
        public void OnservableCollectionChangeListView()
        {
            // Tab 1
            RunningApp.Tap(q => q.Marked("Switch"));
            RunningApp.Screenshot("Switch On");
            RunningApp.Tap(q => q.Marked("Results"));

            // Tab 2
            RunningApp.WaitForElement(q => q.Marked("Entry 0 of 5"));
            RunningApp.WaitForElement(q => q.Marked("Entry 1 of 5"));
            RunningApp.WaitForElement(q => q.Marked("Entry 2 of 5"));
            RunningApp.WaitForElement(q => q.Marked("Entry 3 of 5"));
            RunningApp.WaitForElement(q => q.Marked("Entry 4 of 5"));
            RunningApp.Screenshot("Should be 5 elements");
            RunningApp.Tap(q => q.Marked("Generate"));

            // Tab 1
            RunningApp.Tap(q => q.Marked("Switch"));
            RunningApp.Screenshot("Switch Off");
            RunningApp.Tap(q => q.Marked("Results"));

            // Tab 2
            RunningApp.WaitForElement(q => q.Marked("Entry 0 of 2"));
            RunningApp.WaitForElement(q => q.Marked("Entry 1 of 2"));
            RunningApp.Screenshot("Should be 2 elements");

            // Tab 1
            RunningApp.Tap(q => q.Marked("Generate"));
            RunningApp.Tap(q => q.Marked("Switch"));
            RunningApp.Screenshot("Switch On");
            RunningApp.Tap(q => q.Marked("Results"));

            // Tab 2
            RunningApp.WaitForElement(q => q.Marked("Entry 0 of 5"));
            RunningApp.WaitForElement(q => q.Marked("Entry 1 of 5"));
            RunningApp.WaitForElement(q => q.Marked("Entry 2 of 5"));
            RunningApp.WaitForElement(q => q.Marked("Entry 3 of 5"));
            RunningApp.WaitForElement(q => q.Marked("Entry 4 of 5"));
            RunningApp.Screenshot("Should be 5 elements");
        }
示例#12
0
        public void ChangeOrientationCheckScroll()
        {
            var isAndroid = RunningApp is AndroidApp;
            var className = "Xamarin_Forms_Platform_iOS_BoxRenderer";

            if (isAndroid)
            {
                className = "BoxRenderer";
            }
            var box1 = RunningApp.Query(c => c.Class(className)) [0];

            RunningApp.SetOrientationLandscape();
            RunningApp.ScrollDown();
            RunningApp.SetOrientationPortrait();
            var box2 = RunningApp.Query(c => c.Class(className)) [0];

            RunningApp.Screenshot("Did it resize ok? Do you see some white on the bottom?");
            if (!isAndroid)
            {
                Assert.AreEqual(box1.Rect.CenterY, box2.Rect.CenterY);
            }
        }
示例#13
0
        public void Issue973TestsTabResetAfterDetailSwap()
        {
            RunningApp.WaitForElement(q => q.Marked("Initial Page Left aligned"));
            RunningApp.WaitForElement(q => q.Marked("Tab 1"));

            RunningApp.Tap(q => q.Marked("Tab 2"));
            RunningApp.WaitForElement(q => q.Marked("Initial Page Right aligned"));
            RunningApp.Screenshot("Tab 2 showing");

            RunningApp.Tap(q => q.Marked("Present Flyout"));

            RunningApp.Tap(q => q.Marked("Page 4"));
            RunningApp.Screenshot("Change detail page");

            RunningApp.Tap(q => q.Marked("Close Flyout"));

            RunningApp.WaitForElement(q => q.Marked("Page 4 Left aligned"));
            RunningApp.Screenshot("Tab 1 Showing and tab 1 should be selected");

            RunningApp.Tap(q => q.Marked("Tab 2"));
            RunningApp.WaitForElement(q => q.Marked("Page 4 Right aligned"));
            RunningApp.Screenshot("Tab 2 showing");
        }
示例#14
0
        public void Bugzilla30317ItemSourceCtorContentPage()
        {
            if (RunningApp is AndroidApp)
            {
                RunningApp.WaitForElement(q => q.Marked("GoToPageTwoButton"));
                RunningApp.Tap(q => q.Marked("GoToPageTwoButton"));

                RunningApp.WaitForElement(q => q.Marked("PageTwo"));
                RunningApp.Screenshot("I see Page 2");

                RunningApp.WaitForElement(q => q.Marked("PageTwoItem1"));
                RunningApp.TouchAndHold(q => q.Marked("PageTwoItem1"));

                RunningApp.WaitForElement(q => q.Marked("PageTwoItem5"));
                RunningApp.TouchAndHold(q => q.Marked("PageTwoItem5"));

                RunningApp.Screenshot("I did not crash");
            }
            else
            {
                Assert.Inconclusive("Not run on iOS");
            }
        }
示例#15
0
        public void Issue2965Test()
        {
            RunningApp.Screenshot("I am at Issue 2965");
            var element = RunningApp.WaitForElement(q => q.Marked("lblCount"))[0];

            Assert.That(element.Text, Is.EqualTo("1"));

#if __IOS__
            RunningApp.Tap(q => q.Marked("Menu"));
#else
            RunningApp.Tap("ShowMasterBtnPage1");
#endif
            RunningApp.Tap(q => q.Marked("btnDetail2"));

#if __IOS__
            RunningApp.Tap(q => q.Marked("Menu"));
#else
            RunningApp.Tap("ShowMasterBtnPage2");
#endif
            RunningApp.Tap(q => q.Marked("btnDetail1"));
            element = RunningApp.WaitForElement(q => q.Marked("lblCount"))[0];
            Assert.That(element.Text, Is.EqualTo("1"));
        }
示例#16
0
        public void TestIsEnabledFalseContextActions()
        {
            if (RunningApp is iOSApp)
            {
                var disable1 = RunningApp.Query(c => c.Marked("txtCellDisableContextActions1")) [0];
                Assert.IsFalse(disable1.Enabled);

                var screenBounds = RunningApp.Query(q => q.Raw("* index:0")) [0].Rect;

                if (RunningApp is iOSApp)
                {
                    RunningApp.DragCoordinates(screenBounds.Width - 10, disable1.Rect.CenterY, 10, disable1.Rect.CenterY);
                }
                else
                {
                    disable1 = RunningApp.Query(c => c.Marked("txtCellDisableContextActions1")) [0];
                    RunningApp.TouchAndHoldCoordinates(disable1.Rect.CenterX, disable1.Rect.CenterY);
                }
                RunningApp.Screenshot("Not showing context menu");
                RunningApp.WaitForNoElement(c => c.Marked("More"));
                RunningApp.TapCoordinates(screenBounds.CenterX, screenBounds.CenterY);
            }
        }
示例#17
0
        public void Issue2411ScrollToPositionMakeVisible()
        {
            RunningApp.WaitForElement(q => q.Marked("99 99 99 99 99 99"));
            RunningApp.Screenshot("ScrollTo working correctly");
            RunningApp.Tap(q => q.Marked("Crash in ScrollToPosition.End"));
            RunningApp.Screenshot("On Second Tab");
            RunningApp.WaitForElement(q => q.Marked("2 0 0 0 0 0 0"));
            RunningApp.Tap(q => q.Marked("Scroll To in OnAppearing"));
            RunningApp.Screenshot("On First Tab");
            RunningApp.WaitForElement(q => q.Marked("99 99 99 99 99 99"));

            var listViewBound = RunningApp.Query(q => q.Marked("listView"))[0].Rect;

            System.Maui.Core.UITests.Gestures.ScrollForElement(RunningApp, "* marked:'0 0 0 0 0 0'", new System.Maui.Core.UITests.Drag(listViewBound, System.Maui.Core.UITests.Drag.Direction.TopToBottom, System.Maui.Core.UITests.Drag.DragLength.Long));
            RunningApp.Screenshot("Scrolled to Top");

            RunningApp.Tap(q => q.Marked("Crash in ScrollToPosition.End"));
            RunningApp.Screenshot("On Second Tab");
            RunningApp.WaitForElement(q => q.Marked("2 0 0 0 0 0 0"));
            RunningApp.Tap(q => q.Marked("Scroll To in OnAppearing"));
            RunningApp.Screenshot("On First Tab");
            RunningApp.WaitForElement(q => q.Marked("99 99 99 99 99 99"));
        }
示例#18
0
        public void Issue34007TestFirstElementHasLowestZOrder()
        {
            var buttonLocations = RunningApp.WaitForElement(q => q.Marked("Button 0"));

            var x = buttonLocations [0].Rect.CenterX;
            var y = buttonLocations [0].Rect.CenterY;

            // Button 1 was the last item added to the grid; it should be tappable
            RunningApp.Tap(q => q.Button("Button 1"));

            // The label should indicate that Button 1 was the last button tapped
            RunningApp.WaitForElement(q => q.Marked("Button 1 was tapped last"));

            RunningApp.Screenshot("Buttons Reordered");

            // Tapping Button1 1 reordered the buttons in the grid; Button 0 should
            // now be on top. Tapping at the Button 1 location should actually tap
            // Button 0, and the label should indicate that
            RunningApp.TapCoordinates(x, y);
            RunningApp.WaitForElement(q => q.Marked("Button 0 was tapped last"));

            RunningApp.Screenshot("Button 0 Tapped");
        }
示例#19
0
        public void Issue198TestsNREWithPopModal()
        {
            RunningApp.WaitForElement(q => q.Marked("Page One"));
            RunningApp.WaitForElement(q => q.Button("Leave"));
            RunningApp.Screenshot("All Elements Present");

            RunningApp.Tap(q => q.Marked("Leave"));
            RunningApp.Screenshot("Clicked Leave");

            RunningApp.WaitForElement(q => q.Marked("Bug Repro's"));
#if !__MACOS__
            RunningApp.ClearText(q => q.Raw("* marked:'SearchBarGo'"));
            RunningApp.EnterText(q => q.Raw("* marked:'SearchBarGo'"), "G198");
#endif
            RunningApp.Tap(q => q.Marked("SearchButton"));
            RunningApp.Screenshot("Navigate into gallery again");

            RunningApp.WaitForElement(q => q.Marked("Page Three"));
            RunningApp.Tap(q => q.Marked("Page Three"));

            RunningApp.WaitForElement(q => q.Marked("No Crash"));
            RunningApp.Screenshot("App did not crash");
        }
示例#20
0
        public void Issue10563OpenSwipeViewTest()
        {
            RunningApp.WaitForElement(OpenLeftId);
            RunningApp.Tap(OpenLeftId);
            RunningApp.Screenshot("Left SwipeItems");
            RunningApp.Tap(CloseId);

            RunningApp.WaitForElement(OpenRightId);
            RunningApp.Tap(OpenRightId);
            RunningApp.Screenshot("Right SwipeItems");

            RunningApp.Tap(CloseId);

            RunningApp.WaitForElement(OpenTopId);
            RunningApp.Tap(OpenTopId);
            RunningApp.Screenshot("Top SwipeItems");
            RunningApp.Tap(CloseId);

            RunningApp.WaitForElement(OpenBottomId);
            RunningApp.Tap(OpenBottomId);
            RunningApp.Screenshot("Bottom SwipeItems");
            RunningApp.Tap(CloseId);
        }
示例#21
0
        public void RefreshContextActions()
        {
            RunningApp.WaitForElement("Cell 1");
            RunningApp.Screenshot("I am at Issue 1455");
            RunningApp.TouchAndHold(q => q.Marked("Cell 4"));
            RunningApp.Screenshot("Long Press Cell 4 to show context actions");
            RunningApp.Tap(q => q.Marked("Cell 5"));
            RunningApp.Screenshot("Clicked another cell and changed menu items");

            Assert.AreEqual(1, RunningApp.Query(c => c.Marked("Hendrerit")).Length);

            RunningApp.Back();

            RunningApp.WaitForElement("Toggle LegacyMode");
            RunningApp.Tap(q => q.Marked("Toggle LegacyMode"));

            RunningApp.TouchAndHold(q => q.Marked("Cell 4"));
            RunningApp.Screenshot("Long Press Cell 4 to show context actions");
            RunningApp.Tap(q => q.Marked("Cell 5"));
            RunningApp.Screenshot("Clicked another cell and changed menu items");

            Assert.AreEqual(1, RunningApp.Query(c => c.Marked("Vestibulum")).Length);
        }
示例#22
0
        public void Issue7167Test()
        {
            // arrange
            // add items to the list and scroll down till item "25"
            RunningApp.Screenshot("Empty ListView");
            RunningApp.Tap(q => q.Button(AddRangeCommandId));
            RunningApp.Tap(q => q.Button(AddRangeCommandId));
            RunningApp.WaitForElement(c => c.Index(25).Property("Enabled", true));
            RunningApp.Print.Tree();
            RunningApp.ScrollDownTo(a => a.Marked("25").Property("text").Contains("25"),
                                    b => b.Marked(ListViewId), ScrollStrategy.Auto);
            RunningApp.WaitForElement(x => x.Marked("25"));

            // act
            // when adding additional items via a addrange and a CollectionChangedEventArgs.Action.Reset is sent
            // then the listview shouldnt reset or it should not scroll to the top
            RunningApp.Tap(q => q.Marked(AddRangeCommandId));

            // assert
            // assert that item "25" is still visible
            var result = RunningApp.Query(x => x.Marked(ListViewId).Child().Marked("25"));

            Assert.That(result?.Length <= 0);
        }
示例#23
0
        public void Issue417TestsNavigateAndPopToRoot()
        {
            RunningApp.WaitForElement(q => q.Marked("First Page"));
            RunningApp.WaitForElement(q => q.Button("Next Page"));
            RunningApp.Screenshot("All elements present");

            RunningApp.Tap(q => q.Button("Next Page"));

            RunningApp.WaitForElement(q => q.Marked("Second Page"));
            RunningApp.WaitForElement(q => q.Button("Next Page 2"));
            RunningApp.Screenshot("At second page");
            RunningApp.Tap(q => q.Button("Next Page 2"));

            RunningApp.WaitForElement(q => q.Marked("Third Page"));
            RunningApp.WaitForElement(q => q.Button("Pop to root"));
            RunningApp.Screenshot("At third page");
            RunningApp.Tap(q => q.Button("Pop to root"));

            RunningApp.WaitForElement(q => q.Marked("First Page"));
            RunningApp.WaitForElement(q => q.Button("Next Page"));
            RunningApp.Screenshot("All elements present");

            RunningApp.Screenshot("Popped to root");
        }
示例#24
0
文件: Issue3342.cs 项目: gywerd/CPUI
 public void Issue3342Test()
 {
     RunningApp.Screenshot("I am at Issue 3342");
     //RunningApp.WaitForNoElement (q => q.Marked ("FAIL"));
     RunningApp.Screenshot("I see the green box");
 }
示例#25
0
文件: Issue2775.cs 项目: gywerd/CPUI
 public void Issue2775Test()
 {
     RunningApp.WaitForElement("TestReady");
     RunningApp.Screenshot("I am at Issue 2775");
     RunningApp.Screenshot("I see the Label");
 }
示例#26
0
 public void Issue3413Test()
 {
     RunningApp.WaitForElement(q => q.Marked("srb_vertical"));
     RunningApp.WaitForElement(q => q.Marked("srb_horizontal"));
     RunningApp.Screenshot("Please verify we have 2 SearchBars. One below the label, other side by side with the label");
 }
示例#27
0
 public void TabbedPageWithListViewIssueTestsAllElementsPresent()
 {
     RunningApp.WaitForElement(q => q.Marked("Tab Two"));
     RunningApp.WaitForElement(q => q.Marked("List Page"));
     RunningApp.Screenshot("All elements present");
 }
示例#28
0
 public void Issue2923TestTwo()
 {
     RunningApp.Tap(q => q.Marked("ResetButton"));
     RunningApp.Screenshot("Tabs Reset");
     RunningApp.WaitForElement(q => q.Marked("ResetPageLabel"));
 }
示例#29
0
 public void Issue2923TestOne()
 {
     RunningApp.WaitForElement(q => q.Marked("FirstPageLabel"));
     RunningApp.Screenshot("First Tab is showing");
 }
示例#30
0
 public void Issue181TestsLabelShouldHaveRedText()
 {
     RunningApp.WaitForElement(q => q.Marked("I should have red text"));
     RunningApp.Screenshot("Label should have red text");
 }