Commit 8debde4b authored by Heinrich Lee Yu's avatar Heinrich Lee Yu
Browse files

Fix flaky spec due to image lazy-loading

parent b9a8fa4a7b4b
......@@ -34,7 +34,7 @@
click_button('Save changes')
link = find(' img[alt="banana_sample"]')['src']
link = find(' img:not(.lazy)[alt="banana_sample"]')['src']
expect(link).to match(%r{/uploads/-/system/personal_snippet/#{}/\h{32}/banana_sample\.gif\z})
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment