예제 #1
0
        public void CustomRendererTest(bool canExecute)
        {
            //Arrange

            //Act
            SelectionPage.TapCustomRendererPageButton();

            if (canExecute)
            {
                CustomRendererPage.ToggleCanExecuteSwitch();
            }

            CustomRendererPage.TapCustomReturnEntryReturnButton();

            if (canExecute)
            {
                CustomRendererPage.AcceptClosingDialogPopup();
            }

            //Assert
            if (canExecute)
            {
                App.WaitForElement(PageTitles.Selection);
            }
            else
            {
                App.WaitForElement(PageTitles.CustomRenderer);
            }
        }
예제 #2
0
        public override void TestSetup()
        {
            base.TestSetup();

            SelectionPage      = new SelectionPage(App);
            EffectsPage        = new EffectsPage(App);
            CustomRendererPage = new CustomRendererPage(App);
        }
예제 #3
0
        public void CustomRendererTest()
        {
            //Arrange

            //Act
            SelectionPage.TapCustomRendererPageButton();
            CustomRendererPage.TapCustomReturnEntryReturnButton();
            CustomRendererPage.AcceptClosingDialogPopup();

            //Assert
            App.WaitForElement(PageTitles.Selection);
        }