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

Logs tab is empty #254

Open
nezhyborets opened this issue Jan 13, 2022 · 6 comments
Open

Logs tab is empty #254

nezhyborets opened this issue Jan 13, 2022 · 6 comments

Comments

@nezhyborets
Copy link

nezhyborets commented Jan 13, 2022

Hi. First of all, this tool is fabulous and I hope I can contribute and help in future.

I have an issue where Tests tab works just fine, but Logs tab simply prints

Test Bemini

Testing configuration1 - Test plan BeminiUnitTests

Screenshot 2022-01-13 at 18 49 05

We run XCTestHTMLReport as part of CI (Jenkins, Fastlane)

The version of Xcode you're using

Xcode 13.1

The version of iOS or OS X you're targeting

15.0

The full output of the command

14:36:56 [14:36:56]: --------------------------
14:36:56 [14:36:56]: --- Step: xchtmlreport ---
14:36:56 [14:36:56]: --------------------------
14:36:56 [14:36:56]: Result bundle path: ./fastlane/test_output/Bemini.xcresult
14:36:56 [14:36:56]: $ /usr/local/bin/xchtmlreport -r ./fastlane/test_output/Bemini.xcresult
14:37:34 [14:37:34]: ▸ XCTestHTMLReport 2.2.0
14:37:34 [14:37:34]: ▸ Warning: Can't find test reference for action Clean "Bemini"
14:37:34 [14:37:34]: ▸ Warning: Can't find test reference for action Build "Bemini"
14:37:34 [14:37:34]: ▸ Report successfully created at /Users/gemini/.jenkins/workspace/ui_tests/fastlane/test_output/index.html

An archive of the resultBundlePath (Whenever possible)

Contents of fastlane/test_output
https://www.icloud.com/iclouddrive/0978IkG1nIAzsV99QcCRYKUXw#test_output

Any other details that would be useful in understanding the problem

Not sure what to put here, let me know what else is needed

@tylervick
Copy link
Member

Hey @nezhyborets, thanks for reporting! Xcode 13 moved the log output to a different section of the xcresult structure so we had to adjust.

I merged in #243 recently which should fix this issue - We haven't bumped the version yet but if you want to test it out you can clone and build the repo or install the head using brew: brew install XCTestHtmlReport/xchtmlreport/xchtmlreport --HEAD.

I'll look to bump a patch version in the next couple days - if you wanted to verify the fix too that'd be much appreciated 😄

@nezhyborets
Copy link
Author

Report made with 2.2.1 still doesn't have logs, I believe it should? Do you need any debugging info from me?

@kamvoick
Copy link

Hey, still not seeing logs on 2.2.1 (xcode 13.3). I did add -v if that would make any difference

@tylervick
Copy link
Member

Hey @kamvoick - What was the destination of your test run? E.g. iPhone (arm64) iOS 15.4, etc

@kamvoick
Copy link

@tylervick hello, I tried on both 15.4 and 15.3.

@Dharna
Copy link

Dharna commented Mar 15, 2023

any update on this? I am not seeing logs either. I am on Xcode 14.2 and the version I am using for the reporter is 2.3.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants