Skip to content

Commit

Permalink
feat(integration test): bottom bar navigation to new post
Browse files Browse the repository at this point in the history
  • Loading branch information
Aderfish committed Apr 12, 2024
1 parent 9fc9d57 commit 85bbe26
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions integration_test/app_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,13 @@ Future<void> bottomNavigation(WidgetTester tester) async {
await tester.pumpAndSettle();
expect(find.text("Proxima"), findsOneWidget);

// New Post
await tester.tap(find.text("New post"));
await tester.pumpAndSettle();
expect(find.text("Create a new post"), findsOneWidget);
await tester.tap(find.byKey(LeadingBackButton.leadingBackButtonKey));
await tester.pumpAndSettle();

// Home (Feed)
await tester.tap(find.text("Feed"));
await tester.pumpAndSettle();
Expand Down

0 comments on commit 85bbe26

Please sign in to comment.