Closed Bug 1219630 Opened 9 years ago Closed 9 years ago

Implement *test_browser_search.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
2.6 S3 - 12/18
feature-b2g 2.6+

People

(Reporter: whsu, Assigned: apastor)

References

Details

(Whiteboard: [gip-to-gij][systemsfe])

Attachments

(1 file)

Component: Gaia::UI Tests → Gaia::Browser
feature-b2g: --- → 2.6+
The file doesnt seem to exist. William, could you point to the correct one or close this bug? Thanks!
Flags: needinfo?(whsu)
@ Alberto, sorry for the late response.

@ Johan, can we close this bug since it had been removed from master branch?
  Thank you.
Flags: needinfo?(whsu) → needinfo?(jlorenzo)
Sorry about the link. Bug 1141315 deleted it. There, it has been decided [1] was a fair replacement. After taking a closer look to that test, I'm not sure the replacement is equivalent. These 2 lines[2] makes sure a regular string redirects to a URL after tapping Enter. However, I'm not sure we verify the URL contains the query given, like [3].

Alberto, are you aware of a test that makes sure we include the query in search URLs? 

[1] https://github.com/mozilla-b2g/gaia/blob/master/apps/search/test/marionette/search_rocketbar_test.js
[2] https://github.com/mozilla-b2g/gaia/blob/master/apps/search/test/marionette/search_rocketbar_test.js#L103-L104
[3] For example a Google request is like: https://www.google.com/?q=MY_ROCKETBAR_ENTERED_TEXT
Flags: needinfo?(jlorenzo) → needinfo?(apastor)
I don't think we are verifying that in any test. I'll add that check to the existing ones. THanks!
Assignee: nobody → apastor
Flags: needinfo?(apastor)
Target Milestone: --- → 2.6 S3 - 12/18
Whiteboard: [gip-to-gij] → [gip-to-gij][systemsfe]
Whiteboard: [gip-to-gij][systemsfe] → [gip-to-gij],[systemsfe]
Whiteboard: [gip-to-gij],[systemsfe] → [gip-to-gij][systemsfe]
Component: Gaia::Browser → Gaia::System
Component: Gaia::System → Gaia::Browser
Comment on attachment 8698436 [details] [review]
[gaia] albertopq:1219630-test-browser-search > mozilla-b2g:master

Johan, could you take a look? Thanks!
Attachment #8698436 - Flags: review?(jlorenzo)
Comment on attachment 8698436 [details] [review]
[gaia] albertopq:1219630-test-browser-search > mozilla-b2g:master

Nice test! I left a couple of polish comments in there. But the patch as is looks already fine. Thanks!
Attachment #8698436 - Flags: review?(jlorenzo) → review+
master: https://github.com/mozilla-b2g/gaia/commit/b50b0faa587bdb96cccd704df0257b6459ddb19d
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: