mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
remove unnecessary artificial delay in catalog example (#31822)
* remove unnecessary artificial delay * fix test_driver README
This commit is contained in:
parent
299ce6e373
commit
72a72b375a
@ -25,8 +25,6 @@ void main() {
|
||||
];
|
||||
for (String path in paths) {
|
||||
await driver.waitUntilNoTransientCallbacks();
|
||||
// TBD: when #11021 has been resolved, this shouldn't be necessary.
|
||||
await new Future<void>.delayed(const Duration(milliseconds: 500));
|
||||
final List<int> pixels = await driver.screenshot();
|
||||
final File file = new File(path);
|
||||
await file.writeAsBytes(pixels);
|
||||
|
@ -1 +1 @@
|
||||
The screenshot_test.dart and screenshot_test.dart files were generated by ../bin/sample_page.dart. They should not be checked in.
|
||||
The screenshot.dart and screenshot_test.dart files were generated by ../bin/sample_page.dart. They should not be checked in.
|
||||
|
Loading…
Reference in New Issue
Block a user