From c66f2f757c042847db44fe15fe31e3cf0e75da0d Mon Sep 17 00:00:00 2001 From: JJ Kasper Date: Tue, 18 Feb 2020 14:11:52 -0600 Subject: [PATCH] Decrease number of expected preloads in safari (#10578) --- test/integration/production/test/index.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/production/test/index.test.js b/test/integration/production/test/index.test.js index a0f198f583e9c32..e66fa416a6a5832 100644 --- a/test/integration/production/test/index.test.js +++ b/test/integration/production/test/index.test.js @@ -477,7 +477,7 @@ describe('Production Usage', () => { if (browserName === 'safari') { const elements = await browser.elementsByCss('link[rel=preload]') // 4 page preloads and 5 existing preloads for _app, commons, main, etc - expect(elements.length).toBe(13) + expect(elements.length).toBe(11) } else { const elements = await browser.elementsByCss('link[rel=prefetch]') expect(elements.length).toBe(4)