Assert that the element is set when scrolling to view