diff --git a/tests/python/gaia-ui-tests/gaiatest/tests/functional/gallery/test_gallery_view.py b/tests/python/gaia-ui-tests/gaiatest/tests/functional/gallery/test_gallery_view.py index 957e92ab4f0d..a9c7affe684a 100644 --- a/tests/python/gaia-ui-tests/gaiatest/tests/functional/gallery/test_gallery_view.py +++ b/tests/python/gaia-ui-tests/gaiatest/tests/functional/gallery/test_gallery_view.py @@ -2,6 +2,8 @@ # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. +import time + from gaiatest import GaiaTestCase from gaiatest.apps.gallery.app import Gallery @@ -31,6 +33,9 @@ def test_gallery_view(self): # Change the screen orientation to landscape mode and verify that the screen is in landscape mode self.change_orientation('landscape-primary') + + # Here we sleep only to give visual feedback when observing the test run + time.sleep(1) self.assertTrue(image.is_photo_toolbar_displayed) self.assertEqual('landscape-primary', self.screen_orientation) self.assertEqual(self.screen_width, image.photo_toolbar_width) @@ -40,6 +45,9 @@ def test_gallery_view(self): # Change the screen orientation back to portrait-primary and verify the screen is in portrait mode self.change_orientation('portrait-primary') + + # Here we sleep only to give visual feedback when observing the test run + time.sleep(1) self.assertTrue(image.is_photo_toolbar_displayed) self.assertEqual('portrait-primary', self.screen_orientation) self.assertEqual(self.screen_width, image.photo_toolbar_width)