Update settings tests to wait for the Settings menu to transition away after tapping on a menu item

Fixes issues #966