diff --git a/tests/python/gaia-ui-tests/gaiatest/tests/functional/keyboard/manifest.ini b/tests/python/gaia-ui-tests/gaiatest/tests/functional/keyboard/manifest.ini index 4466cb0a1c98..79f6df7b8806 100644 --- a/tests/python/gaia-ui-tests/gaiatest/tests/functional/keyboard/manifest.ini +++ b/tests/python/gaia-ui-tests/gaiatest/tests/functional/keyboard/manifest.ini @@ -10,6 +10,8 @@ skip-if = device == "desktop" && os == "linux" && debug [test_number_keyboard.py] [test_keyboard_predictive_key.py] +# Bug 1008932 - On desktopb2g, mozOrientation reports landscape when Gaia is oriented in portrait +fail-if = device == "desktop" [test_email_keyboard.py] diff --git a/tests/python/gaia-ui-tests/gaiatest/tests/functional/keyboard/test_keyboard_predictive_key.py b/tests/python/gaia-ui-tests/gaiatest/tests/functional/keyboard/test_keyboard_predictive_key.py index 6d7f43be0a29..0676b9673034 100644 --- a/tests/python/gaia-ui-tests/gaiatest/tests/functional/keyboard/test_keyboard_predictive_key.py +++ b/tests/python/gaia-ui-tests/gaiatest/tests/functional/keyboard/test_keyboard_predictive_key.py @@ -15,6 +15,9 @@ def setUp(self): self.data_layer.set_setting('keyboard.autocorrect', True) def test_keyboard_predictive_key(self): + # Check that the device is in portrait mode as the autocorrect words returned depend on the screen orientation + self.assertEqual('portrait-primary', self.device.screen_orientation) + self.ui_tests = UiTests(self.marionette) self.ui_tests.launch()