Skip to content

Commit b4af65f

Browse files
committed
change to pumpandtrysettle for scrollUntil
1 parent e2cf4bc commit b4af65f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

server/lib/src/runner.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import 'package:package_info_plus/package_info_plus.dart';
1010
const MAX_TEST_DURATION_SECS = 24 * 60 * 60;
1111
// Need a better way to fetch this for automated release, this needs to be updated along with version bump
1212
// Can stay for now as it is not a breaking change
13-
const serverVersion = '0.0.26';
13+
const serverVersion = '0.0.27';
1414

1515
void initializeTest({Widget? app, Function? callback}) async {
1616
IntegrationTestWidgetsFlutterBinding binding =

server/lib/src/utils/element_helper.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -537,8 +537,7 @@ class ElementHelper {
537537
moveStep,
538538
dragDuration!,
539539
);
540-
await tester.pumpAndSettle(const Duration(milliseconds: 100),
541-
EnginePhase.sendSemanticsUpdate, settleBetweenScrollsTimeout!);
540+
await pumpAndTrySettle(timeout: settleBetweenScrollsTimeout!);
542541
iterationsLeft -= 1;
543542
}
544543

0 commit comments

Comments
 (0)