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

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

Open
paulz opened this issue Jan 19, 2023 · 3 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@paulz
Copy link

paulz commented Jan 19, 2023

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:

  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

@paulz paulz added the bug Something isn't working label Jan 19, 2023
@abotkin-cpi abotkin-cpi self-assigned this Apr 18, 2023
@abotkin-cpi
Copy link
Collaborator

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

@abotkin-cpi abotkin-cpi added this to the 2.4 milestone Apr 19, 2023
@paulz
Copy link
Author

paulz commented Apr 22, 2023

@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
Copy link
Author

paulz commented Apr 22, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants