Files
pipelines/app/test/features/settings/settings_topic_test_helper.dart
T

10 lines
311 B
Dart

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));
}