mozilla-b2g/gaia — pull request #13581 by AndreiH (2013-11-11 14:31:47+00:00)
Title: Bug 937079 - test_gallery_view.py is not switching to landscape view

The differences are not seen because the wait added is not on a UI level,
I tried also waiting for
screen_width == image.photo_toolbar_width
or
initial_image_scale != current_image_scale
both with the same results.
But if you add a wait, (time.wait(2))you can see that the orientation switch is done.