forked from firka/flutter
Test WidgetTester handling test pointers (#83337)
Adds tests to the following behaviors, which have existed without tests: - When tapping during live testing, a message is printed with widgets that contain the tap location. - When tapping during live testing, a mark is displayed on screen on the tap location.
This commit is contained in:
@@ -167,7 +167,7 @@ Future<void> main() async {
|
||||
} else if (delays.last < delay) {
|
||||
delays.last = delay;
|
||||
}
|
||||
tester.binding.handlePointerEvent(event, source: TestBindingEventSource.test);
|
||||
tester.binding.handlePointerEventForSource(event, source: TestBindingEventSource.test);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user