Commit da4950cf authored by Hans Muller's avatar Hans Muller Committed by GitHub

Wait for the driver test to settle before collecting screenshots (#10916)

parent b55441a0
......@@ -22,6 +22,7 @@ void main() {
final List<String> paths = <String>[
@(paths)
];
await driver.waitUntilNoTransientCallbacks();
for (String path in paths) {
final List<int> pixels = await driver.screenshot();
final File file = new File(path);
......
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