File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -972,6 +972,16 @@ void main() {
972972 return finder.evaluate ().isNotEmpty;
973973 }
974974
975+ (Widget , Widget ) checkConfirmDialog (WidgetTester tester) {
976+ final zulipLocalizations = GlobalLocalizations .zulipLocalizations;
977+ return checkSuggestedActionDialog (tester,
978+ expectedTitle: zulipLocalizations.markAllAsReadConfirmationDialogTitle,
979+ expectedMessage: zulipLocalizations.markAllAsReadConfirmationDialogMessage,
980+ expectDestructiveActionButton: true ,
981+ expectedActionButtonText: zulipLocalizations.markAllAsReadConfirmationDialogAction,
982+ );
983+ }
984+
975985 testWidgets ('from read to unread' , (tester) async {
976986 final message = eg.streamMessage (flags: [MessageFlag .read]);
977987 await setupMessageListPage (tester, messages: [message]);
You can’t perform that action at this time.
0 commit comments