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
776cf247
Unverified
Commit
776cf247
authored
Apr 20, 2018
by
Mikkel Nygaard Ravn
Committed by
GitHub
Apr 20, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make flutter_driver work with sync-async (#16798)
parent
315993ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
extension.dart
packages/flutter_driver/lib/src/extension/extension.dart
+3
-0
No files found.
packages/flutter_driver/lib/src/extension/extension.dart
View file @
776cf247
...
...
@@ -206,6 +206,9 @@ class FlutterDriverExtension {
/// Runs `finder` repeatedly until it finds one or more [Element]s.
Future
<
Finder
>
_waitForElement
(
Finder
finder
)
async
{
// TODO(mravn): This method depends on async execution. A refactoring
// for sync-async semantics is tracked in https://github.com/flutter/flutter/issues/16801.
await
new
Future
<
void
>.
value
(
null
);
if
(
_frameSync
)
await
_waitUntilFrame
(()
=>
SchedulerBinding
.
instance
.
transientCallbackCount
==
0
);
...
...
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