I've been trying to validate the text inside a Snackbar prompt in an iOS app using XCUITest, but the Snackbar does not last long enough for me to run po XCUIApplication().debugDescription()
on the console, and I have tried to click on the Snackbar using the test recorder which leads to the following error
Timestamped Event Matching Error: Failed to find matching element
Is there a way to test the Snackbar? is it even possible? any pointers would help :)