I get "Process completed with exit code 65" when I use "assertSnapshot(of: vc, as: .image)" function on GitHub Actions.
HappyIosDeveloper opened this issue · comments
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...