fix(chat): use stock Navigator Back at every screen width
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
import '../native_back.dart';
|
||||
import 'package:pipelines_app/application/app_router.dart';
|
||||
import 'package:pipelines_app/core/transport/pipelines_client.dart';
|
||||
|
||||
@@ -122,7 +123,7 @@ void main() {
|
||||
await tester.pumpAndSettle();
|
||||
expect(find.text('Navigation dialog'), findsNothing);
|
||||
expect(provider.value.uri.path, detailPath);
|
||||
expect(find.byKey(const ValueKey('shell.back')), findsOneWidget);
|
||||
expect(findNativeBack(), findsOneWidget);
|
||||
|
||||
if (predictive) {
|
||||
await backGesture(tester, 'startBackGesture');
|
||||
|
||||
Reference in New Issue
Block a user