diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f6a6d40ab..e233215e4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,7 @@ jobs: strategy: matrix: swift: - - "5.7" + - "5.9.1" name: Ubuntu (Swift ${{ matrix.swift }}) runs-on: ubuntu-20.04 diff --git a/Makefile b/Makefile index c28ea7f2c..214b1e0a5 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ test-ios: set -o pipefail && \ xcodebuild test \ -scheme SnapshotTesting \ - -destination platform="iOS Simulator,name=iPhone 11 Pro Max,OS=13.3" + -destination platform="iOS Simulator,name=iPhone 15 Pro Max,OS=17.4" test-swift: swift test @@ -25,7 +25,13 @@ test-tvos: set -o pipefail && \ xcodebuild test \ -scheme SnapshotTesting \ - -destination platform="tvOS Simulator,name=Apple TV 4K,OS=13.3" + -destination platform="tvOS Simulator,name=Apple TV 4K,OS=17.4" + +test-visionos: + set -o pipefail && \ + xcodebuild test \ + -scheme SnapshotTesting \ + -destination platform="visionOS Simulator,name=Apple Vision Pro,OS=1.1" format: swift format \ @@ -34,4 +40,4 @@ format: --recursive \ ./Package.swift ./Sources ./Tests -test-all: test-linux test-macos test-ios +test-all: test-linux test-macos test-ios test-visionos diff --git a/Package.swift b/Package.swift index 3ea312104..2b3d7bfbd 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:5.7 +// swift-tools-version:5.9 import PackageDescription @@ -9,6 +9,7 @@ let package = Package( .macOS(.v10_15), .tvOS(.v13), .watchOS(.v6), + .visionOS(.v1), ], products: [ .library( diff --git a/README.md b/README.md index 5782f945a..114f0c5fa 100644 --- a/README.md +++ b/README.md @@ -215,8 +215,7 @@ targets: [ collections from a single simulator. - **First-class Xcode support.** Image differences are captured as XCTest attachments. Text differences are rendered in inline error messages. - - **Supports any platform that supports Swift.** Write snapshot tests for iOS, Linux, macOS, and - tvOS. + - **Supports any platform that supports Swift.** Write snapshot tests for iOS, Linux, macOS, tvOS and visionOS. - **SceneKit, SpriteKit, and WebKit support.** Most snapshot testing libraries don't support these view subclasses. - **`Codable` support**. Snapshot encodable data structures into their JSON and property list diff --git a/Sources/SnapshotTesting/AssertSnapshot.swift b/Sources/SnapshotTesting/AssertSnapshot.swift index 63be5bf3e..e4efdb530 100644 --- a/Sources/SnapshotTesting/AssertSnapshot.swift +++ b/Sources/SnapshotTesting/AssertSnapshot.swift @@ -421,7 +421,7 @@ public func verifySnapshot( let data = try Data(contentsOf: snapshotFileUrl) let reference = snapshotting.diffing.fromData(data) - #if os(iOS) || os(tvOS) + #if os(iOS) || os(tvOS) || os(visionOS) // If the image generation fails for the diffable part and the reference was empty, use the reference if let localDiff = diffable as? UIImage, let refImage = reference as? UIImage, diff --git a/Sources/SnapshotTesting/Common/Internal.swift b/Sources/SnapshotTesting/Common/Internal.swift index 865f24b07..2984f8711 100644 --- a/Sources/SnapshotTesting/Common/Internal.swift +++ b/Sources/SnapshotTesting/Common/Internal.swift @@ -3,7 +3,7 @@ typealias Image = NSImage typealias ImageView = NSImageView typealias View = NSView -#elseif os(iOS) || os(tvOS) +#elseif os(iOS) || os(tvOS) || os(visionOS) import UIKit typealias Image = UIImage typealias ImageView = UIImageView diff --git a/Sources/SnapshotTesting/Common/View.swift b/Sources/SnapshotTesting/Common/View.swift index 753153749..7595b22bb 100644 --- a/Sources/SnapshotTesting/Common/View.swift +++ b/Sources/SnapshotTesting/Common/View.swift @@ -1,17 +1,17 @@ -#if os(iOS) || os(macOS) || os(tvOS) +#if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) #if os(macOS) import Cocoa #endif import SceneKit import SpriteKit - #if os(iOS) || os(tvOS) + #if os(iOS) || os(tvOS) || os(visionOS) import UIKit #endif - #if os(iOS) || os(macOS) + #if os(iOS) || os(macOS) || os(visionOS) import WebKit #endif - #if os(iOS) || os(tvOS) + #if os(iOS) || os(tvOS) || os(visionOS) public struct ViewImageConfig: Sendable { public enum Orientation { case landscape @@ -499,6 +499,12 @@ size: .init(width: 3840, height: 2160), traits: .init() ) + #elseif os(visionOS) + public static let visionPro = ViewImageConfig( + safeArea: .zero, + size: .init(width: 2700, height: 1360), + traits: .init() + ) #endif } @@ -804,6 +810,21 @@ ) #elseif os(tvOS) // TODO + #elseif os(visionOS) + public static let visionPro = UITraitCollection( + traitsFrom: [ + .init(userInterfaceIdiom: .vision), + .init(horizontalSizeClass: .regular), + .init(verticalSizeClass: .regular), + .init(displayScale: 2.0), + .init(userInterfaceStyle: .dark), + .init(layoutDirection: .leftToRight), + .init(forceTouchCapability: .unavailable), + .init(preferredContentSizeCategory: .large), + .init(accessibilityContrast: .normal), + .init(userInterfaceLevel: .base), + ] + ) #endif } #endif @@ -819,7 +840,7 @@ imageView.frame = view.frame #if os(macOS) view.superview?.addSubview(imageView, positioned: .above, relativeTo: view) - #elseif os(iOS) || os(tvOS) + #elseif os(iOS) || os(tvOS) || os(visionOS) view.superview?.insertSubview(imageView, aboveSubview: view) #endif callback(imageView) @@ -850,7 +871,7 @@ let cgImage = inWindow { skView.texture(from: skView.scene!)!.cgImage() } #if os(macOS) let image = Image(cgImage: cgImage, size: skView.bounds.size) - #elseif os(iOS) || os(tvOS) + #elseif os(iOS) || os(tvOS) || os(visionOS) let image = Image(cgImage: cgImage) #endif return Async(value: image) @@ -858,18 +879,18 @@ fatalError("Taking SKView snapshots requires macOS 10.11 or greater") } } - #if os(iOS) || os(macOS) + #if os(iOS) || os(macOS) || os(visionOS) if let wkWebView = self as? WKWebView { return Async { callback in let work = { - if #available(iOS 11.0, macOS 10.13, *) { + if #available(iOS 11.0, macOS 10.13, visionOS 1.0, *) { inWindow { guard wkWebView.frame.width != 0, wkWebView.frame.height != 0 else { callback(Image()) return } let configuration = WKSnapshotConfiguration() - if #available(iOS 13, macOS 10.15, *) { + if #available(iOS 13, macOS 10.15, visionOS 1.0, *) { configuration.afterScreenUpdates = false } wkWebView.takeSnapshot(with: configuration) { image, _ in @@ -879,6 +900,8 @@ } else { #if os(iOS) fatalError("Taking WKWebView snapshots requires iOS 11.0 or greater") + #elseif os(visionOS) + fatalError("Taking WKWebView snapshots requires visionOS 1.0 or greater") #elseif os(macOS) fatalError("Taking WKWebView snapshots requires macOS 10.13 or greater") #endif @@ -903,7 +926,7 @@ #endif return nil } - #if os(iOS) || os(tvOS) + #if os(iOS) || os(tvOS) || os(visionOS) func asImage() -> Image { let renderer = UIGraphicsImageRenderer(bounds: bounds) return renderer.image { rendererContext in @@ -913,7 +936,7 @@ #endif } - #if os(iOS) || os(tvOS) + #if os(iOS) || os(tvOS) || os(visionOS) extension UIApplication { static var sharedIfAvailable: UIApplication? { let sharedSelector = NSSelectorFromString("sharedApplication") @@ -1011,7 +1034,7 @@ func renderer(bounds: CGRect, for traits: UITraitCollection) -> UIGraphicsImageRenderer { let renderer: UIGraphicsImageRenderer - if #available(iOS 11.0, tvOS 11.0, *) { + if #available(iOS 11.0, tvOS 11.0, visionOS 1.0, *) { renderer = UIGraphicsImageRenderer(bounds: bounds, format: .init(for: traits)) } else { renderer = UIGraphicsImageRenderer(bounds: bounds) @@ -1076,10 +1099,14 @@ private func getKeyWindow() -> UIWindow? { var window: UIWindow? - if #available(iOS 13.0, *) { + if #available(iOS 13.0, visionOS 1.0, *) { window = UIApplication.sharedIfAvailable?.windows.first { $0.isKeyWindow } } else { - window = UIApplication.sharedIfAvailable?.keyWindow + #if os(visionOS) + window = UIApplication.sharedIfAvailable?.windows.first { $0.isKeyWindow } + #else + window = UIApplication.sharedIfAvailable?.keyWindow + #endif } return window } @@ -1112,7 +1139,7 @@ fatalError("init(coder:) has not been implemented") } - @available(iOS 11.0, *) + @available(iOS 11.0, visionOS 1.0, *) override var safeAreaInsets: UIEdgeInsets { #if os(iOS) let removeTopInset = diff --git a/Sources/SnapshotTesting/Snapshotting/Any.swift b/Sources/SnapshotTesting/Snapshotting/Any.swift index 80ef8ff0b..7c73ddaf5 100644 --- a/Sources/SnapshotTesting/Snapshotting/Any.swift +++ b/Sources/SnapshotTesting/Snapshotting/Any.swift @@ -46,7 +46,7 @@ extension Snapshotting where Format == String { } } -@available(macOS 10.13, watchOS 4.0, tvOS 11.0, *) +@available(macOS 10.13, watchOS 4.0, tvOS 11.0, iOS 11.0, visionOS 1.0, *) extension Snapshotting where Format == String { /// A snapshot strategy for comparing any structure based on their JSON representation. public static var json: Snapshotting { diff --git a/Sources/SnapshotTesting/Snapshotting/CALayer.swift b/Sources/SnapshotTesting/Snapshotting/CALayer.swift index 74c512c12..2c9db6ba1 100644 --- a/Sources/SnapshotTesting/Snapshotting/CALayer.swift +++ b/Sources/SnapshotTesting/Snapshotting/CALayer.swift @@ -40,7 +40,7 @@ } } } -#elseif os(iOS) || os(tvOS) +#elseif os(iOS) || os(tvOS) || os(visionOS) import UIKit extension Snapshotting where Value == CALayer, Format == UIImage { diff --git a/Sources/SnapshotTesting/Snapshotting/CGPath.swift b/Sources/SnapshotTesting/Snapshotting/CGPath.swift index 65470605c..2c71ac644 100644 --- a/Sources/SnapshotTesting/Snapshotting/CGPath.swift +++ b/Sources/SnapshotTesting/Snapshotting/CGPath.swift @@ -49,7 +49,7 @@ } } } -#elseif os(iOS) || os(tvOS) +#elseif os(iOS) || os(tvOS) || os(visionOS) import UIKit extension Snapshotting where Value == CGPath, Format == UIImage { @@ -75,7 +75,7 @@ ).pullback { path in let bounds = path.boundingBoxOfPath let format: UIGraphicsImageRendererFormat - if #available(iOS 11.0, tvOS 11.0, *) { + if #available(iOS 11.0, tvOS 11.0, visionOS 1.0, *) { format = UIGraphicsImageRendererFormat.preferred() } else { format = UIGraphicsImageRendererFormat.default() @@ -91,8 +91,8 @@ } #endif -#if os(macOS) || os(iOS) || os(tvOS) - @available(iOS 11.0, OSX 10.13, tvOS 11.0, *) +#if os(macOS) || os(iOS) || os(tvOS) || os(visionOS) + @available(iOS 11.0, OSX 10.13, tvOS 11.0, visionOS 1.0, *) extension Snapshotting where Value == CGPath, Format == String { /// A snapshot strategy for comparing bezier paths based on element descriptions. public static var elementsDescription: Snapshotting { diff --git a/Sources/SnapshotTesting/Snapshotting/Encodable.swift b/Sources/SnapshotTesting/Snapshotting/Encodable.swift index 441679c56..166569852 100644 --- a/Sources/SnapshotTesting/Snapshotting/Encodable.swift +++ b/Sources/SnapshotTesting/Snapshotting/Encodable.swift @@ -16,7 +16,7 @@ extension Snapshotting where Value: Encodable, Format == String { /// "name" : "Blobby" /// } /// ``` - @available(iOS 11.0, macOS 10.13, tvOS 11.0, watchOS 4.0, *) + @available(iOS 11.0, macOS 10.13, tvOS 11.0, watchOS 4.0, visionOS 1.0, *) public static var json: Snapshotting { let encoder = JSONEncoder() encoder.outputFormatting = [.prettyPrinted, .sortedKeys] diff --git a/Sources/SnapshotTesting/Snapshotting/SceneKit.swift b/Sources/SnapshotTesting/Snapshotting/SceneKit.swift index 94ff90459..8dd675dae 100644 --- a/Sources/SnapshotTesting/Snapshotting/SceneKit.swift +++ b/Sources/SnapshotTesting/Snapshotting/SceneKit.swift @@ -1,8 +1,8 @@ -#if os(iOS) || os(macOS) || os(tvOS) +#if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) import SceneKit #if os(macOS) import Cocoa - #elseif os(iOS) || os(tvOS) + #elseif os(iOS) || os(tvOS) || os(visionOS) import UIKit #endif @@ -23,7 +23,7 @@ return .scnScene(precision: precision, perceptualPrecision: perceptualPrecision, size: size) } } - #elseif os(iOS) || os(tvOS) + #elseif os(iOS) || os(tvOS) || os(visionOS) extension Snapshotting where Value == SCNScene, Format == UIImage { /// A snapshot strategy for comparing SceneKit scenes based on pixel equality. /// diff --git a/Sources/SnapshotTesting/Snapshotting/SpriteKit.swift b/Sources/SnapshotTesting/Snapshotting/SpriteKit.swift index ad515050a..34e2348e7 100644 --- a/Sources/SnapshotTesting/Snapshotting/SpriteKit.swift +++ b/Sources/SnapshotTesting/Snapshotting/SpriteKit.swift @@ -1,8 +1,8 @@ -#if os(iOS) || os(macOS) || os(tvOS) +#if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) import SpriteKit #if os(macOS) import Cocoa - #elseif os(iOS) || os(tvOS) + #elseif os(iOS) || os(tvOS) || os(visionOS) import UIKit #endif @@ -23,7 +23,7 @@ return .skScene(precision: precision, perceptualPrecision: perceptualPrecision, size: size) } } - #elseif os(iOS) || os(tvOS) + #elseif os(iOS) || os(tvOS) || os(visionOS) extension Snapshotting where Value == SKScene, Format == UIImage { /// A snapshot strategy for comparing SpriteKit scenes based on pixel equality. /// diff --git a/Sources/SnapshotTesting/Snapshotting/SwiftUIView.swift b/Sources/SnapshotTesting/Snapshotting/SwiftUIView.swift index 8d85e1f0b..6f2003216 100644 --- a/Sources/SnapshotTesting/Snapshotting/SwiftUIView.swift +++ b/Sources/SnapshotTesting/Snapshotting/SwiftUIView.swift @@ -4,7 +4,7 @@ /// The size constraint for a snapshot (similar to `PreviewLayout`). public enum SwiftUISnapshotLayout { - #if os(iOS) || os(tvOS) + #if os(iOS) || os(tvOS) || os(visionOS) /// Center the view in a device container described by`config`. case device(config: ViewImageConfig) #endif @@ -14,8 +14,8 @@ case sizeThatFits } - #if os(iOS) || os(tvOS) - @available(iOS 13.0, tvOS 13.0, *) + #if os(iOS) || os(tvOS) || os(visionOS) + @available(iOS 13.0, tvOS 13.0, visionOS 1.0, *) extension Snapshotting where Value: SwiftUI.View, Format == UIImage { /// A snapshot strategy for comparing SwiftUI Views based on pixel equality. @@ -48,7 +48,7 @@ let config: ViewImageConfig switch layout { - #if os(iOS) || os(tvOS) + #if os(iOS) || os(tvOS) || os(visionOS) case let .device(config: deviceConfig): config = deviceConfig #endif diff --git a/Sources/SnapshotTesting/Snapshotting/UIBezierPath.swift b/Sources/SnapshotTesting/Snapshotting/UIBezierPath.swift index 6b48d622d..873f27aad 100644 --- a/Sources/SnapshotTesting/Snapshotting/UIBezierPath.swift +++ b/Sources/SnapshotTesting/Snapshotting/UIBezierPath.swift @@ -1,4 +1,4 @@ -#if os(iOS) || os(tvOS) +#if os(iOS) || os(tvOS) || os(visionOS) import UIKit extension Snapshotting where Value == UIBezierPath, Format == UIImage { @@ -24,7 +24,7 @@ ).pullback { path in let bounds = path.bounds let format: UIGraphicsImageRendererFormat - if #available(iOS 11.0, tvOS 11.0, *) { + if #available(iOS 11.0, tvOS 11.0, visionOS 1.0, *) { format = UIGraphicsImageRendererFormat.preferred() } else { format = UIGraphicsImageRendererFormat.default() @@ -37,7 +37,7 @@ } } - @available(iOS 11.0, tvOS 11.0, *) + @available(iOS 11.0, tvOS 11.0, visionOS 1.0, *) extension Snapshotting where Value == UIBezierPath, Format == String { /// A snapshot strategy for comparing bezier paths based on pixel equality. public static var elementsDescription: Snapshotting { diff --git a/Sources/SnapshotTesting/Snapshotting/UIImage.swift b/Sources/SnapshotTesting/Snapshotting/UIImage.swift index 3d1bb5319..b7a50cd40 100644 --- a/Sources/SnapshotTesting/Snapshotting/UIImage.swift +++ b/Sources/SnapshotTesting/Snapshotting/UIImage.swift @@ -1,4 +1,4 @@ -#if os(iOS) || os(tvOS) +#if os(iOS) || os(tvOS) || os(visionOS) import UIKit import XCTest @@ -24,7 +24,11 @@ if let scale = scale, scale != 0.0 { imageScale = scale } else { - imageScale = UIScreen.main.scale + #if os(visionOS) + imageScale = UITraitCollection.current.displayScale + #else + imageScale = UIScreen.main.scale + #endif } return Diffing( @@ -130,7 +134,7 @@ if precision >= 1, perceptualPrecision >= 1 { return "Newly-taken snapshot does not match reference." } - if perceptualPrecision < 1, #available(iOS 11.0, tvOS 11.0, *) { + if perceptualPrecision < 1, #available(iOS 11.0, tvOS 11.0, visionOS 1.0, *) { return perceptuallyCompare( CIImage(cgImage: oldCgImage), CIImage(cgImage: newCgImage), @@ -191,12 +195,12 @@ } #endif -#if os(iOS) || os(tvOS) || os(macOS) +#if os(iOS) || os(tvOS) || os(macOS) || os(visionOS) import Accelerate.vImage import CoreImage.CIKernel import MetalPerformanceShaders - @available(iOS 10.0, tvOS 10.0, macOS 10.13, *) + @available(iOS 10.0, tvOS 10.0, macOS 10.13, visionOS 1.0, *) func perceptuallyCompare( _ old: CIImage, _ new: CIImage, pixelPrecision: Float, perceptualPrecision: Float ) -> String? { @@ -328,7 +332,7 @@ } // Copied from https://developer.apple.com/documentation/coreimage/ciimageprocessorkernel - @available(iOS 10.0, tvOS 10.0, macOS 10.13, *) + @available(iOS 10.0, tvOS 10.0, macOS 10.13, visionOS 1.0, *) final class ThresholdImageProcessorKernel: CIImageProcessorKernel { static let inputThresholdKey = "thresholdValue" static let device = MTLCreateSystemDefaultDevice() @@ -338,7 +342,7 @@ return false } #if targetEnvironment(simulator) - guard #available(iOS 14.0, tvOS 14.0, *) else { + guard #available(iOS 14.0, tvOS 14.0, visionOS 1.0, *) else { // The MPSSupportsMTLDevice method throws an exception on iOS/tvOS simulators < 14.0 return false } diff --git a/Sources/SnapshotTesting/Snapshotting/UIView.swift b/Sources/SnapshotTesting/Snapshotting/UIView.swift index 7244f67d1..a531de208 100644 --- a/Sources/SnapshotTesting/Snapshotting/UIView.swift +++ b/Sources/SnapshotTesting/Snapshotting/UIView.swift @@ -1,4 +1,4 @@ -#if os(iOS) || os(tvOS) +#if os(iOS) || os(tvOS) || os(visionOS) import UIKit extension Snapshotting where Value == UIView, Format == UIImage { diff --git a/Sources/SnapshotTesting/Snapshotting/UIViewController.swift b/Sources/SnapshotTesting/Snapshotting/UIViewController.swift index b08b8bf59..a7166d00e 100644 --- a/Sources/SnapshotTesting/Snapshotting/UIViewController.swift +++ b/Sources/SnapshotTesting/Snapshotting/UIViewController.swift @@ -1,4 +1,4 @@ -#if os(iOS) || os(tvOS) +#if os(iOS) || os(tvOS) || os(visionOS) import UIKit extension Snapshotting where Value == UIViewController, Format == UIImage { diff --git a/Sources/SnapshotTesting/Snapshotting/URLRequest.swift b/Sources/SnapshotTesting/Snapshotting/URLRequest.swift index c2699405f..5800c6466 100644 --- a/Sources/SnapshotTesting/Snapshotting/URLRequest.swift +++ b/Sources/SnapshotTesting/Snapshotting/URLRequest.swift @@ -36,7 +36,7 @@ let body: [String] do { - if pretty, #available(iOS 11.0, macOS 10.13, tvOS 11.0, watchOS 4.0, *) { + if pretty, #available(iOS 11.0, macOS 10.13, tvOS 11.0, watchOS 4.0, visionOS 1.0, *) { body = try request.httpBody .map { try JSONSerialization.jsonObject(with: $0, options: []) } diff --git a/Tests/SnapshotTestingTests/SnapshotTestingTests.swift b/Tests/SnapshotTestingTests/SnapshotTestingTests.swift index dd499c872..0a22af13c 100644 --- a/Tests/SnapshotTestingTests/SnapshotTestingTests.swift +++ b/Tests/SnapshotTestingTests/SnapshotTestingTests.swift @@ -56,7 +56,7 @@ final class SnapshotTestingTests: XCTestCase { } } - @available(macOS 10.13, tvOS 11.0, *) + @available(macOS 10.13, tvOS 11.0, visionOS 1.0, *) func testAnyAsJson() throws { struct User: Encodable { let id: Int, name: String, bio: String } let user = User(id: 1, name: "Blobby", bio: "Blobbed around the world.") @@ -78,7 +78,7 @@ final class SnapshotTestingTests: XCTestCase { } func testAutolayout() { - #if os(iOS) + #if os(iOS) || os(visionOS) let vc = UIViewController() vc.view.translatesAutoresizingMaskIntoConstraints = false let subview = UIView() @@ -90,7 +90,7 @@ final class SnapshotTestingTests: XCTestCase { subview.leftAnchor.constraint(equalTo: vc.view.leftAnchor), subview.rightAnchor.constraint(equalTo: vc.view.rightAnchor), ]) - assertSnapshot(of: vc, as: .image) + assertSnapshot(of: vc, as: .image, named: platform) #endif } @@ -124,7 +124,7 @@ final class SnapshotTestingTests: XCTestCase { } func testCGPath() { - #if os(iOS) || os(tvOS) || os(macOS) + #if os(iOS) || os(tvOS) || os(macOS) || os(visionOS) let path = CGPath.heart let osName: String @@ -132,6 +132,8 @@ final class SnapshotTestingTests: XCTestCase { osName = "iOS" #elseif os(tvOS) osName = "tvOS" + #elseif os(visionOS) + osName = "visionOS" #elseif os(macOS) osName = "macOS" #endif @@ -140,7 +142,7 @@ final class SnapshotTestingTests: XCTestCase { assertSnapshot(of: path, as: .image, named: osName) } - if #available(iOS 11.0, OSX 10.13, tvOS 11.0, *) { + if #available(iOS 11.0, OSX 10.13, tvOS 11.0, visionOS 1.0, *) { assertSnapshot(of: path, as: .elementsDescription, named: osName) } #endif @@ -156,14 +158,14 @@ final class SnapshotTestingTests: XCTestCase { struct User: Encodable { let id: Int, name: String, bio: String } let user = User(id: 1, name: "Blobby", bio: "Blobbed around the world.") - if #available(iOS 11.0, macOS 10.13, tvOS 11.0, *) { + if #available(iOS 11.0, macOS 10.13, tvOS 11.0, visionOS 1.0, *) { assertSnapshot(of: user, as: .json) } assertSnapshot(of: user, as: .plist) } func testMixedViews() { - // #if os(iOS) || os(macOS) + // #if os(iOS) || os(macOS) || os(visionOS) // // NB: CircleCI crashes while trying to instantiate SKView. // if !ProcessInfo.processInfo.environment.keys.contains("GITHUB_WORKFLOW") { // let webView = WKWebView(frame: .init(x: 0, y: 0, width: 50, height: 50)) @@ -237,12 +239,12 @@ final class SnapshotTestingTests: XCTestCase { } func testPrecision() { - #if os(iOS) || os(macOS) || os(tvOS) - #if os(iOS) || os(tvOS) + #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) + #if os(iOS) || os(tvOS) || os(visionOS) let label = UILabel() #if os(iOS) label.frame = CGRect(origin: .zero, size: CGSize(width: 43.5, height: 20.5)) - #elseif os(tvOS) + #elseif os(tvOS) || os(visionOS) label.frame = CGRect(origin: .zero, size: CGSize(width: 98, height: 46)) #endif label.backgroundColor = .white @@ -263,25 +265,25 @@ final class SnapshotTestingTests: XCTestCase { } func testImagePrecision() throws { - #if os(iOS) || os(tvOS) || os(macOS) + #if os(iOS) || os(tvOS) || os(macOS) || os(visionOS) let imageURL = URL(fileURLWithPath: String(#file), isDirectory: false) .deletingLastPathComponent() .appendingPathComponent("__Fixtures__/testImagePrecision.reference.png") - #if os(iOS) || os(tvOS) + #if os(iOS) || os(tvOS) || os(visionOS) let image = try XCTUnwrap(UIImage(contentsOfFile: imageURL.path)) #elseif os(macOS) let image = try XCTUnwrap(NSImage(byReferencing: imageURL)) #endif assertSnapshot(of: image, as: .image(precision: 0.995), named: "exact") - if #available(iOS 11.0, tvOS 11.0, macOS 10.13, *) { + if #available(iOS 11.0, tvOS 11.0, macOS 10.13, visionOS 1.0, *) { assertSnapshot(of: image, as: .image(perceptualPrecision: 0.98), named: "perceptual") } #endif } func testSCNView() { - // #if os(iOS) || os(macOS) || os(tvOS) + // #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) // // NB: CircleCI crashes while trying to instantiate SCNView. // if !ProcessInfo.processInfo.environment.keys.contains("GITHUB_WORKFLOW") { // let scene = SCNScene() @@ -318,7 +320,7 @@ final class SnapshotTestingTests: XCTestCase { } func testSKView() { - // #if os(iOS) || os(macOS) || os(tvOS) + // #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) // // NB: CircleCI crashes while trying to instantiate SKView. // if !ProcessInfo.processInfo.environment.keys.contains("GITHUB_WORKFLOW") { // let scene = SKScene(size: .init(width: 50, height: 50)) @@ -337,7 +339,7 @@ final class SnapshotTestingTests: XCTestCase { } func testTableViewController() { - #if os(iOS) + #if os(iOS) || os(visionOS) class TableViewController: UITableViewController { override func viewDidLoad() { super.viewDidLoad() @@ -356,12 +358,18 @@ final class SnapshotTestingTests: XCTestCase { } } let tableViewController = TableViewController() - assertSnapshot(of: tableViewController, as: .image(on: .iPhoneSe)) + let config: ViewImageConfig + #if os(iOS) + config = ViewImageConfig.iPhoneSe + #elseif os(visionOS) + config = ViewImageConfig.visionPro + #endif + assertSnapshot(of: tableViewController, as: .image(on: config), named: platform) #endif } func testAssertMultipleSnapshot() { - #if os(iOS) + #if os(iOS) || os(visionOS) class TableViewController: UITableViewController { override func viewDidLoad() { super.viewDidLoad() @@ -380,17 +388,22 @@ final class SnapshotTestingTests: XCTestCase { } } let tableViewController = TableViewController() - assertSnapshots( - of: tableViewController, - as: ["iPhoneSE-image": .image(on: .iPhoneSe), "iPad-image": .image(on: .iPadMini)]) - assertSnapshots( - of: tableViewController, as: [.image(on: .iPhoneX), .image(on: .iPhoneXsMax)]) + #if os(iOS) + assertSnapshots( + of: tableViewController, + as: ["iPhoneSE-image": .image(on: .iPhoneSe), "iPad-image": .image(on: .iPadMini)]) + assertSnapshots( + of: tableViewController, as: [.image(on: .iPhoneX), .image(on: .iPhoneXsMax)]) + #elseif os(visionOS) + assertSnapshots( + of: tableViewController, as: ["visionPro-image": .image(on: .visionPro)]) + #endif #endif } func testTraits() { - #if os(iOS) || os(tvOS) - if #available(iOS 11.0, tvOS 11.0, *) { + #if os(iOS) || os(tvOS) || os(visionOS) + if #available(iOS 11.0, tvOS 11.0, visionOS 1.0, *) { class MyViewController: UIViewController { let topLabel = UILabel() let leadingLabel = UILabel() @@ -665,14 +678,17 @@ final class SnapshotTestingTests: XCTestCase { of: viewController, as: .image(on: .tv), named: "tv") assertSnapshot( of: viewController, as: .image(on: .tv4K), named: "tv4k") + #elseif os(visionOS) + assertSnapshot( + of: viewController, as: .image(on: .visionPro), named: "visionPro") #endif } #endif } func testTraitsEmbeddedInTabNavigation() { - #if os(iOS) - if #available(iOS 11.0, *) { + #if os(iOS) || os(visionOS) + if #available(iOS 11.0, visionOS 1.0, *) { class MyViewController: UIViewController { let topLabel = UILabel() let leadingLabel = UILabel() @@ -746,74 +762,87 @@ final class SnapshotTestingTests: XCTestCase { let viewController = UITabBarController() viewController.setViewControllers([navController], animated: false) - assertSnapshot(of: viewController, as: .image(on: .iPhoneSe), named: "iphone-se") - assertSnapshot(of: viewController, as: .image(on: .iPhone8), named: "iphone-8") - assertSnapshot(of: viewController, as: .image(on: .iPhone8Plus), named: "iphone-8-plus") - assertSnapshot(of: viewController, as: .image(on: .iPhoneX), named: "iphone-x") - assertSnapshot(of: viewController, as: .image(on: .iPhoneXr), named: "iphone-xr") - assertSnapshot(of: viewController, as: .image(on: .iPhoneXsMax), named: "iphone-xs-max") - assertSnapshot(of: viewController, as: .image(on: .iPadMini), named: "ipad-mini") - assertSnapshot(of: viewController, as: .image(on: .iPad9_7), named: "ipad-9-7") - assertSnapshot(of: viewController, as: .image(on: .iPad10_2), named: "ipad-10-2") - assertSnapshot(of: viewController, as: .image(on: .iPadPro10_5), named: "ipad-pro-10-5") - assertSnapshot(of: viewController, as: .image(on: .iPadPro11), named: "ipad-pro-11") - assertSnapshot(of: viewController, as: .image(on: .iPadPro12_9), named: "ipad-pro-12-9") - - assertSnapshot(of: viewController, as: .image(on: .iPhoneSe(.portrait)), named: "iphone-se") - assertSnapshot(of: viewController, as: .image(on: .iPhone8(.portrait)), named: "iphone-8") - assertSnapshot( - of: viewController, as: .image(on: .iPhone8Plus(.portrait)), named: "iphone-8-plus") - assertSnapshot(of: viewController, as: .image(on: .iPhoneX(.portrait)), named: "iphone-x") - assertSnapshot(of: viewController, as: .image(on: .iPhoneXr(.portrait)), named: "iphone-xr") - assertSnapshot( - of: viewController, as: .image(on: .iPhoneXsMax(.portrait)), named: "iphone-xs-max") - assertSnapshot( - of: viewController, as: .image(on: .iPadMini(.landscape)), named: "ipad-mini") - assertSnapshot(of: viewController, as: .image(on: .iPad9_7(.landscape)), named: "ipad-9-7") - assertSnapshot( - of: viewController, as: .image(on: .iPad10_2(.landscape)), named: "ipad-10-2") - assertSnapshot( - of: viewController, as: .image(on: .iPadPro10_5(.landscape)), named: "ipad-pro-10-5") - assertSnapshot( - of: viewController, as: .image(on: .iPadPro11(.landscape)), named: "ipad-pro-11") - assertSnapshot( - of: viewController, as: .image(on: .iPadPro12_9(.landscape)), named: "ipad-pro-12-9") + #if os(iOS) + assertSnapshot(of: viewController, as: .image(on: .iPhoneSe), named: "iphone-se") + assertSnapshot(of: viewController, as: .image(on: .iPhone8), named: "iphone-8") + assertSnapshot(of: viewController, as: .image(on: .iPhone8Plus), named: "iphone-8-plus") + assertSnapshot(of: viewController, as: .image(on: .iPhoneX), named: "iphone-x") + assertSnapshot(of: viewController, as: .image(on: .iPhoneXr), named: "iphone-xr") + assertSnapshot(of: viewController, as: .image(on: .iPhoneXsMax), named: "iphone-xs-max") + assertSnapshot(of: viewController, as: .image(on: .iPadMini), named: "ipad-mini") + assertSnapshot(of: viewController, as: .image(on: .iPad9_7), named: "ipad-9-7") + assertSnapshot(of: viewController, as: .image(on: .iPad10_2), named: "ipad-10-2") + assertSnapshot(of: viewController, as: .image(on: .iPadPro10_5), named: "ipad-pro-10-5") + assertSnapshot(of: viewController, as: .image(on: .iPadPro11), named: "ipad-pro-11") + assertSnapshot(of: viewController, as: .image(on: .iPadPro12_9), named: "ipad-pro-12-9") - assertSnapshot( - of: viewController, as: .image(on: .iPhoneSe(.landscape)), named: "iphone-se-alternative") - assertSnapshot( - of: viewController, as: .image(on: .iPhone8(.landscape)), named: "iphone-8-alternative") - assertSnapshot( - of: viewController, as: .image(on: .iPhone8Plus(.landscape)), - named: "iphone-8-plus-alternative") - assertSnapshot( - of: viewController, as: .image(on: .iPhoneX(.landscape)), named: "iphone-x-alternative") - assertSnapshot( - of: viewController, as: .image(on: .iPhoneXr(.landscape)), named: "iphone-xr-alternative") - assertSnapshot( - of: viewController, as: .image(on: .iPhoneXsMax(.landscape)), - named: "iphone-xs-max-alternative") - assertSnapshot( - of: viewController, as: .image(on: .iPadMini(.portrait)), named: "ipad-mini-alternative") - assertSnapshot( - of: viewController, as: .image(on: .iPad9_7(.portrait)), named: "ipad-9-7-alternative") - assertSnapshot( - of: viewController, as: .image(on: .iPad10_2(.portrait)), named: "ipad-10-2-alternative") - assertSnapshot( - of: viewController, as: .image(on: .iPadPro10_5(.portrait)), - named: "ipad-pro-10-5-alternative") - assertSnapshot( - of: viewController, as: .image(on: .iPadPro11(.portrait)), - named: "ipad-pro-11-alternative") - assertSnapshot( - of: viewController, as: .image(on: .iPadPro12_9(.portrait)), - named: "ipad-pro-12-9-alternative") + assertSnapshot( + of: viewController, as: .image(on: .iPhoneSe(.portrait)), named: "iphone-se") + assertSnapshot(of: viewController, as: .image(on: .iPhone8(.portrait)), named: "iphone-8") + assertSnapshot( + of: viewController, as: .image(on: .iPhone8Plus(.portrait)), named: "iphone-8-plus") + assertSnapshot(of: viewController, as: .image(on: .iPhoneX(.portrait)), named: "iphone-x") + assertSnapshot( + of: viewController, as: .image(on: .iPhoneXr(.portrait)), named: "iphone-xr") + assertSnapshot( + of: viewController, as: .image(on: .iPhoneXsMax(.portrait)), named: "iphone-xs-max") + assertSnapshot( + of: viewController, as: .image(on: .iPadMini(.landscape)), named: "ipad-mini") + assertSnapshot( + of: viewController, as: .image(on: .iPad9_7(.landscape)), named: "ipad-9-7") + assertSnapshot( + of: viewController, as: .image(on: .iPad10_2(.landscape)), named: "ipad-10-2") + assertSnapshot( + of: viewController, as: .image(on: .iPadPro10_5(.landscape)), named: "ipad-pro-10-5") + assertSnapshot( + of: viewController, as: .image(on: .iPadPro11(.landscape)), named: "ipad-pro-11") + assertSnapshot( + of: viewController, as: .image(on: .iPadPro12_9(.landscape)), named: "ipad-pro-12-9") + + assertSnapshot( + of: viewController, as: .image(on: .iPhoneSe(.landscape)), + named: "iphone-se-alternative") + assertSnapshot( + of: viewController, as: .image(on: .iPhone8(.landscape)), named: "iphone-8-alternative") + assertSnapshot( + of: viewController, as: .image(on: .iPhone8Plus(.landscape)), + named: "iphone-8-plus-alternative") + assertSnapshot( + of: viewController, as: .image(on: .iPhoneX(.landscape)), named: "iphone-x-alternative") + assertSnapshot( + of: viewController, as: .image(on: .iPhoneXr(.landscape)), + named: "iphone-xr-alternative") + assertSnapshot( + of: viewController, as: .image(on: .iPhoneXsMax(.landscape)), + named: "iphone-xs-max-alternative") + assertSnapshot( + of: viewController, as: .image(on: .iPadMini(.portrait)), named: "ipad-mini-alternative" + ) + assertSnapshot( + of: viewController, as: .image(on: .iPad9_7(.portrait)), named: "ipad-9-7-alternative") + assertSnapshot( + of: viewController, as: .image(on: .iPad10_2(.portrait)), named: "ipad-10-2-alternative" + ) + assertSnapshot( + of: viewController, as: .image(on: .iPadPro10_5(.portrait)), + named: "ipad-pro-10-5-alternative") + assertSnapshot( + of: viewController, as: .image(on: .iPadPro11(.portrait)), + named: "ipad-pro-11-alternative") + assertSnapshot( + of: viewController, as: .image(on: .iPadPro12_9(.portrait)), + named: "ipad-pro-12-9-alternative") + #elseif os(visionOS) + assertSnapshot( + of: viewController, as: .image(on: .visionPro), + named: "vision-pro-alternative") + #endif } #endif } func testCollectionViewsWithMultipleScreenSizes() { - #if os(iOS) + #if os(iOS) || os(visionOS) final class CollectionViewController: UIViewController, UICollectionViewDataSource, UICollectionViewDelegateFlowLayout @@ -890,20 +919,28 @@ final class SnapshotTestingTests: XCTestCase { let viewController = CollectionViewController() - assertSnapshots( - of: viewController, - as: [ - "ipad": .image(on: .iPadPro12_9), - "iphoneSe": .image(on: .iPhoneSe), - "iphone8": .image(on: .iPhone8), - "iphoneMax": .image(on: .iPhoneXsMax), - ]) + #if os(iOS) + assertSnapshots( + of: viewController, + as: [ + "ipad": .image(on: .iPadPro12_9), + "iphoneSe": .image(on: .iPhoneSe), + "iphone8": .image(on: .iPhone8), + "iphoneMax": .image(on: .iPhoneXsMax), + ]) + #elseif os(visionOS) + assertSnapshots( + of: viewController, + as: [ + "visionPro": .image(on: .visionPro) + ]) + #endif #endif } func testTraitsWithView() { - #if os(iOS) - if #available(iOS 11.0, *) { + #if os(iOS) || os(visionOS) + if #available(iOS 11.0, visionOS 1.0, *) { let label = UILabel() label.font = .preferredFont(forTextStyle: .title1) label.adjustsFontForContentSizeCategory = true @@ -913,7 +950,7 @@ final class SnapshotTestingTests: XCTestCase { assertSnapshot( of: label, as: .image(traits: .init(preferredContentSizeCategory: contentSize)), - named: "label-\(name)" + named: "label-\(name)-\(platform)" ) } } @@ -921,7 +958,7 @@ final class SnapshotTestingTests: XCTestCase { } func testTraitsWithViewController() { - #if os(iOS) + #if os(iOS) || os(visionOS) let label = UILabel() label.font = .preferredFont(forTextStyle: .title1) label.adjustsFontForContentSizeCategory = true @@ -939,19 +976,25 @@ final class SnapshotTestingTests: XCTestCase { equalTo: viewController.view.layoutMarginsGuide.trailingAnchor), ]) + let config: ViewImageConfig + #if os(iOS) + config = ViewImageConfig.iPhoneSe + #elseif os(visionOS) + config = ViewImageConfig.visionPro + #endif allContentSizes.forEach { name, contentSize in assertSnapshot( of: viewController, as: .recursiveDescription( - on: .iPhoneSe, traits: .init(preferredContentSizeCategory: contentSize)), - named: "label-\(name)" + on: config, traits: .init(preferredContentSizeCategory: contentSize)), + named: "label-\(name)-\(platform)" ) } #endif } func testUIBezierPath() { - #if os(iOS) || os(tvOS) + #if os(iOS) || os(tvOS) || os(visionOS) let path = UIBezierPath.heart let osName: String @@ -959,28 +1002,30 @@ final class SnapshotTestingTests: XCTestCase { osName = "iOS" #elseif os(tvOS) osName = "tvOS" + #elseif os(visionOS) + osName = "visionOS" #endif if !ProcessInfo.processInfo.environment.keys.contains("GITHUB_WORKFLOW") { assertSnapshot(of: path, as: .image, named: osName) } - if #available(iOS 11.0, tvOS 11.0, *) { + if #available(iOS 11.0, tvOS 11.0, visionOS 1.0, *) { assertSnapshot(of: path, as: .elementsDescription, named: osName) } #endif } func testUIView() { - #if os(iOS) + #if os(iOS) || os(visionOS) let view = UIButton(type: .contactAdd) - assertSnapshot(of: view, as: .image) - assertSnapshot(of: view, as: .recursiveDescription) + assertSnapshot(of: view, as: .image, named: platform) + assertSnapshot(of: view, as: .recursiveDescription, named: platform) #endif } func testUIViewControllerLifeCycle() { - #if os(iOS) + #if os(iOS) || os(visionOS) class ViewController: UIViewController { let viewDidLoadExpectation: XCTestExpectation let viewWillAppearExpectation: XCTestExpectation @@ -1044,8 +1089,8 @@ final class SnapshotTestingTests: XCTestCase { viewDidDisappearExpectation: viewDidDisappearExpectation ) - assertSnapshot(of: viewController, as: .image) - assertSnapshot(of: viewController, as: .image) + assertSnapshot(of: viewController, as: .image, named: platform) + assertSnapshot(of: viewController, as: .image, named: platform) wait( for: [ @@ -1059,30 +1104,30 @@ final class SnapshotTestingTests: XCTestCase { } func testCALayer() { - #if os(iOS) + #if os(iOS) || os(visionOS) let layer = CALayer() layer.frame = CGRect(x: 0, y: 0, width: 100, height: 100) layer.backgroundColor = UIColor.red.cgColor layer.borderWidth = 4.0 layer.borderColor = UIColor.black.cgColor - assertSnapshot(of: layer, as: .image) + assertSnapshot(of: layer, as: .image, named: platform) #endif } func testCALayerWithGradient() { - #if os(iOS) + #if os(iOS) || os(visionOS) let baseLayer = CALayer() baseLayer.frame = CGRect(x: 0, y: 0, width: 100, height: 100) let gradientLayer = CAGradientLayer() gradientLayer.colors = [UIColor.red.cgColor, UIColor.yellow.cgColor] gradientLayer.frame = baseLayer.frame baseLayer.addSublayer(gradientLayer) - assertSnapshot(of: baseLayer, as: .image) + assertSnapshot(of: baseLayer, as: .image, named: platform) #endif } func testViewControllerHierarchy() { - #if os(iOS) + #if os(iOS) || os(visionOS) let page = UIPageViewController(transitionStyle: .scroll, navigationOrientation: .horizontal) page.setViewControllers([UIViewController()], direction: .forward, animated: false) let tab = UITabBarController() @@ -1148,7 +1193,7 @@ final class SnapshotTestingTests: XCTestCase { } func testWebView() throws { - #if os(iOS) || os(macOS) + #if os(iOS) || os(macOS) || os(visionOS) let fixtureUrl = URL(fileURLWithPath: String(#file), isDirectory: false) .deletingLastPathComponent() .appendingPathComponent("__Fixtures__/pointfree.html") @@ -1166,26 +1211,26 @@ final class SnapshotTestingTests: XCTestCase { } func testViewWithZeroHeightOrWidth() { - #if os(iOS) || os(tvOS) + #if os(iOS) || os(tvOS) || os(visionOS) var rect = CGRect(x: 0, y: 0, width: 350, height: 0) var view = UIView(frame: rect) view.backgroundColor = .red - assertSnapshot(of: view, as: .image, named: "noHeight") + assertSnapshot(of: view, as: .image, named: "noHeight-\(platform)") rect = CGRect(x: 0, y: 0, width: 0, height: 350) view = UIView(frame: rect) view.backgroundColor = .green - assertSnapshot(of: view, as: .image, named: "noWidth") + assertSnapshot(of: view, as: .image, named: "noWidth-\(platform)") rect = CGRect(x: 0, y: 0, width: 0, height: 0) view = UIView(frame: rect) view.backgroundColor = .blue - assertSnapshot(of: view, as: .image, named: "noWidth.noHeight") + assertSnapshot(of: view, as: .image, named: "noWidth.noHeight-\(platform)") #endif } func testViewAgainstEmptyImage() { - #if os(iOS) || os(tvOS) + #if os(iOS) || os(tvOS) || os(visionOS) let rect = CGRect(x: 0, y: 0, width: 0, height: 0) let view = UIView(frame: rect) view.backgroundColor = .blue @@ -1196,7 +1241,7 @@ final class SnapshotTestingTests: XCTestCase { } func testEmbeddedWebView() throws { - #if os(iOS) + #if os(iOS) || os(visionOS) let label = UILabel() label.text = "Hello, Blob!" @@ -1221,7 +1266,7 @@ final class SnapshotTestingTests: XCTestCase { #endif } - #if os(iOS) || os(macOS) + #if os(iOS) || os(macOS) || os(visionOS) final class ManipulatingWKWebViewNavigationDelegate: NSObject, WKNavigationDelegate { func webView(_ webView: WKWebView, didFinish navigation: WKNavigation!) { webView.evaluateJavaScript("document.body.children[0].classList.remove(\"hero\")") // Change layout @@ -1334,9 +1379,33 @@ final class SnapshotTestingTests: XCTestCase { assertSnapshot(of: view, as: .image(layout: .device(config: .tv)), named: "device") } #endif + + #if os(visionOS) + @available(visionOS 1.0, *) + func testSwiftUIView_visionOS() { + struct MyView: SwiftUI.View { + var body: some SwiftUI.View { + HStack { + Image(systemName: "checkmark.circle.fill") + Text("Checked").fixedSize() + } + .padding(5) + .background(RoundedRectangle(cornerRadius: 5.0).fill(Color.blue)) + .padding(10) + } + } + let view = MyView().background(Color.yellow) + + assertSnapshot(of: view, as: .image()) + assertSnapshot(of: view, as: .image(layout: .sizeThatFits), named: "size-that-fits") + assertSnapshot( + of: view, as: .image(layout: .fixed(width: 300.0, height: 100.0)), named: "fixed") + assertSnapshot(of: view, as: .image(layout: .device(config: .visionPro)), named: "device") + } + #endif } -#if os(iOS) +#if os(iOS) || os(visionOS) private let allContentSizes = [ "extra-small": UIContentSizeCategory.extraSmall, diff --git a/Tests/SnapshotTestingTests/TestHelpers.swift b/Tests/SnapshotTestingTests/TestHelpers.swift index d71c855f1..e80d80330 100644 --- a/Tests/SnapshotTestingTests/TestHelpers.swift +++ b/Tests/SnapshotTestingTests/TestHelpers.swift @@ -6,6 +6,8 @@ import XCTest let platform = "ios" #elseif os(tvOS) let platform = "tvos" +#elseif os(visionOS) + let platform = "visionos" #elseif os(macOS) let platform = "macos" extension NSTextField { @@ -16,7 +18,7 @@ import XCTest } #endif -#if os(macOS) || os(iOS) || os(tvOS) +#if os(macOS) || os(iOS) || os(tvOS) || os(visionOS) extension CGPath { /// Creates an approximation of a heart at a 45º angle with a circle above, using all available element types: static var heart: CGPath { @@ -57,7 +59,7 @@ import XCTest } #endif -#if os(iOS) || os(tvOS) +#if os(iOS) || os(tvOS) || os(visionOS) extension UIBezierPath { /// Creates an approximation of a heart at a 45º angle with a circle above, using all available element types: static var heart: UIBezierPath { diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testAssertMultipleSnapshot.1.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testAssertMultipleSnapshot.1.png index f3ba87bb0..eda35ee7e 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testAssertMultipleSnapshot.1.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testAssertMultipleSnapshot.1.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testAssertMultipleSnapshot.2.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testAssertMultipleSnapshot.2.png index 30f20312a..1ed024fa2 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testAssertMultipleSnapshot.2.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testAssertMultipleSnapshot.2.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testAssertMultipleSnapshot.iPad-image.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testAssertMultipleSnapshot.iPad-image.png index bc2d22c5b..6a949c97f 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testAssertMultipleSnapshot.iPad-image.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testAssertMultipleSnapshot.iPad-image.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testAssertMultipleSnapshot.iPhoneSE-image.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testAssertMultipleSnapshot.iPhoneSE-image.png index e999e0bd5..0fba3e3d5 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testAssertMultipleSnapshot.iPhoneSE-image.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testAssertMultipleSnapshot.iPhoneSE-image.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testAssertMultipleSnapshot.visionPro-image.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testAssertMultipleSnapshot.visionPro-image.png new file mode 100644 index 000000000..a9719ba39 Binary files /dev/null and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testAssertMultipleSnapshot.visionPro-image.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testCALayer.visionos.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testCALayer.visionos.png new file mode 100644 index 000000000..ecc91c8db Binary files /dev/null and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testCALayer.visionos.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testCALayerWithGradient.visionos.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testCALayerWithGradient.visionos.png new file mode 100644 index 000000000..edb45afb8 Binary files /dev/null and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testCALayerWithGradient.visionos.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testCGPath.visionOS.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testCGPath.visionOS.png new file mode 100644 index 000000000..97706342d Binary files /dev/null and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testCGPath.visionOS.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testCGPath.visionOS.txt b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testCGPath.visionOS.txt new file mode 100644 index 000000000..c169fc6bf --- /dev/null +++ b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testCGPath.visionOS.txt @@ -0,0 +1,15 @@ +MoveTo (0.0, 0.0) +LineTo (0.0, 60.0) +QuadCurveTo (3.75, 86.25) (30.0, 90.0) +QuadCurveTo (56.25, 86.25) (60.0, 60.0) +CurveTo (75.0, 60.0) (90.0, 45.0) (90.0, 30.0) +CurveTo (90.0, 15.0) (75.0, 0.0) (60.0, 0.0) +LineTo (0.0, 0.0) +Close + +MoveTo (90.0, 75.0) +CurveTo (90.0, 83.284) (83.284, 90.0) (75.0, 90.0) +CurveTo (66.716, 90.0) (60.0, 83.284) (60.0, 75.0) +CurveTo (60.0, 66.716) (66.716, 60.0) (75.0, 60.0) +CurveTo (83.284, 60.0) (90.0, 66.716) (90.0, 75.0) +Close diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testCollectionViewsWithMultipleScreenSizes.visionPro.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testCollectionViewsWithMultipleScreenSizes.visionPro.png new file mode 100644 index 000000000..b2a53101d Binary files /dev/null and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testCollectionViewsWithMultipleScreenSizes.visionPro.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testEmbeddedWebView.ios.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testEmbeddedWebView.ios.png index 55f85885a..356c54f6a 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testEmbeddedWebView.ios.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testEmbeddedWebView.ios.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testEmbeddedWebView.visionos.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testEmbeddedWebView.visionos.png new file mode 100644 index 000000000..90650f739 Binary files /dev/null and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testEmbeddedWebView.visionos.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testPrecision.visionos.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testPrecision.visionos.png new file mode 100644 index 000000000..c262ac28f Binary files /dev/null and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testPrecision.visionos.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testSwiftUIView_iOS.1.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testSwiftUIView_iOS.1.png index 5f9d09b72..159edc9bb 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testSwiftUIView_iOS.1.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testSwiftUIView_iOS.1.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testSwiftUIView_iOS.device.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testSwiftUIView_iOS.device.png index a7a695305..80f8e3ab6 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testSwiftUIView_iOS.device.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testSwiftUIView_iOS.device.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testSwiftUIView_iOS.fixed.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testSwiftUIView_iOS.fixed.png index 90456c32b..d61936c4a 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testSwiftUIView_iOS.fixed.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testSwiftUIView_iOS.fixed.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testSwiftUIView_iOS.size-that-fits.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testSwiftUIView_iOS.size-that-fits.png index 5f9d09b72..159edc9bb 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testSwiftUIView_iOS.size-that-fits.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testSwiftUIView_iOS.size-that-fits.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testSwiftUIView_tvOS.1.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testSwiftUIView_tvOS.1.png index 48cc703f2..535f5fbda 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testSwiftUIView_tvOS.1.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testSwiftUIView_tvOS.1.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testSwiftUIView_tvOS.device.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testSwiftUIView_tvOS.device.png index 339c69017..313f24af1 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testSwiftUIView_tvOS.device.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testSwiftUIView_tvOS.device.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testSwiftUIView_tvOS.fixed.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testSwiftUIView_tvOS.fixed.png index 573a68fcf..58ec559fe 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testSwiftUIView_tvOS.fixed.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testSwiftUIView_tvOS.fixed.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testSwiftUIView_tvOS.size-that-fits.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testSwiftUIView_tvOS.size-that-fits.png index 48cc703f2..535f5fbda 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testSwiftUIView_tvOS.size-that-fits.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testSwiftUIView_tvOS.size-that-fits.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testSwiftUIView_visionOS.1.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testSwiftUIView_visionOS.1.png new file mode 100644 index 000000000..ed038546a Binary files /dev/null and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testSwiftUIView_visionOS.1.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testSwiftUIView_visionOS.device.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testSwiftUIView_visionOS.device.png new file mode 100644 index 000000000..08c30ae93 Binary files /dev/null and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testSwiftUIView_visionOS.device.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testSwiftUIView_visionOS.fixed.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testSwiftUIView_visionOS.fixed.png new file mode 100644 index 000000000..4b806b636 Binary files /dev/null and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testSwiftUIView_visionOS.fixed.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testSwiftUIView_visionOS.size-that-fits.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testSwiftUIView_visionOS.size-that-fits.png new file mode 100644 index 000000000..ed038546a Binary files /dev/null and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testSwiftUIView_visionOS.size-that-fits.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTableViewController.visionos.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTableViewController.visionos.png new file mode 100644 index 000000000..a9719ba39 Binary files /dev/null and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTableViewController.visionos.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-10-2-33-split-portrait.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-10-2-33-split-portrait.png index 464334b9a..00ef9194c 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-10-2-33-split-portrait.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-10-2-33-split-portrait.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-10-2-50-split-landscape.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-10-2-50-split-landscape.png index ecacc5e1a..98ab001e4 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-10-2-50-split-landscape.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-10-2-50-split-landscape.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-10-2-66-split-landscape.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-10-2-66-split-landscape.png index 730e87b04..c204acebb 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-10-2-66-split-landscape.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-10-2-66-split-landscape.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-10-2-66-split-portrait.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-10-2-66-split-portrait.png index b4e933566..04aaec817 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-10-2-66-split-portrait.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-10-2-66-split-portrait.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-10-2-alternative.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-10-2-alternative.png index a9fce4ac9..93c9c3686 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-10-2-alternative.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-10-2-alternative.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-10-2-split-landscape.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-10-2-split-landscape.png index 79f54f158..9a4b0d64d 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-10-2-split-landscape.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-10-2-split-landscape.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-10-2.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-10-2.png index 469fd0f05..300df4212 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-10-2.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-10-2.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-10-2.txt b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-10-2.txt index 19def6c4b..f9a8bdfc6 100644 --- a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-10-2.txt +++ b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-10-2.txt @@ -1,5 +1,5 @@ -> - | > - | > - | > - | > \ No newline at end of file +> + | > + | > + | > + | > \ No newline at end of file diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-9-7-33-split-landscape.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-9-7-33-split-landscape.png index b2630e76c..5fcaa2942 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-9-7-33-split-landscape.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-9-7-33-split-landscape.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-9-7-33-split-portrait.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-9-7-33-split-portrait.png index 375c1618c..ad806ec82 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-9-7-33-split-portrait.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-9-7-33-split-portrait.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-9-7-50-split-landscape.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-9-7-50-split-landscape.png index 8f9d26a24..8ac3c8be9 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-9-7-50-split-landscape.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-9-7-50-split-landscape.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-9-7-66-split-landscape.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-9-7-66-split-landscape.png index 38c9e1c85..3d5537f84 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-9-7-66-split-landscape.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-9-7-66-split-landscape.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-9-7-66-split-portrait.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-9-7-66-split-portrait.png index 07c08e0df..877e18b90 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-9-7-66-split-portrait.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-9-7-66-split-portrait.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-9-7-alternative.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-9-7-alternative.png index 80e6bfea3..a647115f2 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-9-7-alternative.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-9-7-alternative.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-9-7.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-9-7.png index 8ebe8f9ec..25744d4b8 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-9-7.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-9-7.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-9-7.txt b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-9-7.txt index 5b61a8817..3d42c0029 100644 --- a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-9-7.txt +++ b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-9-7.txt @@ -1,5 +1,5 @@ -> - | > - | > - | > - | > \ No newline at end of file +> + | > + | > + | > + | > \ No newline at end of file diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-mini-33-split-landscape.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-mini-33-split-landscape.png index b2630e76c..5fcaa2942 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-mini-33-split-landscape.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-mini-33-split-landscape.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-mini-33-split-portrait.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-mini-33-split-portrait.png index 375c1618c..ad806ec82 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-mini-33-split-portrait.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-mini-33-split-portrait.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-mini-50-split-landscape.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-mini-50-split-landscape.png index 8f9d26a24..8ac3c8be9 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-mini-50-split-landscape.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-mini-50-split-landscape.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-mini-66-split-landscape.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-mini-66-split-landscape.png index 38c9e1c85..3d5537f84 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-mini-66-split-landscape.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-mini-66-split-landscape.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-mini-66-split-portrait.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-mini-66-split-portrait.png index 07c08e0df..877e18b90 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-mini-66-split-portrait.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-mini-66-split-portrait.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-mini-alternative.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-mini-alternative.png index 80e6bfea3..a647115f2 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-mini-alternative.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-mini-alternative.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-mini.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-mini.png index 8ebe8f9ec..25744d4b8 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-mini.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-mini.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-mini.txt b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-mini.txt index 5b61a8817..3d42c0029 100644 --- a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-mini.txt +++ b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-mini.txt @@ -1,5 +1,5 @@ -> - | > - | > - | > - | > \ No newline at end of file +> + | > + | > + | > + | > \ No newline at end of file diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-10-5-alternative.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-10-5-alternative.png index 395c94c23..9f5a0c276 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-10-5-alternative.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-10-5-alternative.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-10-5.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-10-5.png index 6d11d8aa5..ee4719dac 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-10-5.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-10-5.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-10-5.txt b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-10-5.txt index ea083ba9c..45c0667cf 100644 --- a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-10-5.txt +++ b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-10-5.txt @@ -1,5 +1,5 @@ -> - | > - | > - | > - | > \ No newline at end of file +> + | > + | > + | > + | > \ No newline at end of file diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-10inch-33-split-landscape.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-10inch-33-split-landscape.png index 8c3186503..0d9c93416 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-10inch-33-split-landscape.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-10inch-33-split-landscape.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-10inch-33-split-portrait.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-10inch-33-split-portrait.png index cde623e86..ed643e237 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-10inch-33-split-portrait.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-10inch-33-split-portrait.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-10inch-50-split-landscape.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-10inch-50-split-landscape.png index 24ebf6315..4a1baa038 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-10inch-50-split-landscape.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-10inch-50-split-landscape.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-10inch-66-split-landscape.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-10inch-66-split-landscape.png index 51d6a0d63..0b3049168 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-10inch-66-split-landscape.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-10inch-66-split-landscape.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-10inch-66-split-portrait.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-10inch-66-split-portrait.png index f43d107b7..ecead9819 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-10inch-66-split-portrait.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-10inch-66-split-portrait.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-11-alternative.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-11-alternative.png index 269bfed4d..3ede96247 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-11-alternative.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-11-alternative.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-11.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-11.png index b894bad6e..b6e997014 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-11.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-11.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-11.txt b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-11.txt index 5c67f05e9..f790f6d17 100644 --- a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-11.txt +++ b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-11.txt @@ -1,5 +1,5 @@ -> - | > - | > - | > - | > \ No newline at end of file +> + | > + | > + | > + | > \ No newline at end of file diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-11inch-33-split-landscape.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-11inch-33-split-landscape.png index 75676a9ba..ae450614a 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-11inch-33-split-landscape.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-11inch-33-split-landscape.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-11inch-33-split-portrait.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-11inch-33-split-portrait.png index 26a13c36a..56eee5ee6 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-11inch-33-split-portrait.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-11inch-33-split-portrait.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-11inch-50-split-landscape.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-11inch-50-split-landscape.png index 845c1abf3..2c3e1cd1b 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-11inch-50-split-landscape.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-11inch-50-split-landscape.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-11inch-66-split-landscape.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-11inch-66-split-landscape.png index ff25ea7b6..24f3a61fe 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-11inch-66-split-landscape.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-11inch-66-split-landscape.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-11inch-66-split-portrait.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-11inch-66-split-portrait.png index 6d78ae7c4..07fa54d12 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-11inch-66-split-portrait.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-11inch-66-split-portrait.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-12-9-alternative.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-12-9-alternative.png index 6b18c4ae4..9fd2bef61 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-12-9-alternative.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-12-9-alternative.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-12-9.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-12-9.png index 2d320c78f..26e7e7b6d 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-12-9.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-12-9.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-12-9.txt b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-12-9.txt index 90452d45a..7af2b2a5a 100644 --- a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-12-9.txt +++ b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-12-9.txt @@ -1,5 +1,5 @@ -> - | > - | > - | > - | > \ No newline at end of file +> + | > + | > + | > + | > \ No newline at end of file diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-12inch-33-split-landscape.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-12inch-33-split-landscape.png index 925bd37b9..49168ec89 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-12inch-33-split-landscape.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-12inch-33-split-landscape.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-12inch-33-split-portrait.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-12inch-33-split-portrait.png index 07349ff69..deda85ffe 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-12inch-33-split-portrait.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-12inch-33-split-portrait.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-12inch-50-split-landscape.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-12inch-50-split-landscape.png index db629f9ee..e23dde846 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-12inch-50-split-landscape.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-12inch-50-split-landscape.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-12inch-66-split-landscape.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-12inch-66-split-landscape.png index 4ac32c44b..2a957ad42 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-12inch-66-split-landscape.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-12inch-66-split-landscape.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-12inch-66-split-portrait.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-12inch-66-split-portrait.png index 37cb825da..5fc77bbfd 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-12inch-66-split-portrait.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.ipad-pro-12inch-66-split-portrait.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-8-alternative.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-8-alternative.png index 245d12fa4..cdaab0e81 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-8-alternative.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-8-alternative.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-8-plus-alternative.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-8-plus-alternative.png index 8261256c5..65188612e 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-8-plus-alternative.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-8-plus-alternative.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-8-plus.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-8-plus.png index cc48733c2..ef881ac05 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-8-plus.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-8-plus.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-8-plus.txt b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-8-plus.txt index 93b959a4b..a74d2eabc 100644 --- a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-8-plus.txt +++ b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-8-plus.txt @@ -1,5 +1,5 @@ -> - | > - | > - | > - | > \ No newline at end of file +> + | > + | > + | > + | > \ No newline at end of file diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-8.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-8.png index 6febd224a..4230882ea 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-8.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-8.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-8.txt b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-8.txt index 08bee7ef6..9afd49cc6 100644 --- a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-8.txt +++ b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-8.txt @@ -1,5 +1,5 @@ -> - | > - | > - | > - | > \ No newline at end of file +> + | > + | > + | > + | > \ No newline at end of file diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-accessibility-extra-extra-extra-large.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-accessibility-extra-extra-extra-large.png index a7228d2a1..73b7ad30b 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-accessibility-extra-extra-extra-large.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-accessibility-extra-extra-extra-large.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-accessibility-extra-extra-large.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-accessibility-extra-extra-large.png index f1b7a849b..84e5f6de8 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-accessibility-extra-extra-large.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-accessibility-extra-extra-large.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-accessibility-extra-large.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-accessibility-extra-large.png index de5ebcef1..9db8aa09d 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-accessibility-extra-large.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-accessibility-extra-large.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-accessibility-large.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-accessibility-large.png index c9a1da073..c912772c3 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-accessibility-large.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-accessibility-large.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-accessibility-medium.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-accessibility-medium.png index 4351c4056..6065f2731 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-accessibility-medium.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-accessibility-medium.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-alternative.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-alternative.png index 9f18bd213..8c8a5c2f2 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-alternative.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-alternative.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-extra-extra-extra-large.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-extra-extra-extra-large.png index c6d3a4d44..991718681 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-extra-extra-extra-large.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-extra-extra-extra-large.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-extra-extra-large.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-extra-extra-large.png index d83a40f16..86be88f61 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-extra-extra-large.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-extra-extra-large.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-extra-large.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-extra-large.png index 234c8e6d4..1ed980e03 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-extra-large.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-extra-large.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-extra-small.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-extra-small.png index 02dd0439c..12037dc4b 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-extra-small.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-extra-small.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-large.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-large.png index 515b0fd54..1616bb16c 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-large.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-large.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-medium.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-medium.png index 72bc39183..b0005be56 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-medium.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-medium.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-small.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-small.png index 47915415d..a51946a5c 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-small.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se-small.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se.png index 72bc39183..b0005be56 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se.txt b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se.txt index 763b19fec..d4cb1ed21 100644 --- a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se.txt +++ b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-se.txt @@ -1,5 +1,5 @@ -> - | > - | > - | > - | > \ No newline at end of file +> + | > + | > + | > + | > \ No newline at end of file diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-x-alternative.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-x-alternative.png index 018db9bc3..e33bf73c0 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-x-alternative.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-x-alternative.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-x.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-x.png index 1396adbc4..8f500a025 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-x.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-x.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-x.txt b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-x.txt index f54f99daf..7f2e73889 100644 --- a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-x.txt +++ b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-x.txt @@ -1,5 +1,5 @@ -> - | > - | > - | > - | > \ No newline at end of file +> + | > + | > + | > + | > \ No newline at end of file diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-xr-alternative.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-xr-alternative.png index 5ab39c339..5e390f852 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-xr-alternative.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-xr-alternative.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-xr.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-xr.png index 9df2d8701..48e28e9ac 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-xr.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-xr.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-xr.txt b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-xr.txt index b0bf07c2d..bff35c607 100644 --- a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-xr.txt +++ b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-xr.txt @@ -1,5 +1,5 @@ -> - | > - | > - | > - | > \ No newline at end of file +> + | > + | > + | > + | > \ No newline at end of file diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-xs-max-alternative.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-xs-max-alternative.png index 5ab39c339..5e390f852 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-xs-max-alternative.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-xs-max-alternative.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-xs-max.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-xs-max.png index 1aa63d5d4..48e28e9ac 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-xs-max.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-xs-max.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-xs-max.txt b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-xs-max.txt index 78e7d7163..bff35c607 100644 --- a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-xs-max.txt +++ b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.iphone-xs-max.txt @@ -1,5 +1,5 @@ -> - | > - | > - | > - | > \ No newline at end of file +> + | > + | > + | > + | > \ No newline at end of file diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.tv.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.tv.png index c322c6bb1..2737b6e36 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.tv.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.tv.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.tv4k.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.tv4k.png index 9f56def4d..4038ba42f 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.tv4k.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.tv4k.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.visionPro.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.visionPro.png new file mode 100644 index 000000000..fc8dc072e Binary files /dev/null and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraits.visionPro.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.ipad-10-2-alternative.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.ipad-10-2-alternative.png index bf32d2bfd..bc25f398b 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.ipad-10-2-alternative.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.ipad-10-2-alternative.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.ipad-10-2.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.ipad-10-2.png index 64b564be7..f05724e8b 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.ipad-10-2.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.ipad-10-2.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.ipad-9-7-alternative.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.ipad-9-7-alternative.png index d10bb98eb..25073e684 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.ipad-9-7-alternative.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.ipad-9-7-alternative.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.ipad-9-7.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.ipad-9-7.png index 815218b48..b7063775f 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.ipad-9-7.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.ipad-9-7.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.ipad-mini-alternative.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.ipad-mini-alternative.png index d10bb98eb..25073e684 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.ipad-mini-alternative.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.ipad-mini-alternative.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.ipad-mini.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.ipad-mini.png index 815218b48..b7063775f 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.ipad-mini.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.ipad-mini.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.ipad-pro-10-5-alternative.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.ipad-pro-10-5-alternative.png index 93bbee347..b487f3319 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.ipad-pro-10-5-alternative.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.ipad-pro-10-5-alternative.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.ipad-pro-10-5.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.ipad-pro-10-5.png index 4bfb737b0..9c1c0f4e9 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.ipad-pro-10-5.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.ipad-pro-10-5.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.ipad-pro-11-alternative.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.ipad-pro-11-alternative.png index 32ff6dca6..370b4309e 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.ipad-pro-11-alternative.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.ipad-pro-11-alternative.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.ipad-pro-11.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.ipad-pro-11.png index 24e37b7c1..02ff4d767 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.ipad-pro-11.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.ipad-pro-11.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.ipad-pro-12-9-alternative.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.ipad-pro-12-9-alternative.png index ff496be0d..fb4ad3b7f 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.ipad-pro-12-9-alternative.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.ipad-pro-12-9-alternative.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.ipad-pro-12-9.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.ipad-pro-12-9.png index ffe569b65..1dc741ef8 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.ipad-pro-12-9.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.ipad-pro-12-9.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.iphone-8-alternative.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.iphone-8-alternative.png index 892a26aca..b8c1728cb 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.iphone-8-alternative.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.iphone-8-alternative.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.iphone-8-plus-alternative.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.iphone-8-plus-alternative.png index 7b1e2a3d0..d4959ec0f 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.iphone-8-plus-alternative.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.iphone-8-plus-alternative.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.iphone-8-plus.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.iphone-8-plus.png index d970a4dbc..62eb10263 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.iphone-8-plus.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.iphone-8-plus.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.iphone-8.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.iphone-8.png index aaa6100a8..eea1386c7 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.iphone-8.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.iphone-8.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.iphone-se-alternative.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.iphone-se-alternative.png index bff182823..f92498d56 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.iphone-se-alternative.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.iphone-se-alternative.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.iphone-se.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.iphone-se.png index 4afb584a0..ab19feb2b 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.iphone-se.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.iphone-se.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.iphone-x-alternative.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.iphone-x-alternative.png index 945b38f3b..bcb836f03 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.iphone-x-alternative.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.iphone-x-alternative.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.iphone-x.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.iphone-x.png index e71629cc3..553991cf4 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.iphone-x.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.iphone-x.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.iphone-xr-alternative.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.iphone-xr-alternative.png index 7fce146bc..6799cdc41 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.iphone-xr-alternative.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.iphone-xr-alternative.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.iphone-xr.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.iphone-xr.png index 9bbb01367..4009744b1 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.iphone-xr.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.iphone-xr.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.iphone-xs-max-alternative.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.iphone-xs-max-alternative.png index 7fce146bc..6799cdc41 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.iphone-xs-max-alternative.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.iphone-xs-max-alternative.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.iphone-xs-max.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.iphone-xs-max.png index b4d173ec9..4009744b1 100644 Binary files a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.iphone-xs-max.png and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.iphone-xs-max.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.vision-pro-alternative.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.vision-pro-alternative.png new file mode 100644 index 000000000..967bf75f3 Binary files /dev/null and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsEmbeddedInTabNavigation.vision-pro-alternative.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithView.label-accessibility-extra-extra-extra-large-visionos.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithView.label-accessibility-extra-extra-extra-large-visionos.png new file mode 100644 index 000000000..2f347c593 Binary files /dev/null and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithView.label-accessibility-extra-extra-extra-large-visionos.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithView.label-accessibility-extra-extra-large-visionos.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithView.label-accessibility-extra-extra-large-visionos.png new file mode 100644 index 000000000..79177ed81 Binary files /dev/null and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithView.label-accessibility-extra-extra-large-visionos.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithView.label-accessibility-extra-large-visionos.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithView.label-accessibility-extra-large-visionos.png new file mode 100644 index 000000000..78486c78b Binary files /dev/null and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithView.label-accessibility-extra-large-visionos.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithView.label-accessibility-large-visionos.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithView.label-accessibility-large-visionos.png new file mode 100644 index 000000000..1ed97ce0a Binary files /dev/null and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithView.label-accessibility-large-visionos.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithView.label-accessibility-medium-visionos.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithView.label-accessibility-medium-visionos.png new file mode 100644 index 000000000..99da05c81 Binary files /dev/null and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithView.label-accessibility-medium-visionos.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithView.label-extra-extra-extra-large-visionos.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithView.label-extra-extra-extra-large-visionos.png new file mode 100644 index 000000000..5faa822cd Binary files /dev/null and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithView.label-extra-extra-extra-large-visionos.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithView.label-extra-extra-large-visionos.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithView.label-extra-extra-large-visionos.png new file mode 100644 index 000000000..f0bacff61 Binary files /dev/null and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithView.label-extra-extra-large-visionos.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithView.label-extra-large-visionos.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithView.label-extra-large-visionos.png new file mode 100644 index 000000000..e203e6bf9 Binary files /dev/null and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithView.label-extra-large-visionos.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithView.label-extra-small-visionos.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithView.label-extra-small-visionos.png new file mode 100644 index 000000000..30fc2d683 Binary files /dev/null and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithView.label-extra-small-visionos.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithView.label-large-visionos.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithView.label-large-visionos.png new file mode 100644 index 000000000..0eb8b7b1a Binary files /dev/null and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithView.label-large-visionos.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithView.label-medium-visionos.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithView.label-medium-visionos.png new file mode 100644 index 000000000..5b8422d24 Binary files /dev/null and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithView.label-medium-visionos.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithView.label-small-visionos.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithView.label-small-visionos.png new file mode 100644 index 000000000..0146149b6 Binary files /dev/null and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithView.label-small-visionos.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithViewController.label-accessibility-extra-extra-extra-large-visionos.txt b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithViewController.label-accessibility-extra-extra-extra-large-visionos.txt new file mode 100644 index 000000000..0f4471744 --- /dev/null +++ b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithViewController.label-accessibility-extra-extra-extra-large-visionos.txt @@ -0,0 +1,2 @@ +> + | > \ No newline at end of file diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithViewController.label-accessibility-extra-extra-large-visionos.txt b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithViewController.label-accessibility-extra-extra-large-visionos.txt new file mode 100644 index 000000000..9ccce8de1 --- /dev/null +++ b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithViewController.label-accessibility-extra-extra-large-visionos.txt @@ -0,0 +1,2 @@ +> + | > \ No newline at end of file diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithViewController.label-accessibility-extra-large-visionos.txt b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithViewController.label-accessibility-extra-large-visionos.txt new file mode 100644 index 000000000..9957a3750 --- /dev/null +++ b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithViewController.label-accessibility-extra-large-visionos.txt @@ -0,0 +1,2 @@ +> + | > \ No newline at end of file diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithViewController.label-accessibility-large-visionos.txt b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithViewController.label-accessibility-large-visionos.txt new file mode 100644 index 000000000..a15306680 --- /dev/null +++ b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithViewController.label-accessibility-large-visionos.txt @@ -0,0 +1,2 @@ +> + | > \ No newline at end of file diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithViewController.label-accessibility-medium-visionos.txt b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithViewController.label-accessibility-medium-visionos.txt new file mode 100644 index 000000000..c86203ca5 --- /dev/null +++ b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithViewController.label-accessibility-medium-visionos.txt @@ -0,0 +1,2 @@ +> + | > \ No newline at end of file diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithViewController.label-extra-extra-extra-large-visionos.txt b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithViewController.label-extra-extra-extra-large-visionos.txt new file mode 100644 index 000000000..be19a875d --- /dev/null +++ b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithViewController.label-extra-extra-extra-large-visionos.txt @@ -0,0 +1,2 @@ +> + | > \ No newline at end of file diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithViewController.label-extra-extra-large-visionos.txt b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithViewController.label-extra-extra-large-visionos.txt new file mode 100644 index 000000000..7bfb0c597 --- /dev/null +++ b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithViewController.label-extra-extra-large-visionos.txt @@ -0,0 +1,2 @@ +> + | > \ No newline at end of file diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithViewController.label-extra-large-visionos.txt b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithViewController.label-extra-large-visionos.txt new file mode 100644 index 000000000..d628eedca --- /dev/null +++ b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithViewController.label-extra-large-visionos.txt @@ -0,0 +1,2 @@ +> + | > \ No newline at end of file diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithViewController.label-extra-small-visionos.txt b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithViewController.label-extra-small-visionos.txt new file mode 100644 index 000000000..b5197b8ec --- /dev/null +++ b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithViewController.label-extra-small-visionos.txt @@ -0,0 +1,2 @@ +> + | > \ No newline at end of file diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithViewController.label-large-visionos.txt b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithViewController.label-large-visionos.txt new file mode 100644 index 000000000..5cc0608ac --- /dev/null +++ b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithViewController.label-large-visionos.txt @@ -0,0 +1,2 @@ +> + | > \ No newline at end of file diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithViewController.label-medium-visionos.txt b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithViewController.label-medium-visionos.txt new file mode 100644 index 000000000..801ba3512 --- /dev/null +++ b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithViewController.label-medium-visionos.txt @@ -0,0 +1,2 @@ +> + | > \ No newline at end of file diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithViewController.label-small-visionos.txt b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithViewController.label-small-visionos.txt new file mode 100644 index 000000000..6a698b391 --- /dev/null +++ b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testTraitsWithViewController.label-small-visionos.txt @@ -0,0 +1,2 @@ +> + | > \ No newline at end of file diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testUIBezierPath.visionOS.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testUIBezierPath.visionOS.png new file mode 100644 index 000000000..ccf65da21 Binary files /dev/null and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testUIBezierPath.visionOS.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testUIBezierPath.visionOS.txt b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testUIBezierPath.visionOS.txt new file mode 100644 index 000000000..c169fc6bf --- /dev/null +++ b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testUIBezierPath.visionOS.txt @@ -0,0 +1,15 @@ +MoveTo (0.0, 0.0) +LineTo (0.0, 60.0) +QuadCurveTo (3.75, 86.25) (30.0, 90.0) +QuadCurveTo (56.25, 86.25) (60.0, 60.0) +CurveTo (75.0, 60.0) (90.0, 45.0) (90.0, 30.0) +CurveTo (90.0, 15.0) (75.0, 0.0) (60.0, 0.0) +LineTo (0.0, 0.0) +Close + +MoveTo (90.0, 75.0) +CurveTo (90.0, 83.284) (83.284, 90.0) (75.0, 90.0) +CurveTo (66.716, 90.0) (60.0, 83.284) (60.0, 75.0) +CurveTo (60.0, 66.716) (66.716, 60.0) (75.0, 60.0) +CurveTo (83.284, 60.0) (90.0, 66.716) (90.0, 75.0) +Close diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testUIView.visionos.png b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testUIView.visionos.png new file mode 100644 index 000000000..3cf91b783 Binary files /dev/null and b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testUIView.visionos.png differ diff --git a/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testUIView.visionos.txt b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testUIView.visionos.txt new file mode 100644 index 000000000..e108a64d5 --- /dev/null +++ b/Tests/SnapshotTestingTests/__Snapshots__/SnapshotTestingTests/testUIView.visionos.txt @@ -0,0 +1,2 @@ +; layer = > + | ; layer = > \ No newline at end of file