diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/OtherPaywallViewTests/iOS16-testDefaultDarkModePaywall.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/OtherPaywallViewTests/iOS16-testDefaultDarkModePaywall.1.png new file mode 100644 index 0000000000..2a1d33ca9c Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/OtherPaywallViewTests/iOS16-testDefaultDarkModePaywall.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/OtherPaywallViewTests/iOS16-testDefaultPaywall.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/OtherPaywallViewTests/iOS16-testDefaultPaywall.1.png new file mode 100644 index 0000000000..77a576a682 Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/OtherPaywallViewTests/iOS16-testDefaultPaywall.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/OtherPaywallViewTests/iOS16-testLoadingCardPaywallView.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/OtherPaywallViewTests/iOS16-testLoadingCardPaywallView.1.png new file mode 100644 index 0000000000..bbd3452910 Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/OtherPaywallViewTests/iOS16-testLoadingCardPaywallView.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/OtherPaywallViewTests/iOS16-testLoadingCondensedCardPaywallView.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/OtherPaywallViewTests/iOS16-testLoadingCondensedCardPaywallView.1.png new file mode 100644 index 0000000000..db575b8a8f Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/OtherPaywallViewTests/iOS16-testLoadingCondensedCardPaywallView.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/OtherPaywallViewTests/iOS16-testLoadingPaywallView.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/OtherPaywallViewTests/iOS16-testLoadingPaywallView.1.png new file mode 100644 index 0000000000..e5d7be89d8 Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/OtherPaywallViewTests/iOS16-testLoadingPaywallView.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/OtherPaywallViewTests/iOS17-testDefaultDarkModePaywall.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/OtherPaywallViewTests/iOS17-testDefaultDarkModePaywall.1.png new file mode 100644 index 0000000000..46d7089c18 Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/OtherPaywallViewTests/iOS17-testDefaultDarkModePaywall.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/OtherPaywallViewTests/iOS17-testDefaultPaywall.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/OtherPaywallViewTests/iOS17-testDefaultPaywall.1.png new file mode 100644 index 0000000000..01f8a3d0d0 Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/OtherPaywallViewTests/iOS17-testDefaultPaywall.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/OtherPaywallViewTests/iOS17-testLoadingCardPaywallView.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/OtherPaywallViewTests/iOS17-testLoadingCardPaywallView.1.png new file mode 100644 index 0000000000..f300fc8eec Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/OtherPaywallViewTests/iOS17-testLoadingCardPaywallView.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/OtherPaywallViewTests/iOS17-testLoadingCondensedCardPaywallView.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/OtherPaywallViewTests/iOS17-testLoadingCondensedCardPaywallView.1.png new file mode 100644 index 0000000000..ed9388fd1b Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/OtherPaywallViewTests/iOS17-testLoadingCondensedCardPaywallView.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/OtherPaywallViewTests/iOS17-testLoadingPaywallView.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/OtherPaywallViewTests/iOS17-testLoadingPaywallView.1.png new file mode 100644 index 0000000000..9bc0d4581c Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/OtherPaywallViewTests/iOS17-testLoadingPaywallView.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS16-testAccessibility1.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS16-testAccessibility1.1.png new file mode 100644 index 0000000000..589481c781 Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS16-testAccessibility1.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS16-testAccessibility3.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS16-testAccessibility3.1.png new file mode 100644 index 0000000000..ed3d399301 Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS16-testAccessibility3.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS16-testAccessibility5.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS16-testAccessibility5.1.png new file mode 100644 index 0000000000..1b4c128640 Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS16-testAccessibility5.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS16-testLarge.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS16-testLarge.1.png new file mode 100644 index 0000000000..8fc3aab20b Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS16-testLarge.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS16-testMedium.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS16-testMedium.1.png new file mode 100644 index 0000000000..9276e8ea81 Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS16-testMedium.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS16-testSmall.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS16-testSmall.1.png new file mode 100644 index 0000000000..2a9c31d8f6 Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS16-testSmall.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS16-testXLarge.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS16-testXLarge.1.png new file mode 100644 index 0000000000..8fc3aab20b Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS16-testXLarge.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS16-testXSmall.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS16-testXSmall.1.png new file mode 100644 index 0000000000..6011a607a4 Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS16-testXSmall.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS16-testXXLarge.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS16-testXXLarge.1.png new file mode 100644 index 0000000000..9f1650297d Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS16-testXXLarge.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS16-testXXXLarge.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS16-testXXXLarge.1.png new file mode 100644 index 0000000000..28688e428e Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS16-testXXXLarge.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS17-testAccessibility1.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS17-testAccessibility1.1.png new file mode 100644 index 0000000000..0f1569c5d8 Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS17-testAccessibility1.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS17-testAccessibility3.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS17-testAccessibility3.1.png new file mode 100644 index 0000000000..96412f6c90 Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS17-testAccessibility3.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS17-testAccessibility5.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS17-testAccessibility5.1.png new file mode 100644 index 0000000000..43d3623433 Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS17-testAccessibility5.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS17-testLarge.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS17-testLarge.1.png new file mode 100644 index 0000000000..352e09e02b Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS17-testLarge.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS17-testMedium.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS17-testMedium.1.png new file mode 100644 index 0000000000..9ec5a38349 Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS17-testMedium.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS17-testSmall.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS17-testSmall.1.png new file mode 100644 index 0000000000..d5c6b9f913 Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS17-testSmall.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS17-testXLarge.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS17-testXLarge.1.png new file mode 100644 index 0000000000..352e09e02b Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS17-testXLarge.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS17-testXSmall.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS17-testXSmall.1.png new file mode 100644 index 0000000000..781011ff12 Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS17-testXSmall.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS17-testXXLarge.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS17-testXXLarge.1.png new file mode 100644 index 0000000000..154fff81f6 Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS17-testXXLarge.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS17-testXXXLarge.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS17-testXXXLarge.1.png new file mode 100644 index 0000000000..0d1f7b693b Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewDynamicTypeTests/iOS17-testXXXLarge.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewLocalizationTests/iOS16-testSpanish.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewLocalizationTests/iOS16-testSpanish.1.png new file mode 100644 index 0000000000..cd775585c9 Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewLocalizationTests/iOS16-testSpanish.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewLocalizationTests/iOS17-testSpanish.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewLocalizationTests/iOS17-testSpanish.1.png new file mode 100644 index 0000000000..52d1e8118b Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/PaywallViewLocalizationTests/iOS17-testSpanish.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/Template1ViewTests/iOS16-testCardPaywall.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template1ViewTests/iOS16-testCardPaywall.1.png new file mode 100644 index 0000000000..6de0c0b675 Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template1ViewTests/iOS16-testCardPaywall.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/Template1ViewTests/iOS16-testCondensedCardPaywall.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template1ViewTests/iOS16-testCondensedCardPaywall.1.png new file mode 100644 index 0000000000..6de0c0b675 Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template1ViewTests/iOS16-testCondensedCardPaywall.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/Template1ViewTests/iOS16-testCustomFont.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template1ViewTests/iOS16-testCustomFont.1.png new file mode 100644 index 0000000000..3f76f2a7bf Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template1ViewTests/iOS16-testCustomFont.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/Template1ViewTests/iOS16-testDarkMode.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template1ViewTests/iOS16-testDarkMode.1.png new file mode 100644 index 0000000000..314614356c Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template1ViewTests/iOS16-testDarkMode.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/Template1ViewTests/iOS16-testSamplePaywall.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template1ViewTests/iOS16-testSamplePaywall.1.png new file mode 100644 index 0000000000..2b80e1a82a Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template1ViewTests/iOS16-testSamplePaywall.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/Template1ViewTests/iOS16-testSamplePaywallWithIneligibleIntroOffer.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template1ViewTests/iOS16-testSamplePaywallWithIneligibleIntroOffer.1.png new file mode 100644 index 0000000000..18fa289803 Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template1ViewTests/iOS16-testSamplePaywallWithIneligibleIntroOffer.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/Template1ViewTests/iOS16-testSamplePaywallWithIntroOffer.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template1ViewTests/iOS16-testSamplePaywallWithIntroOffer.1.png new file mode 100644 index 0000000000..9ece8c1777 Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template1ViewTests/iOS16-testSamplePaywallWithIntroOffer.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/Template1ViewTests/iOS16-testSamplePaywallWithLoadingEligibility.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template1ViewTests/iOS16-testSamplePaywallWithLoadingEligibility.1.png new file mode 100644 index 0000000000..9922cd7a1f Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template1ViewTests/iOS16-testSamplePaywallWithLoadingEligibility.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/Template1ViewTests/iOS17-testCardPaywall.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template1ViewTests/iOS17-testCardPaywall.1.png new file mode 100644 index 0000000000..6c178836f4 Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template1ViewTests/iOS17-testCardPaywall.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/Template1ViewTests/iOS17-testCondensedCardPaywall.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template1ViewTests/iOS17-testCondensedCardPaywall.1.png new file mode 100644 index 0000000000..6c178836f4 Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template1ViewTests/iOS17-testCondensedCardPaywall.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/Template1ViewTests/iOS17-testCustomFont.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template1ViewTests/iOS17-testCustomFont.1.png new file mode 100644 index 0000000000..5d400d41c5 Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template1ViewTests/iOS17-testCustomFont.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/Template1ViewTests/iOS17-testDarkMode.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template1ViewTests/iOS17-testDarkMode.1.png new file mode 100644 index 0000000000..0509debe09 Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template1ViewTests/iOS17-testDarkMode.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/Template1ViewTests/iOS17-testSamplePaywall.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template1ViewTests/iOS17-testSamplePaywall.1.png new file mode 100644 index 0000000000..8aab57ad11 Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template1ViewTests/iOS17-testSamplePaywall.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/Template1ViewTests/iOS17-testSamplePaywallWithIneligibleIntroOffer.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template1ViewTests/iOS17-testSamplePaywallWithIneligibleIntroOffer.1.png new file mode 100644 index 0000000000..4a89ea6fbd Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template1ViewTests/iOS17-testSamplePaywallWithIneligibleIntroOffer.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/Template1ViewTests/iOS17-testSamplePaywallWithIntroOffer.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template1ViewTests/iOS17-testSamplePaywallWithIntroOffer.1.png new file mode 100644 index 0000000000..d915578d44 Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template1ViewTests/iOS17-testSamplePaywallWithIntroOffer.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/Template1ViewTests/iOS17-testSamplePaywallWithLoadingEligibility.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template1ViewTests/iOS17-testSamplePaywallWithLoadingEligibility.1.png new file mode 100644 index 0000000000..1ab9dd3c86 Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template1ViewTests/iOS17-testSamplePaywallWithLoadingEligibility.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/Template2ViewTests/iOS16-testCardPaywall.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template2ViewTests/iOS16-testCardPaywall.1.png new file mode 100644 index 0000000000..b5edf42d8d Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template2ViewTests/iOS16-testCardPaywall.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/Template2ViewTests/iOS16-testCondensedCardPaywall.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template2ViewTests/iOS16-testCondensedCardPaywall.1.png new file mode 100644 index 0000000000..16e6ac4d75 Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template2ViewTests/iOS16-testCondensedCardPaywall.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/Template2ViewTests/iOS16-testCustomFont.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template2ViewTests/iOS16-testCustomFont.1.png new file mode 100644 index 0000000000..c24a36107f Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template2ViewTests/iOS16-testCustomFont.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/Template2ViewTests/iOS16-testDarkMode.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template2ViewTests/iOS16-testDarkMode.1.png new file mode 100644 index 0000000000..adf53d38df Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template2ViewTests/iOS16-testDarkMode.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/Template2ViewTests/iOS16-testPurchasingState.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template2ViewTests/iOS16-testPurchasingState.1.png new file mode 100644 index 0000000000..f9de7c7b99 Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template2ViewTests/iOS16-testPurchasingState.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/Template2ViewTests/iOS16-testSamplePaywall.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template2ViewTests/iOS16-testSamplePaywall.1.png new file mode 100644 index 0000000000..0ab1fba418 Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template2ViewTests/iOS16-testSamplePaywall.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/Template2ViewTests/iOS17-testCardPaywall.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template2ViewTests/iOS17-testCardPaywall.1.png new file mode 100644 index 0000000000..133fceaf16 Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template2ViewTests/iOS17-testCardPaywall.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/Template2ViewTests/iOS17-testCondensedCardPaywall.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template2ViewTests/iOS17-testCondensedCardPaywall.1.png new file mode 100644 index 0000000000..86b40bd949 Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template2ViewTests/iOS17-testCondensedCardPaywall.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/Template2ViewTests/iOS17-testCustomFont.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template2ViewTests/iOS17-testCustomFont.1.png new file mode 100644 index 0000000000..576dc206a7 Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template2ViewTests/iOS17-testCustomFont.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/Template2ViewTests/iOS17-testDarkMode.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template2ViewTests/iOS17-testDarkMode.1.png new file mode 100644 index 0000000000..08f63f8481 Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template2ViewTests/iOS17-testDarkMode.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/Template2ViewTests/iOS17-testPurchasingState.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template2ViewTests/iOS17-testPurchasingState.1.png new file mode 100644 index 0000000000..e7b28f7a20 Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template2ViewTests/iOS17-testPurchasingState.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/Template2ViewTests/iOS17-testSamplePaywall.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template2ViewTests/iOS17-testSamplePaywall.1.png new file mode 100644 index 0000000000..a25c69252e Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template2ViewTests/iOS17-testSamplePaywall.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/Template3ViewTests/iOS16-testCardPaywall.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template3ViewTests/iOS16-testCardPaywall.1.png new file mode 100644 index 0000000000..5ec6a1e51c Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template3ViewTests/iOS16-testCardPaywall.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/Template3ViewTests/iOS16-testCondensedCardPaywall.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template3ViewTests/iOS16-testCondensedCardPaywall.1.png new file mode 100644 index 0000000000..5ec6a1e51c Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template3ViewTests/iOS16-testCondensedCardPaywall.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/Template3ViewTests/iOS16-testCustomFont.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template3ViewTests/iOS16-testCustomFont.1.png new file mode 100644 index 0000000000..272b7a480f Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template3ViewTests/iOS16-testCustomFont.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/Template3ViewTests/iOS16-testSamplePaywall.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template3ViewTests/iOS16-testSamplePaywall.1.png new file mode 100644 index 0000000000..8c71cc1336 Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template3ViewTests/iOS16-testSamplePaywall.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/Template3ViewTests/iOS17-testCardPaywall.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template3ViewTests/iOS17-testCardPaywall.1.png new file mode 100644 index 0000000000..833ad8f6ba Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template3ViewTests/iOS17-testCardPaywall.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/Template3ViewTests/iOS17-testCondensedCardPaywall.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template3ViewTests/iOS17-testCondensedCardPaywall.1.png new file mode 100644 index 0000000000..833ad8f6ba Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template3ViewTests/iOS17-testCondensedCardPaywall.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/Template3ViewTests/iOS17-testCustomFont.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template3ViewTests/iOS17-testCustomFont.1.png new file mode 100644 index 0000000000..eaa1b040b2 Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template3ViewTests/iOS17-testCustomFont.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/Template3ViewTests/iOS17-testSamplePaywall.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template3ViewTests/iOS17-testSamplePaywall.1.png new file mode 100644 index 0000000000..ed7e100232 Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template3ViewTests/iOS17-testSamplePaywall.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/Template4ViewTests/iOS16-testCardPaywall.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template4ViewTests/iOS16-testCardPaywall.1.png new file mode 100644 index 0000000000..3087183cd0 Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template4ViewTests/iOS16-testCardPaywall.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/Template4ViewTests/iOS16-testCondensedCardPaywall.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template4ViewTests/iOS16-testCondensedCardPaywall.1.png new file mode 100644 index 0000000000..09184fb6c3 Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template4ViewTests/iOS16-testCondensedCardPaywall.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/Template4ViewTests/iOS16-testCustomFont.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template4ViewTests/iOS16-testCustomFont.1.png new file mode 100644 index 0000000000..d32f2f15d4 Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template4ViewTests/iOS16-testCustomFont.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/Template4ViewTests/iOS16-testLargeDynamicType.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template4ViewTests/iOS16-testLargeDynamicType.1.png new file mode 100644 index 0000000000..75c0e09d92 Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template4ViewTests/iOS16-testLargeDynamicType.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/Template4ViewTests/iOS16-testLargerDynamicType.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template4ViewTests/iOS16-testLargerDynamicType.1.png new file mode 100644 index 0000000000..e9848ddf0d Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template4ViewTests/iOS16-testLargerDynamicType.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/Template4ViewTests/iOS16-testSamplePaywall.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template4ViewTests/iOS16-testSamplePaywall.1.png new file mode 100644 index 0000000000..140584cbc4 Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template4ViewTests/iOS16-testSamplePaywall.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/Template4ViewTests/iOS17-testCardPaywall.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template4ViewTests/iOS17-testCardPaywall.1.png new file mode 100644 index 0000000000..c4adca238b Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template4ViewTests/iOS17-testCardPaywall.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/Template4ViewTests/iOS17-testCondensedCardPaywall.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template4ViewTests/iOS17-testCondensedCardPaywall.1.png new file mode 100644 index 0000000000..4ea5e208a1 Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template4ViewTests/iOS17-testCondensedCardPaywall.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/Template4ViewTests/iOS17-testCustomFont.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template4ViewTests/iOS17-testCustomFont.1.png new file mode 100644 index 0000000000..61417c1c6b Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template4ViewTests/iOS17-testCustomFont.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/Template4ViewTests/iOS17-testLargeDynamicType.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template4ViewTests/iOS17-testLargeDynamicType.1.png new file mode 100644 index 0000000000..8b114396c9 Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template4ViewTests/iOS17-testLargeDynamicType.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/Template4ViewTests/iOS17-testLargerDynamicType.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template4ViewTests/iOS17-testLargerDynamicType.1.png new file mode 100644 index 0000000000..c85e3b1d8d Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template4ViewTests/iOS17-testLargerDynamicType.1.png differ diff --git a/Tests/RevenueCatUITests/Templates/__Snapshots__/Template4ViewTests/iOS17-testSamplePaywall.1.png b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template4ViewTests/iOS17-testSamplePaywall.1.png new file mode 100644 index 0000000000..d070211184 Binary files /dev/null and b/Tests/RevenueCatUITests/Templates/__Snapshots__/Template4ViewTests/iOS17-testSamplePaywall.1.png differ diff --git a/Tests/StoreKitUnitTests/Support/DebugViewSwiftUITests.swift b/Tests/StoreKitUnitTests/Support/DebugViewSwiftUITests.swift index 507bef9a82..1cffdd0a91 100644 --- a/Tests/StoreKitUnitTests/Support/DebugViewSwiftUITests.swift +++ b/Tests/StoreKitUnitTests/Support/DebugViewSwiftUITests.swift @@ -31,8 +31,7 @@ class DebugViewSwiftUITests: TestCase { } func testLoadingState() { - expect(self.view(with: .init(), width: 300, height: 400)) - .to(haveValidSnapshot(as: .image)) + self.snapshot(.init(), width: 300, height: 400) } func testDebugView() throws { @@ -55,8 +54,7 @@ class DebugViewSwiftUITests: TestCase { response: .mockResponse )) - expect(self.view(with: model, width: 450, height: 900)) - .to(haveValidSnapshot(as: .image)) + self.snapshot(model, width: 450, height: 900) } } @@ -64,15 +62,16 @@ class DebugViewSwiftUITests: TestCase { @available(iOS 16.0, *) private extension DebugViewSwiftUITests { - func view( - with model: DebugViewModel, + func snapshot( + _ model: DebugViewModel, width: CGFloat, height: CGFloat - ) -> some View { + ) { NavigationView { DebugSummaryView(model: model) } .frame(width: width, height: height) + .snapshot(size: CGSize(width: width, height: height)) } static var mockCustomerInfo: CustomerInfo { diff --git a/Tests/StoreKitUnitTests/Support/__Snapshots__/DebugViewSwiftUITests/iOS16-testDebugView.1.png b/Tests/StoreKitUnitTests/Support/__Snapshots__/DebugViewSwiftUITests/iOS16-testDebugView.1.png index 8f649c472d..5bbe37eaf2 100644 Binary files a/Tests/StoreKitUnitTests/Support/__Snapshots__/DebugViewSwiftUITests/iOS16-testDebugView.1.png and b/Tests/StoreKitUnitTests/Support/__Snapshots__/DebugViewSwiftUITests/iOS16-testDebugView.1.png differ diff --git a/Tests/StoreKitUnitTests/Support/__Snapshots__/DebugViewSwiftUITests/iOS16-testLoadingState.1.png b/Tests/StoreKitUnitTests/Support/__Snapshots__/DebugViewSwiftUITests/iOS16-testLoadingState.1.png index 4705bd8982..b55c5b3c40 100644 Binary files a/Tests/StoreKitUnitTests/Support/__Snapshots__/DebugViewSwiftUITests/iOS16-testLoadingState.1.png and b/Tests/StoreKitUnitTests/Support/__Snapshots__/DebugViewSwiftUITests/iOS16-testLoadingState.1.png differ diff --git a/Tests/StoreKitUnitTests/Support/__Snapshots__/DebugViewSwiftUITests/iOS17-testDebugView.1.png b/Tests/StoreKitUnitTests/Support/__Snapshots__/DebugViewSwiftUITests/iOS17-testDebugView.1.png index de3d4beef8..716b6469a6 100644 Binary files a/Tests/StoreKitUnitTests/Support/__Snapshots__/DebugViewSwiftUITests/iOS17-testDebugView.1.png and b/Tests/StoreKitUnitTests/Support/__Snapshots__/DebugViewSwiftUITests/iOS17-testDebugView.1.png differ diff --git a/Tests/StoreKitUnitTests/Support/__Snapshots__/DebugViewSwiftUITests/iOS17-testLoadingState.1.png b/Tests/StoreKitUnitTests/Support/__Snapshots__/DebugViewSwiftUITests/iOS17-testLoadingState.1.png index 35d478644e..440395c334 100644 Binary files a/Tests/StoreKitUnitTests/Support/__Snapshots__/DebugViewSwiftUITests/iOS17-testLoadingState.1.png and b/Tests/StoreKitUnitTests/Support/__Snapshots__/DebugViewSwiftUITests/iOS17-testLoadingState.1.png differ diff --git a/Tests/UnitTests/TestHelpers/SnapshotTesting+Extensions.swift b/Tests/UnitTests/TestHelpers/SnapshotTesting+Extensions.swift index ed4830ddaa..dba3b276b7 100644 --- a/Tests/UnitTests/TestHelpers/SnapshotTesting+Extensions.swift +++ b/Tests/UnitTests/TestHelpers/SnapshotTesting+Extensions.swift @@ -67,7 +67,7 @@ extension SwiftUI.View { controller ).toEventually( haveValidSnapshot( - as: .image(perceptualPrecision: 0.98, size: size), + as: .image(perceptualPrecision: 0.98, size: size, traits: traits), named: "1", // Force each retry to end in `.1.png` file: file, line: line @@ -78,6 +78,10 @@ extension SwiftUI.View { } } + +// Generate snapshots with scale 1, which drastically reduces the file size. +private let traits: UITraitCollection = .init(displayScale: 1) + #endif private let timeout: DispatchTimeInterval = .seconds(5)