Commit 72a72b37 authored by done's avatar done Committed by Kate Lovett

remove unnecessary artificial delay in catalog example (#31822)

* remove unnecessary artificial delay

* fix test_driver README
parent 299ce6e3
......@@ -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);
......
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.
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