Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #28142 from viorelaioia/bug-1121978
Browse files Browse the repository at this point in the history
Bug 1121978 - Test test_keyboard_predictive_key.py is failing intermitte...
  • Loading branch information
Florin Strugariu committed Feb 11, 2015
2 parents 7bc3f14 + 871e9c4 commit e280a66
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Expand Up @@ -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]

Expand Down
Expand Up @@ -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()

Expand Down

0 comments on commit e280a66

Please sign in to comment.