The test fails without the scrollIntoView.