using stable 1.18.3 snapshot testing

This commit is contained in:
Mauro Romito
2025-05-19 15:16:27 +02:00
committed by Mauro
parent c9743237e2
commit 5cd2ccbbab
6 changed files with 30 additions and 20 deletions

View File

@@ -5,7 +5,7 @@
// Please see LICENSE files in the repository root for full details.
//
import SnapshotUITesting
import SnapshotTesting
import XCTest
enum Application {

View File

@@ -39,8 +39,6 @@ targets:
- package: GZIP
- package: Sentry
- package: SnapshotTesting
products:
- SnapshotUITesting
- package: Collections
- package: SwiftOGG
@@ -51,8 +49,13 @@ targets:
base:
PRODUCT_NAME: UITests
PRODUCT_BUNDLE_IDENTIFIER: ${BASE_BUNDLE_IDENTIFIER}.ui.tests
debug:
release:
configs:
# This is required to remove the $(inherited) flags
# which would prevent SnapshotTesting to be imported in UI Tests
debug:
OTHER_SWIFT_FLAGS: ["-DDEBUG"]
release:
OTHER_SWIFT_FLAGS: ["-DRELEASE"]
sources:
- path: ../Sources