Fix flaky test in dashboard/snippets_spec.rb
Similar to #206937 (closed), this test was flaky due to the image lazy loader. The test is asserting on the image src, but it fails when the src value is still the lazy loader's placeholder image.
Closes #216541 (closed)
Edited by Stan Hu