Closed Bug 1137273 Opened 10 years ago Closed 10 years ago

Test Case - Add imagecompare email draft save test case

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: njpark, Assigned: njpark)

References

Details

Attachments

(1 file, 1 obsolete file)

This test would take the screenshot of the email draft, exit, and resume email app to see whether the draft is properly saved
Assignee: nobody → npark
Status: NEW → ASSIGNED
Once https://bugzilla.mozilla.org/show_bug.cgi?id=1131095 is fixed, this script should be able to verify that it does not regress.
Comment on attachment 8574188 [details] [review] [gaia] npark-mozilla:1137273 > mozilla-b2g:master I made a local copy of a app method, to embed screenshot methods in it. I was thinking about adding an optional parameter to the app method to activate the screenshot, but i wasn't sure that it was the right approach. One more thing, with this imagecompare script, marionette will crash 90% of the time (even after the test has completed). https://bugzilla.mozilla.org/show_bug.cgi?id=1137653
Attachment #8574188 - Flags: review?(jlorenzo)
Attachment #8574188 - Flags: review?(dave.hunt)
Which means, I shouldn't merge this even if I get r+ on review.
Depends on: 1137653
No longer depends on: 1135873
Comment on attachment 8574188 [details] [review] [gaia] npark-mozilla:1137273 > mozilla-b2g:master Run on my device. I had to restart the test multiple times to make it pass without a crash. I left a couple of comments in the code, but nothing's really blocking.
Attachment #8574188 - Flags: review?(jlorenzo) → review+
Comment on attachment 8574188 [details] [review] [gaia] npark-mozilla:1137273 > mozilla-b2g:master A few nits but otherwise this looks good. I have no issue with you recreating the setup method from the app object as you're still only using app object methods.
Attachment #8574188 - Flags: review?(dave.hunt) → review-
Comment on attachment 8574188 [details] [review] [gaia] npark-mozilla:1137273 > mozilla-b2g:master comments incorporated
Attachment #8574188 - Flags: review- → review?(dave.hunt)
Attachment #8574188 - Flags: review?(dave.hunt) → review+
Davehunt: I'll wait for the merge of https://bugzilla.mozilla.org/show_bug.cgi?id=1136122 into master, and make appropriate changes in the test script
Attachment #8574188 - Attachment is obsolete: true
Comment on attachment 8578940 [details] [review] [gaia] npark-mozilla:1137273_2ndAttempt > mozilla-b2g:master Hi Dave, I created a new pull request since I had trouble merging/rebasing it. I incorporated your changes regarding the use of testvar, and nothing else is changed.
Attachment #8578940 - Flags: review?(dave.hunt)
Comment on attachment 8578940 [details] [review] [gaia] npark-mozilla:1137273_2ndAttempt > mozilla-b2g:master Just a couple of minor nits. Also, I don't see a Gaia-Try run? With the nits addressed please feel free to merge with r=me so long as the tests are passing.
Attachment #8578940 - Flags: review?(dave.hunt) → review-
Attachment #8578940 - Flags: review- → review?(npark)
Comment on attachment 8578940 [details] [review] [gaia] npark-mozilla:1137273_2ndAttempt > mozilla-b2g:master Per Dave's comment, I made changes and checked that try test doesn't show any failures from it, self r+ing it.
Attachment #8578940 - Flags: review?(npark) → review+
Keywords: checkin-needed
Keywords: checkin-needed
Autolander could not locate a review from a user within the suggested reviewer list. Either the patch author or the reviewer should be in the suggested reviewer list.
Status: ASSIGNED → RESOLVED
Closed: 10 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: