Skip to content

Commit

Permalink
Tweak warmup logic
Browse files Browse the repository at this point in the history
  • Loading branch information
bwaresiak committed Nov 26, 2024
1 parent 25c240f commit 5faa2c8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions DuckDuckGoTests/FireButtonReferenceTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5faa2c8

Please sign in to comment.