Unverified Commit ba8bc538 authored by Michael Goderbauer's avatar Michael Goderbauer Committed by GitHub

Add some logs to catch flake (#109887)

parent 74f5a1fe
...@@ -18,6 +18,7 @@ void main() { ...@@ -18,6 +18,7 @@ void main() {
final SerializableFinder statusField = find.byValueKey('status'); final SerializableFinder statusField = find.byValueKey('status');
int step = 0; int step = 0;
while (await driver.getText(statusField) == 'ok') { while (await driver.getText(statusField) == 'ok') {
print('Tapping for step $step...');
await driver.tap(stepButton); await driver.tap(stepButton);
step++; step++;
} }
......
...@@ -360,7 +360,7 @@ mixin GestureBinding on BindingBase implements HitTestable, HitTestDispatcher, H ...@@ -360,7 +360,7 @@ mixin GestureBinding on BindingBase implements HitTestable, HitTestDispatcher, H
void _handlePointerEventImmediately(PointerEvent event) { void _handlePointerEventImmediately(PointerEvent event) {
HitTestResult? hitTestResult; HitTestResult? hitTestResult;
if (event is PointerDownEvent || event is PointerSignalEvent || event is PointerHoverEvent || event is PointerPanZoomStartEvent) { if (event is PointerDownEvent || event is PointerSignalEvent || event is PointerHoverEvent || event is PointerPanZoomStartEvent) {
assert(!_hitTests.containsKey(event.pointer)); assert(!_hitTests.containsKey(event.pointer), 'Pointer of $event unexpectedly has a HitTestResult associated with it.');
hitTestResult = HitTestResult(); hitTestResult = HitTestResult();
hitTest(hitTestResult, event.position); hitTest(hitTestResult, event.position);
if (event is PointerDownEvent || event is PointerPanZoomStartEvent) { if (event is PointerDownEvent || event is PointerPanZoomStartEvent) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment