Closed Bug 927029 Opened 12 years ago Closed 12 years ago

Write a test for exporting contacts to SD Card

Categories

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

Other
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: zcampbell, Assigned: bsilverberg)

References

Details

Attachments

(3 files)

*high difficulty* Setup: Using mozdevice wipe all .vcf files from the SD card (see wipe of media files for an example) 1. Start b2g 2. Push a contact to the contacts db 3. Load Contacts app 4. Open settings 5. Tap 'export contacts' 6. Tap 'Memory card' 7. Select the contact and tap 'Export' 8. Assert '1 of 1 exported' message 9. Use Device (mozdevice) class to inspect the SD card and check the VCF file is present.
Assignee: nobody → bob.silverberg
Attachment #817408 - Flags: review?(zcampbell)
Attachment #817408 - Flags: review?(moz.teodosia)
Attachment #817408 - Flags: review?(florin.strugariu)
Attachment #817408 - Flags: review?(alin.trif)
Should we verify here the content of the vcf file?
Flags: needinfo?(zcampbell)
Flags: needinfo?(bob.silverberg)
I considered that but I think it will be a bit difficult to do. Just checking the presence is enough for the time being. This will mostly just check that there is no problem with the export functionality or the integration/writing to the SD card.
Flags: needinfo?(zcampbell)
Comment on attachment 817408 [details] Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/12867 Manifest entry missing Also can you update with latest master so we can have a green build on Travis
Attachment #817408 - Flags: review?(florin.strugariu) → review-
Comment on attachment 817408 [details] Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/12867 I have updated the PR based on the comments.
Attachment #817408 - Flags: review- → review?(florin.strugariu)
Flags: needinfo?(bob.silverberg)
Attachment #817408 - Flags: review?(florin.strugariu) → review+
we should wait for Travis to give us the OK
Comment on attachment 817408 [details] Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/12867 lgtm
Attachment #817408 - Flags: review?(zcampbell)
Attachment #817408 - Flags: review?(moz.teodosia)
Attachment #817408 - Flags: review?(alin.trif)
Attachment #817408 - Flags: review+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment on attachment 826425 [details] Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/13320 Uplifting to v1.2
Attachment #826425 - Flags: review?(zcampbell)
Attachment #826425 - Flags: review?(trifandreialin)
Attachment #826425 - Flags: review?(moz.teodosia)
Attachment #826425 - Flags: review?(florin.strugariu)
Attachment #826425 - Flags: review?(andrei.hutusoru)
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Blocks: 934130
I added an additional commit to the PR that I created for this bug to uplift changes to v1.2, so I am also going to open a new bug for that.
Status: REOPENED → RESOLVED
Closed: 12 years ago12 years ago
Resolution: --- → FIXED
Attachment #826425 - Flags: review?(zcampbell)
Attachment #826425 - Flags: review?(trifandreialin)
Attachment #826425 - Flags: review?(moz.teodosia)
Attachment #826425 - Flags: review?(florin.strugariu)
Attachment #826425 - Flags: review?(andrei.hutusoru)
Attachment #826433 - Flags: review?(zcampbell)
Attachment #826433 - Flags: review?(trifandreialin)
Attachment #826433 - Flags: review?(moz.teodosia)
Attachment #826433 - Flags: review?(florin.strugariu)
Attachment #826433 - Flags: review?(andrei.hutusoru)
Comment on attachment 826433 [details] Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/13320 Wrong bug
Attachment #826433 - Flags: review?(zcampbell)
Attachment #826433 - Flags: review?(trifandreialin)
Attachment #826433 - Flags: review?(moz.teodosia)
Attachment #826433 - Flags: review?(florin.strugariu)
Attachment #826433 - Flags: review?(andrei.hutusoru)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: