[BUG] xcparse screenshots --activity-type testAssertionFailure stopped working with Xcode 14.2
Describe the bug
xcparse screenshots result.xcresult --activity-type testAssertionFailure does not extract screenshot of failure
Desktop (please complete the following information):
- OS:
ProductName: macOS
ProductVersion: 12.6.2
BuildVersion: 21G320
- xcparse Version:
2.3.1 - Swift version:
swift-driver version: 1.62.15 Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51) - XCResult version:
3.39
To Reproduce Steps to reproduce the behavior:
- Run a failing UI Test in Xcode 12.4
- Run:
xcparse screenshots result.xcresult --activity-type testAssertionFailurewhereresult.xcresultXcode result bundle path - See no screenshots extracted
Expected behavior we had it working with previous versions of Xcode and got screenshots extracted
@paulz Will take a look this weekend at reproducing; if you have an example xcresult you're willing to share, please do.
@abotkin-cpi it fails for me every time everywhere, so should be very easy to reproduce. Please let me know if you can't reproduce and share your example project and I will run it on my machine.
Test-MyApp-2023.04.22_16-19-15--0700.xcresult.zip
running xcparse:
xcparse screenshots Test-MyApp-2023.04.22_16-19-15--0700.xcresult --activity-type testAssertionFailure
extracts no screenshots for me.
while opening this result bundle in Xcode shows failure screenshot:
Xcode 14.3