Closed Bug 1097040 Opened 10 years ago Closed 10 years ago

Write a test to verify that the SMS auto-save draft when message app terminated

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: viorela, Assigned: viorela)

Details

Attachments

(1 file, 2 obsolete files)

Add an automated test for moztrap test case: https://moztrap.mozilla.org/manage/case/7806/

This case is created to verify if message app will save the draft automatically

Steps:
Open message app and create new SMS.
Long press on home button.
Show card view of tasks
Close message app and leave card view.
Re-open message app.
Last edit message thread is tagged as "draft"
Click draft message thread.
Last message draft is shown correctly
Assignee: nobody → viorela.ioia
QA Whiteboard: [fxosqa-auto-s4]
Attachment #8525328 - Flags: review?(robert.chira)
Attachment #8525328 - Flags: review?(jlorenzo)
Attachment #8525328 - Flags: review?(florin.strugariu)
Comment on attachment 8525328 [details] [review]
Github PR: https://github.com/mozilla-b2g/gaia/pull/26296

Looks generally good to me. A couple of nits to fix.
Attachment #8525328 - Flags: review?(jlorenzo) → review-
Attachment #8525328 - Flags: review?(jlorenzo)
Attachment #8525328 - Flags: review?(florin.strugariu)
Attachment #8525328 - Flags: review-
Attachment #8525328 - Flags: review+
Attachment #8525328 - Flags: review?(jlorenzo) → review+
reverted for test failures like https://treeherder.mozilla.org/ui/logviewer.html#?job_id=880220&repo=b2g-inbound btw this was also on the gaia try results
Attachment #8525328 - Flags: review?(robert.chira)
QA Whiteboard: [fxosqa-auto-s4] → [fxosqa-auto-s5][fxosqa-auto-from-s4]
Attachment #8525328 - Attachment is obsolete: true
Attachment #8531241 - Flags: review?(robert.chira)
Attachment #8531241 - Flags: review?(florin.strugariu)
Attachment #8531241 - Flags: review?(florin.strugariu) → review+
Attachment #8531241 - Flags: review?(robert.chira) → review+
Merged in: https://github.com/mozilla-b2g/gaia/commit/f2c22851cf0d01aa498dcb50ebcefd54d2e12b1a
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
This was causing multiple fails 
Reverted in https://github.com/mozilla-b2g/gaia/commit/1374d2bd4bae6013feddcf85d4bd2b03a2f52661
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
(In reply to Florin Strugariu [:Bebe] from comment #7)
> This was causing multiple fails 
> Reverted in
> https://github.com/mozilla-b2g/gaia/commit/
> 1374d2bd4bae6013feddcf85d4bd2b03a2f52661

The patch caused intermittent failures in test_sms_contact.py because of the changes done in New message app object (see Bug 1107927). 
I will open a new PR to fix this.
Attachment #8533118 - Flags: review?(robert.chira)
Attachment #8533118 - Flags: review?(florin.strugariu)
Attachment #8531241 - Attachment description: Github PR: https://github.com/mozilla-b2g/gaia/pull/26451/ → Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/26655
Attachment #8531241 - Attachment is obsolete: true
Attachment #8533118 - Flags: review?(robert.chira) → review+
Status: REOPENED → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → FIXED
Attachment #8533118 - Flags: review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: