Good afternoon,
From within my XCUITest target, I have a separate file that has a few functions that I created that extend the XCUIElement class. From within these functions, I want to attach a screenshot to the overall test. I can't seem to get that working, as it seems I need to call the .add function from within the XCUITestCase class.
Is there any way to get what I'm looking for to work?
Thank you!
James