Merge branch 'ws-files-viewer'

This commit is contained in:
2026-11-07 01:46:13 +00:00
5 changed files with 58 additions and 31 deletions
@@ -210,10 +210,15 @@ void main() {
addTearDown(controller.dispose);
await tester.pumpWidget(
CupertinoApp(
theme: const CupertinoThemeData(brightness: Brightness.dark),
home: CupertinoPageScaffold(child: FilesPanel(controller: controller)),
),
);
await tester.pumpAndSettle();
expect(
Theme.of(tester.element(find.byType(ListTile).first)).brightness,
Brightness.dark,
);
await tester.tap(find.text('archive.zip'));
await tester.pumpAndSettle();
expect(find.text('Download'), findsOneWidget);