Files
pipelines/app/test/features/settings/settings_section_test_helper.dart
T
alan 3136e5bb7e Redesign Settings as grouped searchable page
Replace the tabbed Settings flow with a single grouped page that searches and lazily loads server-backed sections. Preserve existing settings behavior while adding inline loading and retry states and updating coverage for the new navigation model.
2026-11-12 02:54:07 +00:00

12 lines
434 B
Dart

import 'package:flutter_test/flutter_test.dart';
/// Scrolls the Settings page to the heading [title] and lets a lazy section
/// that the scroll reaches load its content.
Future<void> openSettingsSection(WidgetTester tester, String title) async {
final heading = find.text(title).first;
await tester.ensureVisible(heading);
await tester.pump();
await tester.pump();
await tester.pump(const Duration(milliseconds: 300));
}