kif-framework / KIF

Keep It Functional - An iOS Functional Testing Framework
Other
6.2k stars 909 forks source link

KIF-based UI tests crashes in Xcode 13.4 #1263

Closed danielsaidi closed 2 years ago

danielsaidi commented 2 years ago

When running KIF-based UI tests in Xcode 13.4, KIF crashes with this error log:

image

Setting up an All Runtime Issues breakpoint, we get this:

image

This printout looks either promising or worrying:

2022-06-08 10:51:17.266222+0200 UITestHost[98549:949047] [general] NSPredicate: NSFunctionExpression with selector 'accessibilityIdentifier' is forbidden.

Any ideas what is causing this crash?

danielsaidi commented 2 years ago

When using master, we can confirm that this indeed fixes the problem: https://github.com/kif-framework/KIF/pull/1261

We also noticed that a 3.8.7 version has been released - upgrading and hoping for the best 🙃

dostrander commented 2 years ago

Yep should be fixed with this issue as well: https://github.com/kif-framework/KIF/issues/1260