Closed Bug 1219631 Opened 9 years ago Closed 9 years ago

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

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(feature-b2g:2.6+)

RESOLVED FIXED
feature-b2g 2.6+

People

(Reporter: whsu, Assigned: apastor)

References

Details

(Whiteboard: [gip-to-gij])

Attachments

(1 file)

Component: Gaia::UI Tests → Gaia::Browser
feature-b2g: --- → 2.6+
Assignee: nobody → apastor
Comment on attachment 8696232 [details] [review] [gaia] albertopq:1219631-share-test > mozilla-b2g:master Jayme, could you please review that it covers the same case than the original one? Thanks!
Attachment #8696232 - Flags: review?(jmercado)
Comment on attachment 8696232 [details] [review] [gaia] albertopq:1219631-share-test > mozilla-b2g:master As with bug 1219632, I believe this was meant to go to Johan not me.
Attachment #8696232 - Flags: review?(jmercado) → review?(jlorenzo)
That's right, sorry for the confusion Jayme!
Comment on attachment 8696232 [details] [review] [gaia] albertopq:1219631-share-test > mozilla-b2g:master Like in bug 1219632, the test looks okay to me regarding the existing style. Also like there, we can hide the implementation details (the waits, and frame switches), to just have the user's intent. For example: > test('share url', function() { > var url = server.url('windowopen.html'); > > var browser = rocketbar.gotoBrowser(url); > var activityPicker = browser.shareLink(); > var messageApp = activityPicker.chooseSms(); > assert.equal(messagesApp.Composer.messageInput.text(), url); > });
Attachment #8696232 - Flags: review?(jlorenzo) → review+
Status: NEW → RESOLVED
Closed: 9 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: