all over but the shouting
The outcome is a certainty, as in When Jim hit the ball over the fence, it was all over but the shouting. The term's first use in print, in 1842, was by Welsh sportswriter Charles James Apperley, but some authorities believe it originated even earlier in the United States for a close political race. Today it is applied to any contest. A common British version is all over bar the shouting.