Skip to content

Commit

Permalink
Reduce precision again to fix tests on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
fbernutz committed May 12, 2024
1 parent 30f848d commit e38c3dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CineasteSnapshotTests/XCTestCase+SnapshotTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func assertThemedNavigationSnapshot(

assertSnapshot(
matching: value,
as: .image(),
as: .image(precision: 0.99),
named: theme.displayName,
record: recording,
timeout: timeout,
Expand Down Expand Up @@ -83,7 +83,7 @@ func assertThemedViewSnapshot(

assertSnapshot(
matching: value,
as: .image(size: size),
as: .image(precision: 0.99, size: size),
named: theme.displayName,
record: recording,
timeout: timeout,
Expand Down Expand Up @@ -112,7 +112,7 @@ func assertThemedLandscapeViewControllerSnapshot(

assertSnapshot(
matching: value,
as: .image(on: .iPhoneSe(.landscape)),
as: .image(on: .iPhoneSe(.landscape), precision: 0.99),
named: "landscape-\(theme.displayName)",
record: false,
timeout: 5,
Expand Down

0 comments on commit e38c3dc

Please sign in to comment.