Get uploaded image's URL from data-src attribute
Closes: https://gitlab.com/charts/gitlab/issues/817
The image has lazy
class, which means it is being lazy loaded. So, src
is not pointing to the actual image, but data-src
is. Once the image is loaded, src
gets replaced by data-src
. So, if the test checks for src
, before the lazy loading is done, it gets the wrong data.
Edited by Jason Plum