Closed
Bug 1111519
Opened 10 years ago
Closed 10 years ago
Update locators in Device info page
Categories
(Firefox OS Graveyard :: Gaia::UI Tests, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: viorela, Assigned: viorela)
Details
Attachments
(1 file)
Test test_settings_device_info.py is failing on master, because of the changes done in https://github.com/mozilla-b2g/gaia/commit/5ad3479659ebaac27c76d827f0fb20a8896dbfc5
Traceback (most recent call last):
File "/var/jenkins/2/workspace/flame-kk-319.mozilla-central.ui.functional.non-smoke.2/.env/local/lib/python2.7/site-packages/marionette_client-0.8.5-py2.7.egg/marionette/marionette_test.py", line 267, in run
testMethod()
File "/var/jenkins/2/workspace/flame-kk-319.mozilla-central.ui.functional.non-smoke.2/tests/python/gaia-ui-tests/gaiatest/tests/functional/settings/test_settings_device_info.py", line 26, in test_that_device_info_is_populated
self.assertTrue(len(getattr(more_info, item)) > 0)
File "/var/jenkins/2/workspace/flame-kk-319.mozilla-central.ui.functional.non-smoke.2/tests/python/gaia-ui-tests/gaiatest/apps/settings/regions/device_info.py", line 69, in imei1
return self.marionette.find_element(*self._imei1_locator).text.split()[2]
File "/var/jenkins/2/workspace/flame-kk-319.mozilla-central.ui.functional.non-smoke.2/.env/local/lib/python2.7/site-packages/marionette_client-0.8.5-py2.7.egg/marionette/marionette.py", line 1313, in find_element
response = self._send_message('findElement', 'value', **kwargs)
File "/var/jenkins/2/workspace/flame-kk-319.mozilla-central.ui.functional.non-smoke.2/.env/local/lib/python2.7/site-packages/marionette_client-0.8.5-py2.7.egg/marionette/decorators.py", line 36, in _
return func(*args, **kwargs)
File "/var/jenkins/2/workspace/flame-kk-319.mozilla-central.ui.functional.non-smoke.2/.env/local/lib/python2.7/site-packages/marionette_client-0.8.5-py2.7.egg/marionette/marionette.py", line 630, in _send_message
self._handle_error(response)
File "/var/jenkins/2/workspace/flame-kk-319.mozilla-central.ui.functional.non-smoke.2/.env/local/lib/python2.7/site-packages/marionette_client-0.8.5-py2.7.egg/marionette/marionette.py", line 664, in _handle_error
raise errors.NoSuchElementException(message=message, status=status, stacktrace=stacktrace)
NoSuchElementException: NoSuchElementException: Unable to locate element: #deviceInfo-imeis span[data-slot="0"]
Device firmware (base) L1TC10011880
Device firmware (date) 14 Dec 2014 16:31:58
Device firmware (incremental) eng.cltbld.20141214.193147
Device firmware (release) 4.4.2
Device identifier flame
Gaia date 12 Dec 2014 13:39:46
Gaia revision e2a3e606675c
Gecko build 20141214160202
Gecko revision f14dcd1c8c0b
Gecko version 37.0a1
We need to update the locators in https://github.com/mozilla-b2g/gaia/blob/master/tests/python/gaia-ui-tests/gaiatest/apps/settings/regions/device_info.py, in order to fix the failure.
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8536447 -
Flags: review?(robert.chira)
Attachment #8536447 -
Flags: review?(florin.strugariu)
Updated•10 years ago
|
Attachment #8536447 -
Flags: review?(robert.chira) → review+
Updated•10 years ago
|
Attachment #8536447 -
Flags: review?(florin.strugariu) → review+
Comment 2•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•10 years ago
|
QA Whiteboard: [fxosqa-auto-s6]
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → viorela.ioia
You need to log in
before you can comment on or make changes to this bug.
Description
•