Organize settings into retained topic tabs
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
|
||||
Future<void> selectSettingsTopic(WidgetTester tester, String topic) async {
|
||||
final label = find.text(topic).first;
|
||||
await tester.ensureVisible(label);
|
||||
await tester.tap(label);
|
||||
await tester.pump();
|
||||
await tester.pump(const Duration(milliseconds: 350));
|
||||
}
|
||||
Reference in New Issue
Block a user