Closed Bug 503498 Opened 15 years ago Closed 15 years ago

Mozmill test to verify default bookmarks

Categories

(Mozilla QA Graveyard :: Mozmill Tests, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: whimboo, Assigned: whimboo)

References

()

Details

(Whiteboard: [mozmill-smoketest])

Attachments

(1 file)

This bug will track the work for the Litmus test: https://litmus.mozilla.org/show_test.cgi?id=6717
Marco, I hope you can help me with my little problem I have for this test. The last item we check in this test is the Live Bookmark on the toolbar. When I query the historyService and check the uri property of the result node I only get "place:folder=69". But how can I get the feed url?
livemarkservice should be able to convert your item id (69) to a feed or site uri (see livemarkService.getFeedURI(folderId))

btw once you have the result node there's no need to get the uri, you can use node.itemId
Attached patch Patch v1Splinter Review
It will check all three bookmark toolbar entries for en-US. For localized builds we have a problem with the default profile after startup. It has mixed content from en-US and e.g. German. It still works but we have to fix this part in Mozmill. I will file a bug on that.

Otherwise I'm not really sure how we should handle failures inside the modal dialog handlers. Because we don't stop the test and even don't report this failure shall we enclose it into a try/catch block to give it at least the change to close the dialog?
Attachment #391747 - Flags: review?(ctalbert)
Comment on attachment 391747 [details] [diff] [review]
Patch v1

Looks good, ran fine via IDE and commandline on OSX. Also, the comments are clear and the code fits within code conventions defined earlier.
Attachment #391747 - Flags: review?(ctalbert) → review+
Depends on: 508643
Thanks Aakash. It has been checked in as:
http://hg.mozilla.org/qa/mozmill-tests/rev/1261d6a1a660

(In reply to comment #3)
> It will check all three bookmark toolbar entries for en-US. For localized
> builds we have a problem with the default profile after startup. It has mixed
> content from en-US and e.g. German. It still works but we have to fix this part
> in Mozmill. I will file a bug on that.

Filed as bug 508643.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Needed a fix for localized builds due to the redirection of the getting started page:

http://hg.mozilla.org/qa/mozmill-tests/rev/9a088b8e8aad
http://hg.mozilla.org/qa/mozmill-tests/rev/69065071444a
Mass move of Mozmill Test related project bugs to newly created components. You can filter out those emails by using "Mozmill-Tests-to-MozillaQA" as criteria.
Component: Bookmarks & History → Mozmill Tests
Product: Firefox → Mozilla QA
QA Contact: bookmarks → mozmill-tests
Version: 3.5 Branch → unspecified
Whiteboard: [mozmill-smoketest]
This should have been marked verified long ago.
Status: RESOLVED → VERIFIED
Summary: [mozmill] Test for "Verify default bookmarks with a fresh profile" → Mozmill test to verify default bookmarks
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: