public void UploadFoodTest() { //Arrange const string testFoodDescription = "Pizza"; //Act FoodListPage.TapAddFoodButton(); App.InvokeBackdoorMethod(BackdoorMethodConstants.InjectImageIntoAddFoodPage); AddFoodPage.TapUploadButton(); try { AddFoodPage.WaitForActivityIndicator(); } catch { } AddFoodPage.WaitForNoActivityIndicator(); AddFoodPage.TapOkDialog(); //Assert FoodListPage.WaitForPageToLoad(); FoodListPage.DoesFoodExistInList(testFoodDescription); }
public void LaunchTest() => FoodListPage.WaitForPageToLoad();
public override void TestSetup() { base.TestSetup(); FoodListPage.WaitForPageToLoad(); }