Skip to content

Commit

Permalink
change to pumpandtrysettle for scrollUntil
Browse files Browse the repository at this point in the history
  • Loading branch information
saikrishna321 committed Aug 25, 2024
1 parent e2cf4bc commit b4af65f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion server/lib/src/runner.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import 'package:package_info_plus/package_info_plus.dart';
const MAX_TEST_DURATION_SECS = 24 * 60 * 60;
// Need a better way to fetch this for automated release, this needs to be updated along with version bump
// Can stay for now as it is not a breaking change
const serverVersion = '0.0.26';
const serverVersion = '0.0.27';

void initializeTest({Widget? app, Function? callback}) async {
IntegrationTestWidgetsFlutterBinding binding =
Expand Down
3 changes: 1 addition & 2 deletions server/lib/src/utils/element_helper.dart
Original file line number Diff line number Diff line change
Expand Up @@ -537,8 +537,7 @@ class ElementHelper {
moveStep,
dragDuration!,
);
await tester.pumpAndSettle(const Duration(milliseconds: 100),
EnginePhase.sendSemanticsUpdate, settleBetweenScrollsTimeout!);
await pumpAndTrySettle(timeout: settleBetweenScrollsTimeout!);
iterationsLeft -= 1;
}

Expand Down

0 comments on commit b4af65f

Please sign in to comment.