diff --git a/playwright/benchmark/average.spec.ts b/playwright/benchmark/average.spec.ts index a0823ad31..b1e4a418a 100644 --- a/playwright/benchmark/average.spec.ts +++ b/playwright/benchmark/average.spec.ts @@ -22,7 +22,7 @@ test('average', ({ page }, testInfo) => { const testSum = lines.reduce((acc, line) => acc + parseInt(line), 0); // average of all the lines in all the files - const average = testSum / lines.length; + const average = Math.round(testSum / lines.length); writeFileSync(resolve(path, `average.txt`), String(average)); diff --git a/playwright/fixtures/pages/load-time-pages.ts b/playwright/fixtures/pages/load-time-pages.ts index ef5866292..d184827c6 100644 --- a/playwright/fixtures/pages/load-time-pages.ts +++ b/playwright/fixtures/pages/load-time-pages.ts @@ -124,6 +124,66 @@ const loadTimePages: GuPage[] = [ path: '/technology/2024/apr/30/amazon-sales-report-ai', }), }, + { + path: getTestUrl({ + stage, + path: '/film/article/2024/jun/06/show-me-the-money-how-unofficial-merch-is-cashing-in-on-movie-quotes', + }), + }, + { + path: getTestUrl({ + stage, + path: '/sport/article/2024/jun/05/family-mum-of-three-helen-glover-2024-olympics-paris-rowing-team-gb', + }), + }, + { + path: getTestUrl({ + stage, + path: '/travel/article/2024/may/26/how-to-keep-your-cool-cycling-up-italian-mountains-with-a-teenager-in-tow', + }), + }, + { + path: getTestUrl({ + stage, + path: '/environment/article/2024/jun/04/country-diary-these-summer-migrants-are-remarkable-and-humbling', + }), + }, + { + path: getTestUrl({ + stage, + path: '/travel/article/2024/may/29/an-alternative-guide-to-the-lake-district-cumbria', + }), + }, + { + path: getTestUrl({ + stage, + path: '/food/2024/apr/09/swapping-red-meat-for-herring-sardines-and-anchovies-could-save-75000-lives-study-suggests', + }), + }, + { + path: getTestUrl({ + stage, + path: '/science/article/2024/jun/05/carbon-detected-in-galaxy-observed-350m-years-after-big-bang', + }), + }, + { + path: getTestUrl({ + stage, + path: '/commentisfree/article/2024/jun/06/undecided-voters-british-politics-vote-election', + }), + }, + { + path: getTestUrl({ + stage, + path: '/lifeandstyle/article/2024/may/31/t26-surprisingly-useful-gadgets-you-didnt-know-you-needed', + }), + }, + { + path: getTestUrl({ + stage, + path: '/books/ng-interactive/2024/jun/05/this-months-best-paperbacks-zadie-smith-matthew-perry-and-more', + }), + }, ]; export { loadTimePages };