ChargePoint / xcparse

Command line tool & Swift framework for parsing Xcode 11+ xcresult
MIT License
392 stars 47 forks source link

[BUG] xcparse screenshots --activity-type testAssertionFailure stopped working with Xcode 14.2 #79

Open paulz opened 1 year ago

paulz commented 1 year ago

Describe the bug xcparse screenshots result.xcresult --activity-type testAssertionFailure does not extract screenshot of failure

Desktop (please complete the following information):

To Reproduce Steps to reproduce the behavior:

  1. Run a failing UI Test in Xcode 12.4
  2. Run: xcparse screenshots result.xcresult --activity-type testAssertionFailure where result.xcresult Xcode result bundle path
  3. See no screenshots extracted

Expected behavior we had it working with previous versions of Xcode and got screenshots extracted

abotkin-cpi commented 1 year ago

@paulz Will take a look this weekend at reproducing; if you have an example xcresult you're willing to share, please do.

paulz commented 1 year ago

@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.

paulz commented 1 year ago

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:

image

Xcode 14.3