Closed Bug 1080169 Opened 11 years ago Closed 11 years ago

Add a test that sends an sms with picture from Gallery attached

Categories

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

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: pbylenga, Assigned: Bebe)

References

Details

Attachments

(1 file, 2 obsolete files)

Currently the test does not test cropping images during the attachment process like Manual does. Currently Automation is not encountering https://bugzilla.mozilla.org/show_bug.cgi?id=1063658 or https://bugzilla.mozilla.org/show_bug.cgi?id=1077106. https://moztrap.mozilla.org/manage/cases/?pagenumber=1&pagesize=20&sortfield=created_on&sortdirection=desc&filter-id=10742 Manual STRs: Open Message app Message app opens and displays correctly, all previous threads will be display if they have not been removed. Tap on the Compose icon New Message screen will appear and display correctly. Enter a recipient in the "To:" text field Recipient will be added to the text box. Tap on Paper Clip icon Context menu will display with options: - Video - Music - Gallery - Camera Select Gallery Pictures will be populated from the phone. Select a picture Crop screen will display the photo selected and the user will be able to adjust the photo. Save the cropped image by tapping on the icon in the top right A preview of the picture selected will be displayed in the text field on the bottom. MMS text will display above the "Send" button. Tap on the image, and select 'View' Image shown. Tap on Send. MMS will be sent to recipient. Tap on the image just sent. Image shown.
@Peater @zac I don't think we can actually move the crop area with marionette At the moment we just tap done in the crop view. Zac do you have any suggestion on how to interact with the crop view?
Attachment #8504071 - Flags: review?(viorela.ioia)
Attachment #8504071 - Flags: review?(robert.chira)
Attachment #8504071 - Flags: review?(gmealer)
Attachment #8504071 - Flags: feedback?(zcampbell)
Attachment #8504071 - Flags: feedback?(pbylenga)
Bebe, it's a canvas element and we can't currently interact with those very reliably. I'd say we have to skpi that step.
Attachment #8504071 - Flags: feedback?(zcampbell)
Comment on attachment 8504071 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/25092 There are 2 steps from https://moztrap.mozilla.org/manage/case/10742/ that are not added in this PR. That would be: - Step 8: Tap on the image, and select 'View' and - Step 10: Tap on the image just sent. As for step 8, we are currently blocked by Bug 1080020. Please update your PR by adding these steps.
Attachment #8504071 - Flags: review?(viorela.ioia) → review-
Summary: Update test_sms_with_attachments.py to correlate with the manual test → Add a test that sends an sms with picture from Gallery attached
Updated the pull with some of the steps. This still need some work as we are blocked by Bug 1080020
Depends on: 1080020
Comment on attachment 8504071 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/25092 Viorela can you take a look over the changes
Attachment #8504071 - Flags: review?(robert.chira)
Attachment #8504071 - Flags: review?(gmealer)
Attachment #8504071 - Flags: review-
Attachment #8504071 - Flags: feedback?(viorela.ioia)
Comment on attachment 8504071 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/25092 Bug 1080020 is fixed, can you update your PR and ask for review? Thanks!
Attachment #8504071 - Flags: feedback?(viorela.ioia)
Comment on attachment 8504071 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/25092 Updated with all the steps. Please review
Attachment #8504071 - Flags: review?(viorela.ioia)
Attachment #8504071 - Flags: review?(robert.chira)
Attachment #8504071 - Flags: review?(gmealer)
Comment on attachment 8504071 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/25092 comments in the PR
Attachment #8504071 - Flags: review?(viorela.ioia) → review-
Attachment #8504071 - Flags: review?(robert.chira) → review-
Comment on attachment 8504071 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/25092 Looks like you already have two active reviewers. I'm removing myself as an r?, but I'm going to continue to eavesdrop for the learning.
Attachment #8504071 - Flags: review?(gmealer)
Assignee: nobody → florin.strugariu
Attachment #8504071 - Flags: review?(viorela.ioia)
Attachment #8504071 - Flags: review?(robert.chira)
Attachment #8504071 - Flags: review-
Comment on attachment 8504071 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/25092 Looks good, but there are some comments that need to be addressed. Also, I started an adhoc run: http://jenkins1.qa.scl3.mozilla.com/job/flame-kk.ui.adhoc/256/console
Attachment #8504071 - Flags: review?(viorela.ioia) → review-
Attachment #8504071 - Flags: review- → review+
Flags: needinfo?(florin.strugariu)
Attachment #8504071 - Flags: review?(robert.chira) → review+
Flags: needinfo?(florin.strugariu)
Attachment #8515023 - Flags: review?(viorela.ioia)
I have backed this out because it has been reviewed poorly: https://github.com/mozilla-b2g/gaia/commit/10c41953f753e2c39818080d7d9294aa1bf4fa29 Problems (also comments in git pull): 1. Explicit frame switching - wrong 2. Typo in `visible` 3. poorly coded header tap Please fix them and re-land it.
Updated the pull Zac can you review it pls
Attachment #8504071 - Attachment is obsolete: true
Attachment #8515023 - Attachment is obsolete: true
Attachment #8504071 - Flags: feedback?(pbylenga)
Attachment #8515023 - Flags: review?(viorela.ioia)
Attachment #8515910 - Flags: review?(zcampbell)
Blocks: 1083126
QA Whiteboard: fxosqa-auto-from-s2
QA Whiteboard: fxosqa-auto-from-s2 → fxosqa-auto-from-s2, fxosqa-auto-s3
QA Whiteboard: fxosqa-auto-from-s2, fxosqa-auto-s3 → [fxosqa-auto-from-s2] [fxosqa-auto-s3]
Attachment #8515910 - Flags: review?(zcampbell) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
QA Whiteboard: [fxosqa-auto-from-s2] [fxosqa-auto-s3] → [fxosqa-auto-from-s1] [fxosqa-auto-from-s2] [fxosqa-auto-s3]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: