remove unnecessary artificial delay in catalog example (#31822)

* remove unnecessary artificial delay

* fix test_driver README
This commit is contained in:
done 2019-05-04 03:25:29 +09:00 committed by Kate Lovett
parent 299ce6e373
commit 72a72b375a
2 changed files with 1 additions and 3 deletions

View File

@ -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);

View File

@ -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.