 runTests() {
  promise_test (async () => {
    await waitForCompositorCommit();
    await touchScrollInTarget(100, scroller, 'down');
    // Wait for the scroll snap animation to finish.
    await waitForAnimationEnd(scrollTop);
    await waitFor(() => { return scroll_end_arrived; });
    // Verify that scroll snap animation has finished before firing scrollend event.
    assert_false(scroll_arrived_after_scroll_end);
  }, "Tests that scrollend is fired after scroll snap animation completion.");

  promise