Closed Bug 1219661 Opened 9 years ago Closed 9 years ago

Implement *test_gallery_share_picture.py* as an integration test in JavaScript

Categories

(Firefox OS Graveyard :: Gaia::Gallery, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(feature-b2g:2.6+)

RESOLVED FIXED
feature-b2g 2.6+

People

(Reporter: whsu, Assigned: pdahiya)

References

Details

(Whiteboard: [gip-to-gij])

Attachments

(1 file)

Component: Gaia::UI Tests → Gaia::Gallery
feature-b2g: --- → 2.6+
Probably already covered in Gallery Activity Test. Punam, please review and close. 

Thanks
Hema
Flags: needinfo?(pdahiya)
We have share activity test from full-screen view in place.

https://github.com/mozilla-b2g/gaia/blob/master/apps/gallery/test/marionette/activity_test.js#L113

The test in python in #comment 0 is testing share flow from select view and should be implemented in integration tests.

https://github.com/mozilla-b2g/gaia/blob/master/tests/python/gaia-ui-tests/gaiatest/tests/functional/gallery/test_gallery_share_picture.py#L36
Flags: needinfo?(pdahiya)
Another select view test case, that I can pick after testing gallery select view delete flow as part of Bug 1219657. Leaving it unassigned incase some one gets to it before me.
Assignee: nobody → pdahiya
Comment on attachment 8690951 [details] [review]
[gaia] punamdahiya:Bug1219661 > mozilla-b2g:master

Hi David

Setting review flag on attached Gij test converted from python test. 
SelectView > share image using share activity is new test added, PR is showing quite a few lines touched but that's mostly indentation because of new test suite created. 

I plan to extend test coverage by adding more tests that will cover selecting and sharing multiple image blobs. Please review. Thanks!
Attachment #8690951 - Flags: review?(dflanagan)
Comment on attachment 8690951 [details] [review]
[gaia] punamdahiya:Bug1219661 > mozilla-b2g:master

I left some optional suggestions and a question about something that puzzles me on github, but I'm okay with you landing this as-is, if you'd like.
Attachment #8690951 - Flags: review?(dflanagan) → review+
Status: NEW → ASSIGNED
(In reply to David Flanagan [:djf] from comment #6)
> Comment on attachment 8690951 [details] [review]
> [gaia] punamdahiya:Bug1219661 > mozilla-b2g:master
> 
> I left some optional suggestions and a question about something that puzzles
> me on github, but I'm okay with you landing this as-is, if you'd like.

Thanks David for review. I have updated patch with your suggestions. I will land on master once treeherder is done running tests.
Patch landed on master

https://github.com/mozilla-b2g/gaia/commit/97266c579c544f5ba57a701f39893cc86d46774a
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Blocks: 1213991
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: