Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update FBSnapshotTestCase to iOSSnapshotTestCase (=6.1) #1625

Closed
wants to merge 1 commit into from

Conversation

rahul-malik
Copy link
Contributor

Our snapshot dependency was really out-of-date. This updates us to the latest version which has support for XCTAttachments so you can view reference/failed/diff images from within Xcode!

Copy link
Contributor

@bolsinga bolsinga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome

Copy link
Member

@nguyenhuy nguyenhuy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Snapshot tests failed though, can you take a look?

@rahul-malik
Copy link
Contributor Author

@nguyenhuy - I noticed we have two reference directories (References_64, References_10 or something like that). Any reason we have both or should we re-record everything?

@bolsinga
Copy link
Contributor

@nguyenhuy - I noticed we have two reference directories (References_64, References_10 or something like that). Any reason we have both or should we re-record everything?

facebookarchive/AsyncDisplayKit#2295 is something that changes the output file if running against iOS 10.0 and this diff makes all tests run under iOS 10.0.

@bolsinga
Copy link
Contributor

@nguyenhuy - I noticed we have two reference directories (References_64, References_10 or something like that). Any reason we have both or should we re-record everything?

facebookarchive/AsyncDisplayKit#2295 is something that changes the output file if running against iOS 10.0 and this diff makes all tests run under iOS 10.0.

Also the new snapshot lib will replace - in reference image filenames with _.

@bolsinga
Copy link
Contributor

This work was done in #1855.

@bolsinga bolsinga closed this May 28, 2020
@Adlai-Holler Adlai-Holler deleted the rmalik/snapshot-pod-update branch June 5, 2020 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants