Пример #1
0
        public void EffectsTest(bool canExecute)
        {
            //Arrange

            //Act
            SelectionPage.TapEffectsPageButton();

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

            EffectsPage.TapEffectsEntryReturnButton();

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

            //Assert
            if (canExecute)
            {
                App.WaitForElement(PageTitles.Selection);
            }
            else
            {
                App.WaitForElement(PageTitles.Effects);
            }
        }
Пример #2
0
        public void EffectsTest()
        {
            //Arrange

            //Act
            SelectionPage.TapEffectsPageButton();
            EffectsPage.TapEffectsEntryReturnButton();
            EffectsPage.AcceptClosingDialogPopup();

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