Skip to content

Commit

Permalink
test: Adapt to change in [MenuItemButton.onPressed] logic that broke …
Browse files Browse the repository at this point in the history
…tests

Along with 2f0f469, this is a reminder that it'd be good to get
our repo added to Flutter's "customer tests" suite: zulip#239.

It's also another reminder among several that it'd be good to pin a
precise version of Flutter: zulip#15.

Discussion:
  https://chat.zulip.org/#narrow/stream/243-mobile-team/topic/flutter.3A.20Failing.20tests/near/1615254

Related: zulip#15
Related: zulip#239
  • Loading branch information
chrisbobbe authored and gnprice committed Jul 25, 2023
1 parent 74d1255 commit 38ed6c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/widgets/action_sheet_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ void main() {
final quoteAndReplyButton = findQuoteAndReplyButton(tester);
check(quoteAndReplyButton).isNotNull();
await tester.tap(find.byWidget(quoteAndReplyButton!));
await tester.pump(); // [MenuItemButton.onPressed] called in a post-frame callback: flutter/flutter@e4a39fa2e
}

void checkLoadingState(PerAccountStore store, ComposeContentController contentController, {
Expand Down

0 comments on commit 38ed6c8

Please sign in to comment.