Skip to content

Commit

Permalink
🔧 fix(PolaUITestCase.swift): adjust snapshot comparison precision to …
Browse files Browse the repository at this point in the history
…0.95
  • Loading branch information
WezSieTato committed May 7, 2024
1 parent 1d068d7 commit ac3ff4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BuyPolish/PolaUITests/PolaUITestCase.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class PolaUITestCase: XCTestCase {
func snapshotVerifyView(file: StaticString = #file, testName: String = #function, line: UInt = #line) {
startingPageObject.waitForPasteboardInfoDissappear().done()
addSnapshotDescriptionAttachment()
assertSnapshot(matching: app.screenshot().image, as: .image, file: file, testName: testName, line: line)
assertSnapshot(matching: app.screenshot().image, as: .image(precision: 0.95, scale: nil), file: file, testName: testName, line: line)
}

func expectRequest(path: String, file: StaticString = #file, line: UInt = #line) {
Expand Down

0 comments on commit ac3ff4d

Please sign in to comment.