diff --git a/dev/integration_tests/channels/integration_test/main_test.dart b/dev/integration_tests/channels/integration_test/main_test.dart index 745bff3c99..2ec03ce92e 100644 --- a/dev/integration_tests/channels/integration_test/main_test.dart +++ b/dev/integration_tests/channels/integration_test/main_test.dart @@ -24,7 +24,10 @@ void main() { while (getStatus(tester) == 'ok') { step++; print('>> Tapping for step $step...'); - await tester.tap(stepButton); + // TODO(goderbauer): Setting the pointer ID to something large to avoid + // that the test events clash with ghost events from the device to + // further investigate https://github.com/flutter/flutter/issues/116663. + await tester.tap(stepButton, pointer: 500 + step); await tester.pump(); expect(statusField, findsNothing); diff --git a/packages/flutter/lib/src/foundation/binding.dart b/packages/flutter/lib/src/foundation/binding.dart index c7fce102a7..f4dd874f04 100644 --- a/packages/flutter/lib/src/foundation/binding.dart +++ b/packages/flutter/lib/src/foundation/binding.dart @@ -146,7 +146,7 @@ abstract class BindingBase { return true; }()); - assert(_debugInitializedType == null); + assert(_debugInitializedType == null, 'Binding is already initialized to $_debugInitializedType'); initInstances(); assert(_debugInitializedType != null);