summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorTim Zallmann <tzallmann@gitlab.com>2017-07-24 17:36:52 +0000
committerJacob Schatz <jschatz@gitlab.com>2017-07-24 17:36:52 +0000
commit52b8a0db689c2df968776a1f369ea6a6db245d39 (patch)
tree4955f45d5d19c1d32aee8bc496041acdd74763cb /features
parent3a26bce80eb739ca3f552dfe71e39b9a177eb36e (diff)
downloadgitlab-ce-52b8a0db689c2df968776a1f369ea6a6db245d39.tar.gz
Resolve "Lazy load images on the Frontend"
Diffstat (limited to 'features')
-rw-r--r--features/steps/project/wiki.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/project/wiki.rb b/features/steps/project/wiki.rb
index a2f5d2e1515..9d38939378d 100644
--- a/features/steps/project/wiki.rb
+++ b/features/steps/project/wiki.rb
@@ -114,7 +114,7 @@ class Spinach::Features::ProjectWiki < Spinach::FeatureSteps
end
step 'Image should be shown on the page' do
- expect(page).to have_xpath("//img[@src=\"image.jpg\"]")
+ expect(page).to have_xpath("//img[@data-src=\"image.jpg\"]")
end
step 'I click on image link' do