Skip to content

Commit

Permalink
test(navigation): improve test naming.
Browse files Browse the repository at this point in the history
  • Loading branch information
CHOOSEIT committed Apr 11, 2024
1 parent 569ae36 commit 6388a8d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions test/component/home/navigation_home_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ void main() {
child: homePageApp,
);

testWidgets("new post flow with posts, using bottom bar and come back",
testWidgets(
"new post flow with posts, using bottom bar and use back button to come back to home page",
(tester) async {
await tester.pumpWidget(nonEmptyMockedPage);
await tester.pumpAndSettle();
Expand Down Expand Up @@ -59,7 +60,8 @@ void main() {
expect(homePage, findsOneWidget);
});

testWidgets("new post flow without post, using bottom bar and come back",
testWidgets(
"new post flow without post, using bottom bar and use back button to go back to home page",
(tester) async {
await tester.pumpWidget(emptyMockedPage);
await tester.pumpAndSettle();
Expand Down Expand Up @@ -96,7 +98,8 @@ void main() {
expect(homePage, findsOneWidget);
});

testWidgets("new post flow without post, using button text and come back",
testWidgets(
"new post flow without post, using button creation text and come back to home page using back button",
(tester) async {
await tester.pumpWidget(emptyMockedPage);
await tester.pumpAndSettle();
Expand Down

0 comments on commit 6388a8d

Please sign in to comment.