Skip to content

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

Open

Description

@paulz

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

Activity

  1. self-assigned this
    on Apr 18, 2023
  2. abotkin-cpi commented on Apr 18, 2023

    @abotkin-cpi
    Contributor

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

  3. added this to the 2.4 milestone on Apr 19, 2023
  4. paulz commented on Apr 22, 2023

    @paulz
    Author

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

  5. paulz commented on Apr 22, 2023

    @paulz
    Author

    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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions