eft for about 2 seconds upon page load,
    then moves from right to left.
  </p>
  <div>Filler Text</div>
  <script>
    var div = document.getElementsByTagName("div");
    div[0].style.animationDuration = "";
    await snapshotAction();
    await sleep(2);
    div[0].style.animationDuration = "2s";
    await sleep(1);
    expect(div[0].offsetLeft < 70 && div[0].offsetLeft > 0).toBe(true);
  </script>
</body>
