Closed Bug 943757 Opened 11 years ago Closed 11 years ago

Fix test_sms_contact.TestContacts

Categories

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

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: askeing, Assigned: askeing)

Details

Attachments

(1 obsolete file)

The gaiatest/apps/messages/regions/new_message.py cannot auto swith from Contacts app to Message app.
Blocks: 937336
Attached file PR 14104 (obsolete) (deleted) —
Attachment #8339086 - Flags: review?(zcampbell)
PS: The error message was Traceback (most recent call last): File "/var/lib/jenkins/jobs/B2G.master.pvt.hamachi.gaiatest/workspace/tests/python/gaia-ui-tests/.env/local/lib/python2.7/site-packages/marionette_client-0.6.2-py2.7.egg/marionette/marionette_test.py", line 143, in run testMethod() File "/var/lib/jenkins/jobs/B2G.master.pvt.hamachi.gaiatest/workspace/tests/python/gaia-ui-tests/gaiatest/tests/functional/contacts/test_sms_contact.py", line 29, in test_sms_contact new_message = contact_details.tap_send_sms() File "/var/lib/jenkins/jobs/B2G.master.pvt.hamachi.gaiatest/workspace/tests/python/gaia-ui-tests/gaiatest/apps/contacts/regions/contact_details.py", line 48, in tap_send_sms return NewMessage(self.marionette) File "/var/lib/jenkins/jobs/B2G.master.pvt.hamachi.gaiatest/workspace/tests/python/gaia-ui-tests/gaiatest/apps/messages/regions/new_message.py", line 25, in __init__ section = self.marionette.find_element(*self._thread_messages_locator) File "/var/lib/jenkins/jobs/B2G.master.pvt.hamachi.gaiatest/workspace/tests/python/gaia-ui-tests/.env/local/lib/python2.7/site-packages/marionette_client-0.6.2-py2.7.egg/marionette/marionette.py", line 1100, in find_element response = self._send_message('findElement', 'value', **kwargs) File "/var/lib/jenkins/jobs/B2G.master.pvt.hamachi.gaiatest/workspace/tests/python/gaia-ui-tests/.env/local/lib/python2.7/site-packages/marionette_client-0.6.2-py2.7.egg/marionette/marionette.py", line 577, in _send_message self._handle_error(response) File "/var/lib/jenkins/jobs/B2G.master.pvt.hamachi.gaiatest/workspace/tests/python/gaia-ui-tests/.env/local/lib/python2.7/site-packages/marionette_client-0.6.2-py2.7.egg/marionette/marionette.py", line 598, in _handle_error raise NoSuchElementException(message=message, status=status, stacktrace=stacktrace) NoSuchElementException: Unable to locate element: thread-messages
This is resolved by bug #943757
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
Attachment #8339086 - Attachment is obsolete: true
Attachment #8339086 - Flags: review?(zcampbell)
I apologise Askeing, you were right about this! I was mixed up between the other failures. I want to remove the switch_to_frame entirely but I'll have to come back to this, I guess.
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Status: REOPENED → RESOLVED
Closed: 11 years ago11 years ago
Resolution: --- → FIXED
Assignee: nobody → fyen
No longer blocks: 937336
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: