6

I was trying to write UI tests for home screen quick actions that I implemented for my iOS app. So when I start recording UI workflows, it doesn't let me capture the force touch events on the app. Instead it ignores the force touch and immediately opens the app (making it a tap event).

Is there any possible way with the latest Xcode8 that I can UI test home page quick actions? I have tried recording both the simulator and the actual device, nothing works. FYI the force touch actions work fine when I am normally open the app and trigger them.

mfazekas
  • 5,589
  • 1
  • 34
  • 25
grane2212
  • 764
  • 1
  • 10
  • 29
  • see also http://stackoverflow.com/questions/39284082/make-xcuielement-perform-3d-touch-for-automate-uitest – mfazekas Mar 14 '17 at 08:46
  • I don't think you can set `launchOptions` which is pretty unfortunate. Hopefully something changes in the future. – Schemetrical Jun 25 '18 at 21:39

0 Answers0