Closed Bug 1038100 Opened 10 years ago Closed 10 years ago

[v2.1][v2.0] Everything me "Keyboard not interpreted as displayed. Debug is_displayed(): True"

Categories

(Firefox OS Graveyard :: Gaia::UI Tests, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v2.0 affected)

RESOLVED FIXED
Tracking Status
b2g-v2.0 --- affected

People

(Reporter: AndreiH, Unassigned)

Details

Attachments

(2 files)

Attached image download.png
Tests failed again on v2.0 with "Keyboard not interpreted as displayed. Debug is_displayed(): True" error.

I saw this fail on master also some time ago.

Traceback (most recent call last):
  File "/var/jenkins/workspace/b2g.flame.mozilla-aurora.ui.smoketest/.env/local/lib/python2.7/site-packages/marionette_client-0.7.11-py2.7.egg/marionette/marionette_test.py", line 170, in run
    testMethod()
  File "/var/jenkins/workspace/b2g.flame.mozilla-aurora.ui.smoketest/tests/python/gaia-ui-tests/gaiatest/tests/functional/everythingme/test_everythingme_launch_link.py", line 22, in test_launch_everything_me_link
    search_panel.type_into_search_box(search_string)
  File "/var/jenkins/workspace/b2g.flame.mozilla-aurora.ui.smoketest/tests/python/gaia-ui-tests/gaiatest/apps/homescreen/regions/search_panel.py", line 25, in type_into_search_box
    self.keyboard.send(search_term)
  File "/var/jenkins/workspace/b2g.flame.mozilla-aurora.ui.smoketest/tests/python/gaia-ui-tests/gaiatest/apps/keyboard/app.py", line 216, in send
    self.switch_to_keyboard()
  File "/var/jenkins/workspace/b2g.flame.mozilla-aurora.ui.smoketest/tests/python/gaia-ui-tests/gaiatest/apps/keyboard/app.py", line 152, in switch_to_keyboard
    %keyboards.is_displayed())
  File "/var/jenkins/workspace/b2g.flame.mozilla-aurora.ui.smoketest/tests/python/gaia-ui-tests/gaiatest/apps/base.py", line 54, in wait_for_condition
    Wait(self.marionette, timeout).until(method, message=message)
  File "/var/jenkins/workspace/b2g.flame.mozilla-aurora.ui.smoketest/.env/local/lib/python2.7/site-packages/marionette_client-0.7.11-py2.7.egg/marionette/wait.py", line 143, in until
    cause=last_exc)
TimeoutException: TimeoutException: Timed out after 20.1 seconds with message: Keyboard not interpreted as displayed. Debug is_displayed(): True
Attachment #8455259 - Flags: review?(zcampbell)
Attachment #8455259 - Flags: review?(robert.chira)
(In reply to [:AndreiH] from comment #3)
> The difference with that sleep added:
> 
> http://selenium.qa.mtv2.mozilla.com:8080/job/b2g.flame.mozilla-aurora.ui.
> adhoc/17/HTML_Report/

Big difference! Did you try, see if there's something else we can wait for?
I remember rushing in this hacky code but maybe the UI has improved lately and we can wait properly?
Zac, I didn't find anything to wait for. The test is still affected by bug 1020974, so I just added an  enhancement in the hack. (tapping on search bar was done to quick)
Comment on attachment 8455259 [details] [review]
MASTER PR https://github.com/mozilla-b2g/gaia/pull/21687

wish we could do this properly, reluctant r+ !
Attachment #8455259 - Flags: review?(zcampbell) → review+
Attachment #8455259 - Flags: review?(robert.chira) → review+
https://github.com/mozilla-b2g/gaia/commit/f0d9c5b39735bcbc63405281642437d4fc186cdb
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: