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

I get "Process completed with exit code 65" when I use "assertSnapshot(of: vc, as: .image)" function on GitHub Actions. #841

Open
HappyIosDeveloper opened this issue Mar 24, 2024 · 0 comments

Comments

@HappyIosDeveloper
Copy link

HappyIosDeveloper commented Mar 24, 2024

My code passes all the tests with no problem on GitHub Automations...
but when I use the test functions of the snapshot testing, the CI fails with this error:

** TEST FAILED **

Testing started
Test suite 'X' started on 'Clone 1 of iPhone 11 - X (3927)'
Test case 'X.testExample()' failed on 'Clone 1 of iPhone 11 - X (3927)' (0.379 seconds)
Test case 'X.testPerformanceExample()' passed on 'Clone 1 of iPhone 11 - X (3927)' (0.264 seconds)
Error: Process completed with exit code 65.

and here is how I use the snapshot testing:

import SnapshotTesting
let vc = MyViewController()
assertSnapshot(of: vc, as: .image)

Snapshot testing is passing on my machine.
I searched a lot and I don't know how to solve this problem...

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

No branches or pull requests

1 participant