diff --git a/DuckDuckGoTests/FireButtonReferenceTests.swift b/DuckDuckGoTests/FireButtonReferenceTests.swift index fe6b6b8215..9f1e322674 100644 --- a/DuckDuckGoTests/FireButtonReferenceTests.swift +++ b/DuckDuckGoTests/FireButtonReferenceTests.swift @@ -64,12 +64,11 @@ final class FireButtonReferenceTests: XCTestCase { let cookieStorage = CookieStorage() - let warmup = WebViewWarmupHelper() - for test in referenceTests { let cookie = try XCTUnwrap(cookie(for: test)) let warmupCompleted = XCTestExpectation(description: "Warmup Completed") + let warmup = WebViewWarmupHelper() warmup.warmupWebView(expectation: warmupCompleted) await fulfillment(of: [warmupCompleted], timeout: 5)