Skip to content

Commit

Permalink
Recognise AutoRecord-created images.
Browse files Browse the repository at this point in the history
Complementary feature to the implementation of AutoRecord proposed to iOSSnapshotTestCase in this pull request: uber/ios-snapshot-test-case#32
  • Loading branch information
babbage committed Apr 7, 2018
1 parent 65ab907 commit 707ede6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions FBSnapshotsViewer/Models/ApplicationLogLine.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ struct ApplicationLogLineIndicatorContainer {
static func snapshotTestErrorMessageIndicators(for configuration: Configuration) -> [String] {
return [" : ((noErrors) is true) failed - Snapshot comparison failed",
" : failed - Snapshot comparison failed: Optional(Error Domain=FBSnapshotTestControllerErrorDomain Code=4",
" : failed - No previous reference image. New image has been stored for approval.",
" : failed - Test ran in record mode."]
}
}
Expand Down

0 comments on commit 707ede6

Please sign in to comment.