Fix test_sms_contact.TestContacts

RESOLVED FIXED

Status

RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: askeing, Assigned: askeing)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 obsolete attachment)

(Assignee)

Description

5 years ago
The gaiatest/apps/messages/regions/new_message.py cannot auto swith from Contacts app to Message app.
(Assignee)

Updated

5 years ago
Blocks: 937336
(Assignee)

Comment 1

5 years ago
Created attachment 8339086 [details] [review]
PR 14104
Attachment #8339086 - Flags: review?(zcampbell)
(Assignee)

Comment 3

5 years ago
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

Comment 4

5 years ago
This is resolved by bug #943757

Updated

5 years ago
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → INVALID

Updated

5 years ago
Attachment #8339086 - Attachment is obsolete: true
Attachment #8339086 - Flags: review?(zcampbell)

Comment 5

5 years ago
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 → ---

Comment 6

5 years ago
https://github.com/mozilla-b2g/gaia/commit/3f257de4e2450ef8b191b8b1479a6e61369c10fc
Status: REOPENED → RESOLVED
Last Resolved: 5 years ago5 years ago
Resolution: --- → FIXED
(Assignee)

Updated

5 years ago
Assignee: nobody → fyen
No longer blocks: 937336
You need to log in before you can comment on or make changes to this bug.