Bug 934480 - [v1.2] Write a test for Messages app matching with contacts #13660
Conversation
I got the following traceback on this Traceback (most recent call last): TEST-UNEXPECTED-FAIL | test_sms_contact_match.py test_sms_contact_match.TestContactMatch.test_contact_match | AssertionError: '55559774929' != u'g'Ran 1 test in 48.882s FAILED (failures=1) SUMMARYpassed: 0 |
I got the same stack trace. We should update the locators to match v1.2. |
looks like |
The test seems to be running fine, but it's getting the wrong thing back from @AndreiH please try to resolve this and get the test passing. [1] https://github.com/mozilla-b2g/gaia/pull/13660/files#diff-0885d50dc94967f8339442a24e243559R32 |
And also please fix the merge conflicts. |
@bobsilverberg the locators are ok, the |
please fix the merge conflicts |
@@ -13,3 +13,5 @@ skip-if = device == "desktop" | |||
|
|||
[test_sms_to_dialer.py] | |||
skip-if = device == "desktop" | |||
|
|||
[test_sms_contact_match.py] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no new line at the end of the file
# verify that contacts and tel number match | ||
self.assertEqual(self.contact['name'], new_message.first_recipient_name) | ||
self.assertEqual(self.contact['tel'][0]['value'], new_message.first_recipient_number_attribute) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pep8 issue: 34:1: W391 blank line at end of file
Besides the small pep8 issue, lgtm and the test passes on v1.2. |
LGTM and passes for me too. r+ with the pep8 fix. |
Bug 934480 - Write a test for Messages app matching with contacts
Ready to be merged! |
Looks good now. Thanks @AndreiH! |
Bug 934480 - [v1.2] Write a test for Messages app matching with contacts
No description provided.