summaryrefslogtreecommitdiff
path: root/test/test-pages/medicalnewstoday
diff options
context:
space:
mode:
authorFiveFilters.org <[email protected]>2021-08-19 00:11:39 +0200
committerFiveFilters.org <[email protected]>2021-08-19 00:11:39 +0200
commite6a0ecad9ae98920358b43b3394b66ea977f583d (patch)
tree79c26b959dccda895f5587edf760c345adb75af0 /test/test-pages/medicalnewstoday
parent5b4c9aaac8cd9d46cf8bb2db9d3191b73ecf641d (diff)
Update tests for lazy-loaded images
https://github.com/mozilla/readability/commit/814f0a3884350b6f1adfdebb79ca3599e9806605
Diffstat (limited to 'test/test-pages/medicalnewstoday')
-rw-r--r--test/test-pages/medicalnewstoday/expected-images.json2
-rw-r--r--test/test-pages/medicalnewstoday/expected.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/test-pages/medicalnewstoday/expected-images.json b/test/test-pages/medicalnewstoday/expected-images.json
index e2048c4..4555280 100644
--- a/test/test-pages/medicalnewstoday/expected-images.json
+++ b/test/test-pages/medicalnewstoday/expected-images.json
@@ -1,4 +1,4 @@
[
"https:\/\/cdn1.medicalnewstoday.com\/content\/images\/headlines\/318\/318674\/hand-holding-brain-lightbulb.jpg",
- "data:image\/gif;base64,R0lGODlhAQABAIAAAP\/\/\/wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="
+ "https:\/\/cdn1.medicalnewstoday.com\/content\/images\/articles\/318\/318674\/hand-holding-brain-lightbulb.jpg"
] \ No newline at end of file
diff --git a/test/test-pages/medicalnewstoday/expected.html b/test/test-pages/medicalnewstoday/expected.html
index acac1d7..0deb7b6 100644
--- a/test/test-pages/medicalnewstoday/expected.html
+++ b/test/test-pages/medicalnewstoday/expected.html
@@ -3,7 +3,7 @@
<header>
Neuroscience tells us that most of the work done by our brains happens on an unconscious level, but when does that "a-ha!" moment occur? And what happens during it? New research investigates.
</header>
- <p><img src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==" data-src="https://cdn1.medicalnewstoday.com/content/images/articles/318/318674/hand-holding-brain-lightbulb.jpg" alt="hand holding brain lightbulb"><br>
+ <p><img data-src="https://cdn1.medicalnewstoday.com/content/images/articles/318/318674/hand-holding-brain-lightbulb.jpg" alt="hand holding brain lightbulb" src="https://cdn1.medicalnewstoday.com/content/images/articles/318/318674/hand-holding-brain-lightbulb.jpg"><br>
<em>A new study investigates when the 'a-ha!' moment takes place in the brain, and how similar it is to other brain processes.</em>
</p>
<p>