The evidence that justified waves becoming the new scientific consensus to explain optical phenomena in the early 1800s is:
A scientist observed that an interference pattern formed when light passed through two narrow slits.
This experiment, famously conducted by Thomas Young in 1801, provided strong evidence for the wave nature of light through the observation of interference patterns, which could only be explained if light behaved as a wave.