public void MoveToDiffTaskList(bool moveIt, int taskListIndex) { App.Tap(x => _moveTaskDialogId.Child().Index(taskListIndex)); App.WaitForElement(_yesButton); if (moveIt) { App.Tap(_yesButton); } else { App.Tap(_noButton); } App.WaitForNoElement(_yesButton); }
public void ChangeAppTheme() { var accentColor = GetAppBarBgColor(); int themeIndex = IsDarkThemeSelected(accentColor) ? 1 : 0; App.Tap(x => _appThemeDialog.Child().Index(themeIndex)); App.WaitForNoElement(x => _appThemeDialog); }