Skip to content

Commit 38ed6c8

Browse files
chrisbobbegnprice
authored andcommitted
test: Adapt to change in [MenuItemButton.onPressed] logic that broke tests
Along with 2f0f469, this is a reminder that it'd be good to get our repo added to Flutter's "customer tests" suite: #239. It's also another reminder among several that it'd be good to pin a precise version of Flutter: #15. Discussion: https://chat.zulip.org/#narrow/stream/243-mobile-team/topic/flutter.3A.20Failing.20tests/near/1615254 Related: #15 Related: #239
1 parent 74d1255 commit 38ed6c8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/widgets/action_sheet_test.dart

+1
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ void main() {
100100
final quoteAndReplyButton = findQuoteAndReplyButton(tester);
101101
check(quoteAndReplyButton).isNotNull();
102102
await tester.tap(find.byWidget(quoteAndReplyButton!));
103+
await tester.pump(); // [MenuItemButton.onPressed] called in a post-frame callback: flutter/flutter@e4a39fa2e
103104
}
104105

105106
void checkLoadingState(PerAccountStore store, ComposeContentController contentController, {

0 commit comments

Comments
 (0)