pkluz/PKHUD

UI Testing for success or fail

Opened this issue · 0 comments

Hi,
I am trying to use your library to test for success or fail within UI automation. Can you please provide a UI test or something for this?

Building on top of your own UI Tests, I have tried to do the following however it doesn't seem to work even though the title element is enabled for accessibility...

self.waitForCondition(element: app.otherElements["PKHUD"].staticTexts["Success"], predicate: NSPredicate(format: "exists == true"))

Ideally, I'd like to be able to test for success/fail without a title/subtitle element.

Thanks,
Sushant