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
getting broken image in html file #239
Comments
Have you moved the HTML file? Are you using inlining and image resizing? See this issue: #202 |
Have exactly the same issue. I can open those images in XCode but html raport can't open it. I've done some research and found out that HEIC files are not supported by Safari/Chrome. Here is my question - how we have to open html report if browsers not support this format? |
We faced the same issue after updating from 2.0.0 to 2.2.1 |
Same issue here |
We were using the Fastlane plugin and we understood that there is no problem when we run the xchtmlreport command in the directory where the xcresult file is located. We stop using deprecated fastlane plugin instead we will trigger directly from groovy . |
Thanks. I may try fastlane sh action then, instead of plugin. |
I still have the problem. I see that html img src looks to test_output folder, e.g.: <img class="screenshot-tail" src="test_output/Test.xcresult/Screenshot_51944F6E-F2DF-4312-B901-409552132BB0.jpg" id="screenshot-Screenshot_51944F6E-F2DF-4312-B901-409552132BB0.jpg"> So I guess that |
+1 Same issue. Both with "-i" parameter and without "-i" |
Here is my code from Fastfile, so all the sh calls happen in PROJECT_ROOT/fastlane sh("xchtmlreport", "-r", "./test_output/Test.xcresult")
# Previous line would create index.html in fastlane/test_output folder. But <image src="..."> in that index.html look into test_output/*.xcresult.
# So index.html should reside one level higher from test_output. Thus we manually create test_output and copy needed files there (for now only xcresult).
# This approach considers that Jenkins archives fastlane/test_output in order to publish XCHtmlReport.
sh("mkdir", "-p", "./test_output/test_output/")
sh("cp", "-a", "./test_output/Test.xcresult", "./test_output/test_output/Test.xcresult") |
Hi @nezhyborets |
Hi
I update the latest build and in that one, I can see images are showing broken
The text was updated successfully, but these errors were encountered: