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); } }
public override void TestSetup() { base.TestSetup(); SelectionPage = new SelectionPage(App); EffectsPage = new EffectsPage(App); CustomRendererPage = new CustomRendererPage(App); }
public void CustomRendererTest() { //Arrange //Act SelectionPage.TapCustomRendererPageButton(); CustomRendererPage.TapCustomReturnEntryReturnButton(); CustomRendererPage.AcceptClosingDialogPopup(); //Assert App.WaitForElement(PageTitles.Selection); }