Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
ba8bc538
Unverified
Commit
ba8bc538
authored
Aug 19, 2022
by
Michael Goderbauer
Committed by
GitHub
Aug 19, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add some logs to catch flake (#109887)
parent
74f5a1fe
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
main_test.dart
dev/integration_tests/channels/test_driver/main_test.dart
+1
-0
binding.dart
packages/flutter/lib/src/gestures/binding.dart
+1
-1
No files found.
dev/integration_tests/channels/test_driver/main_test.dart
View file @
ba8bc538
...
@@ -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
++;
}
}
...
...
packages/flutter/lib/src/gestures/binding.dart
View file @
ba8bc538
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment