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