wait_for_grid does not wait if there is no grid