A declarative Don't Repeat Yourself tool for XCUITesting and screenshots.
You can add this package to your project using SPM
On Xcode
File → Swift Packages → Add Package Dependency...
Add the url to this repository and follow the on screen instructions.