From a649ce1a5f5604b46505fa7be4910de92756cc39 Mon Sep 17 00:00:00 2001 From: Priyanka Angotra Date: Fri, 24 May 2024 15:29:54 +0100 Subject: [PATCH] fix snapshot for wkwebview to let data load --- Sources/SnapshotTesting/Common/View.swift | 3 --- 1 file changed, 3 deletions(-) diff --git a/Sources/SnapshotTesting/Common/View.swift b/Sources/SnapshotTesting/Common/View.swift index 753153749..3a6187815 100644 --- a/Sources/SnapshotTesting/Common/View.swift +++ b/Sources/SnapshotTesting/Common/View.swift @@ -869,9 +869,6 @@ return } let configuration = WKSnapshotConfiguration() - if #available(iOS 13, macOS 10.15, *) { - configuration.afterScreenUpdates = false - } wkWebView.takeSnapshot(with: configuration) { image, _ in callback(image!) }