Closed danispringer closed 8 months ago
@eddielement hey, ever had a chance to take a look at this? Thanks
EDIT: Please note the paths in screenshots.sh
currently are hardcoded to my username. Simply change it to yours when using this script. I tried replacing my username with a more adapting ~/
but it did not work for some reason...
@danispringer Oops, I missed this! Thanks for the note.
With these changes, you should be able to:
cd
to the project folder./SafetyPlanScreenshots/screenshots.sh
And the script will automatically generate screenshots for all needed devices. As of now the only screenshot programmed in the tests is the homepage of the app. NOTE: in the screenshots.sh file, change the path to your Desktop path (
/Users/YOURNAME/Desktop
) NOTE: you can add and change the done tests in theSafetyPlanScreenshots.swift
file NOTE: use SimulatorStatusMagic to clean the status bar before taking screenshots: https://github.com/shinydevelopment/SimulatorStatusMagic (note the drastic changes in how to use that project starting with iOS 17)