Skip to content

Commit

Permalink
chore: Delay after navigation to test
Browse files Browse the repository at this point in the history
  • Loading branch information
eriklimakc committed Sep 25, 2024
1 parent e7d4a2c commit 040b593
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@ public async Task When_Chefs_FavoriteRecipes_RecipeDetails()

App.WaitThenTap("ShowAppButton");
App.WaitThenTap("NextButton");
await Task.Delay(5000);
App.WaitThenTap("LoginButton");
await Task.Delay(5000);
App.WaitThenTap("FavoriteRecipesButton");
await Task.Delay(5000);
App.WaitThenTap("RecipeDetailsButton");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -75,17 +75,21 @@ public async Task When_ToDo_Narrow_Nav_ContentControl()
App.WaitThenTap("ShowAppButton");

App.WaitThenTap("NarrowButton");
await Task.Delay(5000);

// Make sure the app has loaded
App.WaitElement("WelcomeNavigationBar");

// Login
await App.TapAndWait("LoginButton", "HomeNavigationBar");
await Task.Delay(5000);

// Select a task list
await App.TapAndWait("SelectTaskList2Button", "TaskListNavigationBar");
await Task.Delay(5000);

await App.TapAndWait("SelectActiveTask1Button", "TaskNavigationBar");
await Task.Delay(5000);

await App.TapAndWait("DetailsBackButton", "TaskListNavigationBar");
}
Expand Down

0 comments on commit 040b593

Please sign in to comment.