Preserve stock Navigator Back for native phone chat panes
This commit is contained in:
@@ -127,6 +127,12 @@ void main() {
|
||||
await tester.tap(find.text('Chat a').first);
|
||||
await tester.pumpAndSettle();
|
||||
expect(find.byTooltip('Back').hitTestable(), findsOneWidget);
|
||||
expect(
|
||||
tester
|
||||
.widget<BackButton>(find.byType(BackButton).hitTestable())
|
||||
.onPressed,
|
||||
isNull,
|
||||
);
|
||||
final stateA = tester.state(_thread('a'));
|
||||
await tester.enterText(_input('a'), 'Phone draft A');
|
||||
await tester.pumpAndSettle();
|
||||
|
||||
Reference in New Issue
Block a user