Closed Bug 1183696 Opened 9 years ago Closed 9 years ago

Failure in test_browser_lan.py in go_to_url

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: martijn.martijn, Assigned: martijn.martijn)

References

()

Details

Attachments

(1 file)

TEST-UNEXPECTED-ERROR | test_browser_lan.py TestBrowserLAN.test_browser_lan | TimeoutException: TimeoutException: Timed out after 10.1 seconds


Traceback (most recent call last):
  File "/Users/mwargers/.virtualenvs/gaia-py-latest/lib/python2.7/site-packages/marionette_client-0.16-py2.7.egg/marionette/marionette_test.py", line 296, in run
    testMethod()
  File "/Users/mwargers/B2G/gaia_clean/tests/python/gaia-ui-tests/gaiatest/tests/functional/browser/test_browser_lan.py", line 25, in test_browser_lan
    browser = search.go_to_url(self.test_url)
  File "/Users/mwargers/B2G/gaia_clean/tests/python/gaia-ui-tests/gaiatest/apps/search/app.py", line 27, in go_to_url
    return search_panel.go_to_url(url)
  File "/Users/mwargers/B2G/gaia_clean/tests/python/gaia-ui-tests/gaiatest/apps/homescreen/regions/search_panel.py", line 61, in go_to_url
    Wait(self.marionette).until(lambda m: urllib.quote(url, safe=':/?=&~') in self.apps.displayed_app.name)
  File "/Users/mwargers/.virtualenvs/gaia-py-latest/lib/python2.7/site-packages/marionette_driver-0.9-py2.7.egg/marionette_driver/wait.py", line 143, in until
    cause=last_exc)
TEST-INFO took 110549ms
This shows:
        print(self.apps.displayed_app.name)
        print(urllib.quote(url, safe=':/?=&~'))
mozqa.com
http://mozqa.com/data/firefox/layout/mozilla.html

So apparently self.apps.displayed_app.name has become shorter.
Comment on attachment 8633537 [details] [review]
[gaia] mwargers:1183696 > mozilla-b2g:master

This is also causing failures in a bunch of other tests.
Attachment #8633537 - Flags: review?(npark)
Attachment #8633537 - Flags: review?(jdorlus)
Attachment #8633537 - Flags: review?(npark) → review+
Attachment #8633537 - Flags: review?(jdorlus) → review+
Merged: https://github.com/mozilla-b2g/gaia/commit/d600ca447a22b4206b8a0ec08ac382d15997532a
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: