Skip to content

Commit

Permalink
ci: add padding to test snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
El-Fitz committed Feb 12, 2025
1 parent b3a7ed5 commit becf032
Show file tree
Hide file tree
Showing 15 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ class UploadImagePreviewTests: XCTestCase {
func testColorSchemeVariantsEmptyState() {
let view = UploadImagePreview_Preview(demoImageName: "rectangular-placeholder")
.frame(width: 200, height: 200)
.padding()

snapshotHelper
.withUserInterfaceStyle(.light)
Expand All @@ -52,6 +53,7 @@ class UploadImagePreviewTests: XCTestCase {
func testDynamicTypeVariantsEmptyState() {
let view = UploadImagePreview_Preview(demoImageName: "rectangular-placeholder")
.frame(width: 200, height: 200)
.padding()

for dynamicTypeSize in DynamicTypeSize.allCases {
snapshotHelper
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit becf032

Please sign in to comment.