Closed Bug 841255 Opened 8 years ago Closed 2 months ago

[Robocop] Tests for distribution bookmarks

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: Margaret, Unassigned)

References

Details

Once bug 836450 lands, distributions can set default bookmarks by including a bookmarks.json file like this:

[
  {
    "title": "Queso",
    "title.en_US": "Cheese",
    "url": "http://queso.com/",
    "url.en_US": "http://cheese.com"
  },
  {
    "title": "Twitter",
    "url": "http://twitter.com/",
    "icon": "data:image/png;base64,..."
  }
]

We should make sure this works.

In anticipation of this, the testDistribution test added in bug 840825 is a ContentProviderTest. If we can figure out how to initialize the distribution before setting up BrowserProvider, we should be able to use the ContentProviderTest APIs to make sure the bookmarks showed up as expected. See testBrowserProvider for some good examples of testing bookmarks.
Needs tests for pinning.
Depends on: 848254
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.