title: Is there a way to make Animations not Halt Flutter driver?
body: <p><a href="https://api.flutter.dev/flutter/flutter_driver/flutter_driver-library.html" rel="nofollow noreferrer"><code>FlutterDriver</code> from <code>flutter_driver</code></a> will <strong>pause</strong> all actions until there is no animation playing anymore.</p>
  
  <p>My UI involves looping animations and I want to tap something in my integration tests while such an animation is playing.<br>
  Once I enter a screen that has a looping animation that will not stop unless there is a tap input, <code>FlutterDriver</code> will simply <strong>time out</strong> as it waits for the animation to finish (which will consequently never happen in my integration test).</p>
  
  <p>Basically, all actions like <a href="https://api.flutter.dev/flutter/flutter_driver/FlutterDriver/tap.html" rel="nofollow noreferrer"><code>driver.tap</code></a> will by default wait for all animations (at least created by an <a href="https://api.flutter.dev/flutter/animation/AnimationController-class.html" rel="nofollow noreferrer"><code>AnimationController</code></a>) before they are taken.</p>
  
  <pre class="lang-dart prettyprint-override"><code>test('stop looping animation', () async {
    // Navigated to a screen with a looping animation before that.
    await driver.tap(find.byValueKey('stop_looping_animation')); // FlutterDriver will time out here.
  });
  </code></pre>