Closed Bug 1184981 Opened 9 years ago Closed 9 years ago

Gaia UI test failures because open_wifi_settings and open_cell_and_data_settings don't exist anymore

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: njpark)

References

Details

Attachments

(1 file)

We have failures like these on Jenkins:
http://jenkins1.qa.scl3.mozilla.com/view/Bitbar/job/flame-kk-319.b2g-inbound.tinderbox.ui.functional.smoke.bitbar/2255/testReport/%28root%29/test_settings_wifi_py%20TestSettingsWifi_test_connect_to_wifi_via_settings_app/test_settings_wifi_py_TestSettingsWifi_test_connect_to_wifi_via_settings_app/
Traceback (most recent call last):
  File "/var/lib/jenkins/jobs/flame-kk-319.b2g-inbound.tinderbox.ui.functional.smoke.bitbar/workspace@2/.env/lib/python2.7/site-packages/marionette_client-0.16-py2.7.egg/marionette/marionette_test.py", line 296, in run
    testMethod()
  File "/var/lib/jenkins/jobs/flame-kk-319.b2g-inbound.tinderbox.ui.functional.smoke.bitbar/workspace@2/tests/python/gaia-ui-tests/gaiatest/tests/functional/settings/test_settings_wifi.py", line 21, in test_connect_to_wifi_via_settings_app
    wifi_settings = settings.open_wifi_settings()

AttributeError: 'Settings' object has no attribute 'open_wifi_settings'

This is because of the pull request in bug 1180819.

These places need fixing:
mxr.mozilla.org/gaia/source/tests/python/gaia-ui-tests/gaiatest/tests/functional/settings/test_settings_wifi.py#21
http://mxr.mozilla.org/gaia/search?string=open_cell_and_data_settings
Assignee: nobody → npark
Comment on attachment 8635421 [details] [review]
[gaia] npark-mozilla:1184981 > mozilla-b2g:master

Tested locally on a device without sim card, looks okay to me
Attachment #8635421 - Flags: review?(martijn.martijn)
Comment on attachment 8635421 [details] [review]
[gaia] npark-mozilla:1184981 > mozilla-b2g:master

R+ without trying out myself, the patch looks fine to me.
Attachment #8635421 - Flags: review?(martijn.martijn) → review+
Merged:
https://github.com/mozilla-b2g/gaia/commit/21c19b0e927af6492167a067171e1b78e4cbd878
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: