Closed Bug 995187 Opened 11 years ago Closed 11 years ago

Call log is not showing the full phone number

Categories

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

ARM
Gonk (Firefox OS)
defect

Tracking

(b2g-v1.4 unaffected)

RESOLVED FIXED
Tracking Status
b2g-v1.4 --- unaffected

People

(Reporter: Bebe, Assigned: RobertC)

Details

Attachments

(3 files, 2 obsolete files)

10.82 KB, image/png
Details
46 bytes, text/x-github-pull-request
Bebe
: review+
zcampbell
: review+
Details | Review
46 bytes, text/x-github-pull-request
Bebe
: review+
AndreiH
: review+
Details | Review
Attached image screenshot from jenkins
Description: Our test is failing because the phone number that is shown in call log is not the same as the dialled number Environment: Gaia 6c50349f41d40ba175ea0fc0c2c2cbd739ba7170 Gecko https://hg.mozilla.org/releases/mozilla-aurora/rev/28b419f0e857 BuildID 20140411000202 Version 30.0a2 ro.build.version.incremental=324 ro.build.date=Thu Dec 19 14:04:55 CST 2013 Traceback (most recent call last): File "/var/jenkins/workspace/b2g.hamachi.mozilla-aurora.ui/.env/local/lib/python2.7/site-packages/marionette_client-0.7.5-py2.7.egg/marionette/marionette_test.py", line 163, in run testMethod() File "/var/jenkins/workspace/b2g.hamachi.mozilla-aurora.ui/tests/python/gaia-ui-tests/gaiatest/tests/functional/dialer/test_call_log_all_calls.py", line 41, in test_call_log_all_calls self.assertIn(test_phone_number, call_log.first_all_call_text) AssertionError: u'+18007072533' not found in u'18007072533\n5:51 AM' Reproducible manually: NO STR: 1. open the dialer app 2. enter +18007072533 (with the '+' char) 3. tap call 4. tap end call 5. go to call log 6. verify the dialled number Expected: 6. The same number is in the call log: +18007072533 Actual: 6. the first char of the number "+" is missing from the call log We can't reproduce here locally using automation and manual testing can someone from the US take a look maybe it's a local thing. It's the first time this test failed in a long while on 1.4
I cannot reproduce this issue. I tested this dialing out to multiple numbers with the '+' prefix and all of the entries in the call log match the dialed numbers. Environmental Variables: Device: Buri v1.4 mozRIL BuildID: 20140410000201 Gaia: 9b2da43dfee3792cd311ae55f0b06272313208f0 Gecko: 9d9ead7d6afa Version: 30.0a2 Firmware Version: v1.2-device.cfg
Component: Gaia::Dialer → Gaia::UI Tests
OK it might be a one time fail I will take a look over thin in 2-3 days and see if it fails again if not I will close the bug.
Flags: needinfo?(florin.strugariu)
In the last 11 builds this test passed so it looks like the build is OK
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: needinfo?(florin.strugariu)
Resolution: --- → WORKSFORME
This issue occured again in the Jenkins test run: http://selenium.qa.mtv2.mozilla.com:8080/view/B2G%20Aurora/job/b2g.hamachi.mozilla-aurora.ui.smoketest/136/HTML_Report/? Build info: Gaia 4eb2393e6a5174e6c732167866aded046c49ed97 Gecko https://hg.mozilla.org/releases/mozilla-aurora/rev/ec8c6e42acf2 BuildID 20140425000201 Version 30.0a2 ro.build.version.incremental=eng.tclxa.20131223.163538 ro.build.date=Mon Dec 23 16:36:04 CST 2013 Is it possible that the test doesn't type the "+" character? In this case I would expect the phone number to have "0" at the beginning. Maybe we should also add an assert when making a call that the phone number is correct.
Status: RESOLVED → REOPENED
Flags: needinfo?(zcampbell)
Resolution: WORKSFORME → ---
Assignee: nobody → robert.chira
Attached file Pull request (obsolete) —
Attachment #8412587 - Flags: review?(zcampbell)
Attachment #8412587 - Flags: review?(viorela.ioia)
Attachment #8412587 - Flags: review?(florin.strugariu)
Flags: needinfo?(zcampbell)
Attachment #8412587 - Flags: review?(florin.strugariu) → review+
Attachment #8412587 - Flags: review?(viorela.ioia) → review+
As this is an enhancement rather than a bug fix, did you consider raising it to master branch and then we can uplift it?
Flags: needinfo?(robert.chira)
I will create a new PR for master with the same changes.
Flags: needinfo?(robert.chira)
Attached file Pull request master (obsolete) —
Attachment #8413704 - Flags: review?(zcampbell)
Attachment #8413704 - Flags: review?(viorela.ioia)
Attachment #8413704 - Flags: review?(florin.strugariu)
Comment on attachment 8413704 [details] [review] Pull request master Small tweak to the locators to reduce dupes. Aside from that the functionality is good :)
Attachment #8413704 - Flags: review?(zcampbell) → review-
Comment on attachment 8413704 [details] [review] Pull request master Also, the assertion is causing test_mmi.py to fail every time but the test is passing fine. I think we should remove the assertion and keep the new wait which is an improvement.
Comment on attachment 8412587 [details] [review] Pull request r-, don't merge this one, we'll fix the master one first.
Attachment #8412587 - Flags: review?(zcampbell) → review-
Attachment #8412587 - Flags: review?(zcampbell)
Attachment #8412587 - Flags: review?(viorela.ioia)
Attachment #8412587 - Flags: review?(florin.strugariu)
Attachment #8412587 - Flags: review-
Attachment #8412587 - Flags: review+
Attachment #8413704 - Flags: review- → review?(zcampbell)
Updated the pull requests. I removed the assert because of test_mmi (when typing the last character of the IMEI the frame would change).
Attachment #8413704 - Flags: review?(viorela.ioia) → review+
Attachment #8412587 - Flags: review?(viorela.ioia) → review+
Comment on attachment 8413704 [details] [review] Pull request master r+ from me too, much cleaner solution :))
Attachment #8413704 - Flags: review?(zcampbell)
Attachment #8413704 - Flags: review?(florin.strugariu)
Attachment #8413704 - Flags: review+
Comment on attachment 8412587 [details] [review] Pull request r+, landed directly to v1.4
Attachment #8412587 - Flags: review?(zcampbell)
Attachment #8412587 - Flags: review?(florin.strugariu)
Attachment #8412587 - Flags: review+
This broke test_sms_to_dialer
Priority: -- → P2
Attached file Pull request master
If this patch will be merged I'll uplift it to 1.4
Attachment #8412587 - Attachment is obsolete: true
Attachment #8413704 - Attachment is obsolete: true
Attachment #8431444 - Flags: review?(zcampbell)
Attachment #8431444 - Flags: review?(florin.strugariu)
Attachment #8431444 - Flags: review?(andrei.hutusoru)
Attachment #8431444 - Flags: review?(florin.strugariu) → review+
Comment on attachment 8431444 [details] [review] Pull request master r+!
Attachment #8431444 - Flags: review?(zcampbell)
Attachment #8431444 - Flags: review?(andrei.hutusoru)
Attachment #8431444 - Flags: review+
Summary: [1.4]Call log is not showing the full phone number → Call log is not showing the full phone number
Attached file Pull request v1.4
Attachment #8431567 - Flags: review?(zcampbell)
Attachment #8431567 - Flags: review?(florin.strugariu)
Comment on attachment 8431567 [details] [review] Pull request v1.4 Works OK
Attachment #8431567 - Flags: review?(florin.strugariu) → review+
Status: REOPENED → RESOLVED
Closed: 11 years ago11 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: