I have added the option to export the build using export_uitest_artifacts with no luck.
Once I added it to the top level using
input:
export_uitest_artifacts: ‘true’
and another time using this in the workflow step of the tests.
What is the correct way to get the screenshots to dump? Is it possible to generate a url link to the screenshots as snapshot displays the results as an html page so its easy to spot issues.
“from Snapshot” - do you mean the fastlane snapshot tool? Or the Xcode built in?
For the Xcode built in UI Test screenshots simply open the workflow editor, select the Xcode Test step and set Export UITest Artifacts input to true (it’s in the Testing input group).
You can check where the screenshots.html is generated on your Mac, and specify the relative path on bitrise.io - relative to the root of the repository (not to the fastlane config or xcode project, but to the repository’s root).
Please don’t use absolute paths, we don’t guarantee that those paths won’t change. Either use a relative path (to the repo root) or use the $BITRISE_SOURCE_DIR env var which points to the root of the repo (or if you need the deploy dir - but I don’t think you do - $BITRISE_DEPLOY_DIR).