Skip to content

Is it sensible to put 'shake simulator' into fbsimctl? #378

@sleekweasel

Description

@sleekweasel

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions