@@ -31,6 +31,8 @@ struct TypographySnapshotTests {
3131
3232 @MainActor
3333 @Test func typographyPreview( ) {
34+ guard !SnapshotTestHelpers. isRunningOnXcodeCloud else { return }
35+
3436 let view = TypographyPreview ( )
3537 . environment ( \. colorScheme, . light)
3638 . frame ( width: 1024 )
@@ -47,6 +49,8 @@ struct TypographySnapshotTests {
4749 @MainActor
4850 @Test ( " Typography with Extra Small accessibility size " )
4951 func typographyAccessibilityExtraSmall( ) {
52+ guard !SnapshotTestHelpers. isRunningOnXcodeCloud else { return }
53+
5054 let view = TypographyPreview ( )
5155 . environment ( \. colorScheme, . light)
5256 . environment ( \. sizeCategory, . extraSmall)
@@ -62,6 +66,8 @@ struct TypographySnapshotTests {
6266 @MainActor
6367 @Test ( " Typography with Small accessibility size " )
6468 func typographyAccessibilitySmall( ) {
69+ guard !SnapshotTestHelpers. isRunningOnXcodeCloud else { return }
70+
6571 let view = TypographyPreview ( )
6672 . environment ( \. colorScheme, . light)
6773 . environment ( \. sizeCategory, . small)
@@ -77,6 +83,8 @@ struct TypographySnapshotTests {
7783 @MainActor
7884 @Test ( " Typography with Medium (default) accessibility size " )
7985 func typographyAccessibilityMedium( ) {
86+ guard !SnapshotTestHelpers. isRunningOnXcodeCloud else { return }
87+
8088 let view = TypographyPreview ( )
8189 . environment ( \. colorScheme, . light)
8290 . environment ( \. sizeCategory, . medium)
@@ -92,6 +100,8 @@ struct TypographySnapshotTests {
92100 @MainActor
93101 @Test ( " Typography with Large accessibility size " )
94102 func typographyAccessibilityLarge( ) {
103+ guard !SnapshotTestHelpers. isRunningOnXcodeCloud else { return }
104+
95105 let view = TypographyPreview ( )
96106 . environment ( \. colorScheme, . light)
97107 . environment ( \. sizeCategory, . large)
@@ -107,6 +117,8 @@ struct TypographySnapshotTests {
107117 @MainActor
108118 @Test ( " Typography with Extra Large accessibility size " )
109119 func typographyAccessibilityExtraLarge( ) {
120+ guard !SnapshotTestHelpers. isRunningOnXcodeCloud else { return }
121+
110122 let view = TypographyPreview ( )
111123 . environment ( \. colorScheme, . light)
112124 . environment ( \. sizeCategory, . extraLarge)
@@ -122,6 +134,8 @@ struct TypographySnapshotTests {
122134 @MainActor
123135 @Test ( " Typography with Extra Extra Large accessibility size " )
124136 func typographyAccessibilityExtraExtraLarge( ) {
137+ guard !SnapshotTestHelpers. isRunningOnXcodeCloud else { return }
138+
125139 let view = TypographyPreview ( )
126140 . environment ( \. colorScheme, . light)
127141 . environment ( \. sizeCategory, . extraExtraLarge)
@@ -137,6 +151,8 @@ struct TypographySnapshotTests {
137151 @MainActor
138152 @Test ( " Typography with Extra Extra Extra Large accessibility size " )
139153 func typographyAccessibilityExtraExtraExtraLarge( ) {
154+ guard !SnapshotTestHelpers. isRunningOnXcodeCloud else { return }
155+
140156 let view = TypographyPreview ( )
141157 . environment ( \. colorScheme, . light)
142158 . environment ( \. sizeCategory, . extraExtraExtraLarge)
@@ -152,6 +168,8 @@ struct TypographySnapshotTests {
152168 @MainActor
153169 @Test ( " Typography with Accessibility Medium accessibility size " )
154170 func typographyAccessibilityMediumSize( ) {
171+ guard !SnapshotTestHelpers. isRunningOnXcodeCloud else { return }
172+
155173 let view = TypographyPreview ( )
156174 . environment ( \. colorScheme, . light)
157175 . environment ( \. sizeCategory, . accessibilityMedium)
@@ -167,6 +185,8 @@ struct TypographySnapshotTests {
167185 @MainActor
168186 @Test ( " Typography with Accessibility Large accessibility size " )
169187 func typographyAccessibilityLargeSize( ) {
188+ guard !SnapshotTestHelpers. isRunningOnXcodeCloud else { return }
189+
170190 let view = TypographyPreview ( )
171191 . environment ( \. colorScheme, . light)
172192 . environment ( \. sizeCategory, . accessibilityLarge)
@@ -182,6 +202,8 @@ struct TypographySnapshotTests {
182202 @MainActor
183203 @Test ( " Typography with Accessibility Extra Large accessibility size " )
184204 func typographyAccessibilityExtraLargeSize( ) {
205+ guard !SnapshotTestHelpers. isRunningOnXcodeCloud else { return }
206+
185207 let view = TypographyPreview ( )
186208 . environment ( \. colorScheme, . light)
187209 . environment ( \. sizeCategory, . accessibilityExtraLarge)
@@ -197,6 +219,8 @@ struct TypographySnapshotTests {
197219 @MainActor
198220 @Test ( " Typography with Accessibility Extra Extra Large accessibility size " )
199221 func typographyAccessibilityExtraExtraLargeSize( ) {
222+ guard !SnapshotTestHelpers. isRunningOnXcodeCloud else { return }
223+
200224 let view = TypographyPreview ( )
201225 . environment ( \. colorScheme, . light)
202226 . environment ( \. sizeCategory, . accessibilityExtraExtraLarge)
@@ -212,6 +236,8 @@ struct TypographySnapshotTests {
212236 @MainActor
213237 @Test ( " Typography with Accessibility Extra Extra Extra Large accessibility size " )
214238 func typographyAccessibilityExtraExtraExtraLargeSize( ) {
239+ guard !SnapshotTestHelpers. isRunningOnXcodeCloud else { return }
240+
215241 let view = TypographyPreview ( )
216242 . environment ( \. colorScheme, . light)
217243 . environment ( \. sizeCategory, . accessibilityExtraExtraExtraLarge)
0 commit comments