We want to test the shake gesture in our tests, without having to run at least one simulator with a head and direct shake-reliant tests to that device, then using applescript to send the 'shake' keyboard shortcut to the window.
I found some code about triggering shake here: http://stackoverflow.com/questions/10154958/ios-how-to-detect-shake-motion but while it looked like it ran in an iOS context, the WDA team said that wasn't something WDA could do and they closed the issue.
I had a look through the simulator control code, but I'm not familiar with MacOS/iOS development. Is shaking something that fbsimctl could tell the simulator to effect?
Thanks.
We want to test the shake gesture in our tests, without having to run at least one simulator with a head and direct shake-reliant tests to that device, then using applescript to send the 'shake' keyboard shortcut to the window.
I found some code about triggering shake here: http://stackoverflow.com/questions/10154958/ios-how-to-detect-shake-motion but while it looked like it ran in an iOS context, the WDA team said that wasn't something WDA could do and they closed the issue.
I had a look through the simulator control code, but I'm not familiar with MacOS/iOS development. Is shaking something that fbsimctl could tell the simulator to effect?
Thanks.