From e6a0ecad9ae98920358b43b3394b66ea977f583d Mon Sep 17 00:00:00 2001 From: "FiveFilters.org" Date: Thu, 19 Aug 2021 00:11:39 +0200 Subject: Update tests for lazy-loaded images https://github.com/mozilla/readability/commit/814f0a3884350b6f1adfdebb79ca3599e9806605 --- test/test-pages/nytimes-3/expected-images.json | 7 ++++++- test/test-pages/nytimes-3/expected.html | 10 +++++----- 2 files changed, 11 insertions(+), 6 deletions(-) (limited to 'test/test-pages/nytimes-3') diff --git a/test/test-pages/nytimes-3/expected-images.json b/test/test-pages/nytimes-3/expected-images.json index 7f4e9ba..3868276 100644 --- a/test/test-pages/nytimes-3/expected-images.json +++ b/test/test-pages/nytimes-3/expected-images.json @@ -2,5 +2,10 @@ "https:\/\/static01.nyt.com\/images\/2019\/02\/21\/nyregion\/21winterutilities1\/00winterutilities1-videoSixteenByNineJumbo1600.jpg", "https:\/\/static01.nyt.com\/images\/2019\/02\/21\/nyregion\/21winterutilities1\/merlin_150498339_cf9085e5-9756-4169-a5a5-5b516316a3fa-articleLarge.jpg?quality=75&auto=webp&disable=upscale", "https:\/\/static01.nyt.com\/images\/2018\/02\/20\/multimedia\/author-corey-kilgannon\/author-corey-kilgannon-thumbLarge.jpg", - "https:\/\/static01.nyt.com\/images\/2019\/02\/21\/nyregion\/21winterutilitiesOAK15\/merlin_56025490_f9412a36-eeb9-4a10-a41e-f324eb7a3248-articleLarge.jpg?quality=75&auto=webp&disable=upscale" + "https:\/\/static01.nyt.com\/images\/2019\/02\/21\/nyregion\/21winterutilitiesOAK15\/merlin_56025490_f9412a36-eeb9-4a10-a41e-f324eb7a3248-articleLarge.jpg?quality=75&auto=webp&disable=upscale", + "https:\/\/static01.nyt.com\/images\/2019\/02\/15\/nyregion\/00winterutilitiesOAK11\/merlin_94083158_9e622a52-ec2f-4fbd-845c-5d530e94bc82-articleLarge.jpg?quality=90&auto=webp", + "https:\/\/static01.nyt.com\/images\/2019\/02\/21\/nyregion\/21winterutilitiesOAK13\/merlin_77720485_1f5be529-e659-49c3-a0bc-a3f312835d14-articleLarge.jpg?quality=90&auto=webp", + "https:\/\/static01.nyt.com\/images\/2017\/12\/07\/nyregion\/00winter4\/00winter4-articleLarge.jpg?quality=90&auto=webp", + "https:\/\/static01.nyt.com\/images\/2019\/02\/15\/nyregion\/00winterutilitiesOAK12\/merlin_77751796_7f1b7a7a-23e9-49b2-b12e-1edfed680911-articleLarge.jpg?quality=90&auto=webp", + "https:\/\/static01.nyt.com\/images\/2019\/02\/12\/nyregion\/00winterutilities2\/merlin_150504129_e893b874-01eb-4d8f-8158-18512153e414-articleLarge.jpg?quality=90&auto=webp" ] \ No newline at end of file diff --git a/test/test-pages/nytimes-3/expected.html b/test/test-pages/nytimes-3/expected.html index 9240af4..1ed75d1 100644 --- a/test/test-pages/nytimes-3/expected.html +++ b/test/test-pages/nytimes-3/expected.html @@ -123,7 +123,7 @@
There are typically between 400 and 600 water main breaks each year in New York City, an official said.CreditMichael Appleton for The New York Times
- +
@@ -172,7 +172,7 @@
In 1978, a water main break caused severe flooding in Bushwick, Brooklyn.CreditFred R. Conrad/The New York Times
- +
@@ -207,7 +207,7 @@
Matt Cruz snowboarded through Manhattan’s Lower East Side after a snowstorm in 2016 left the streets coated in slush and rock salt.CreditHiroko Masuike/The New York Times
- +
@@ -250,7 +250,7 @@
A water main break in Manhattan in 2014. “When you get a freeze and a thaw, the ground around the water mains expands and contracts, and puts external pressure on the pipes,” said Tasos Georgelis of the city's Department of Environmental Protection.CreditÃngel Franco/The New York Times
- +
@@ -291,7 +291,7 @@
Workers learning how to fix water main breaks at a training center in Queens.CreditChang W. Lee/The New York Times
- +
-- cgit v1.2.3