chore: fix integration test

This commit is contained in:
Lucas.Xu 2024-07-28 11:23:00 +08:00
parent 4a6e00a3d3
commit e02b237423

View File

@ -12,7 +12,6 @@ import 'package:flowy_infra_ui/style_widget/text_field.dart';
import 'package:flutter_test/flutter_test.dart';
import '../desktop/board/board_hide_groups_test.dart';
import 'base.dart';
import 'common_operations.dart';
@ -22,6 +21,7 @@ extension AppFlowySettings on WidgetTester {
final settingsButton = find.byType(UserSettingButton);
expect(settingsButton, findsOneWidget);
await tapButton(settingsButton);
await pumpAndSettle();
final settingsDialog = find.byType(SettingsDialog);
expect(settingsDialog, findsOneWidget);
return;